/* Relationship Fortune Teller Styles */

/* Form Styles */
.relationship-types {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* Result Section Styles */
.fortune-result {
    text-align: center;
    padding: 1rem 0;
}

.names-display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.name-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

#nameCircle1 {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

#nameCircle2 {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.compatibility-score {
    margin: 0 1.5rem;
    position: relative;
}

.score-display {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    color: #666;
}

.compatibility-meter {
    margin: 2rem auto;
    max-width: 400px;
}

.meter-container {
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #ff6b6b, #4e54c8);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
}

.fortune-reading {
    margin: 2rem auto;
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #4e54c8;
    text-align: left;
}

.fortune-traits {
    margin: 2rem auto;
    max-width: 600px;
}

.traits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.trait-badge {
    background-color: #f0f0f0;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.trait-badge i {
    margin-right: 0.5rem;
    color: #4e54c8;
}

/* Saved Fortunes Styles */
.saved-fortunes {
    min-height: 150px;
}

.no-saved-message {
    text-align: center;
    padding: 2rem;
    color: #999;
}

.no-saved-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.saved-fortune-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.saved-fortune-item:last-child {
    border-bottom: none;
}

.saved-fortune-names {
    flex: 1;
    font-weight: bold;
}

.saved-fortune-score {
    background-color: #f0f0f0;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    margin: 0 1rem;
}

.saved-fortune-actions button {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.saved-fortune-actions button:hover {
    color: #333;
}

/* Facts Carousel Styles */
.facts-carousel {
    padding: 1rem 0;
}

.fact-item {
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
}

.fact-icon {
    font-size: 2rem;
    color: #4e54c8;
    margin-right: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    padding: 1.5rem;
}

/* Share Modal Styles */
.fortune-share-text {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    border: 1px solid #eee;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 1s infinite;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .names-display {
        flex-direction: column;
    }
    
    .compatibility-score {
        margin: 1.5rem 0;
    }
    
    .fact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .fact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .share-modal-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .share-modal-buttons button {
        margin: 0 !important;
    }
}
