/* Couple Compatibility Calculator Specific Styles */

.compatibility-meter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.meter-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.meter-label {
    font-weight: 500;
    color: #374151;
    min-width: 80px;
    text-align: right;
}

.analysis-content {
    padding: 16px 0;
}

.recommendations-section {
    margin-top: 32px;
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.recommendation-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.recommendation-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.recommendation-card h5 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.recommendation-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.recommendation-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-features li {
    color: #475569;
    font-size: 13px;
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
}

.recommendation-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.compatibility-tips {
    space-y: 16px;
}

.tip-item {
    padding: 16px;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 12px;
}

.tip-item strong {
    color: #1e293b;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.tip-item p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

/* Partner Profile Sections */
.form-section h3 {
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.form-section:nth-child(2) h3 {
    color: #2563eb;
}

.form-section:nth-child(3) h3 {
    color: #7c3aed;
}

/* Compatibility Score Styling */
.primary-result .result-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Result Grid Layout */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.result-grid .result-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
}

.result-grid .result-card h4 {
    color: #1e293b;
    font-size: 16px;
    margin-bottom: 16px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recommendation-cards {
        grid-template-columns: 1fr;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .compatibility-meter {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .meter-label {
        text-align: left;
        min-width: auto;
    }
}

/* Animation for compatibility score */
@keyframes scoreReveal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.primary-result.animate .result-value {
    animation: scoreReveal 0.6s ease-out;
}

/* Meter fill animations */
.meter-fill.excellent {
    background: linear-gradient(90deg, #10b981, #059669);
}

.meter-fill.good {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.meter-fill.fair {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.meter-fill.poor {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}
