/* Marriage Compatibility Calculator - Romantic & Cosmic Design System */

/* Glassmorphism Cards */
.apple-glass {
    background: rgba(24, 20, 36, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(244, 63, 94, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

html:not(.dark) .apple-glass {
    background: #ffffff;
    border: 1px solid rgba(225, 29, 72, 0.15);
    box-shadow: 0 10px 30px -5px rgba(225, 29, 72, 0.08);
}

/* Custom Inputs & Selects */
.custom-input {
    background: rgba(15, 12, 26, 0.75);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #ffe4e6;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html:not(.dark) .custom-input {
    background: #ffffff;
    border: 1px solid #fecdd3;
    color: #881337;
}

.custom-input:focus {
    border-color: #f43f5e;
    outline: none;
    box-shadow: 0 0 18px rgba(244, 63, 94, 0.35);
}

.custom-input option {
    background-color: #181424;
    color: #f8fafc;
}

html:not(.dark) .custom-input option {
    background-color: #ffffff;
    color: #0f172a;
}

/* Scenario Presets */
.preset-active {
    background: rgba(244, 63, 94, 0.25) !important;
    border-color: rgba(244, 63, 94, 0.6) !important;
    color: #fb7185 !important;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.3);
}

html:not(.dark) .preset-active {
    background: #ffe4e6 !important;
    border-color: #f43f5e !important;
    color: #9f1239 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.15);
}

/* Action Bar Buttons Light Theme Overrides */
html:not(.dark) #btn-copy-results {
    background-color: #e11d48 !important;
    color: #ffffff !important;
    border-color: #be123c !important;
    box-shadow: 0 8px 20px -4px rgba(225, 29, 72, 0.35) !important;
}

html:not(.dark) #btn-copy-results:hover {
    background-color: #be123c !important;
}

html:not(.dark) #btn-copy-results i {
    color: #ffffff !important;
}

html:not(.dark) #btn-swap-partners,
html:not(.dark) #btn-reset-form {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
}

html:not(.dark) #btn-swap-partners:hover,
html:not(.dark) #btn-reset-form:hover {
    background-color: #ffe4e6 !important;
    color: #9f1239 !important;
    border-color: #fecdd3 !important;
}

/* Circle Score Track Line */
.svg-track-circle {
    stroke: rgba(244, 63, 94, 0.12);
}

html.dark .svg-track-circle {
    stroke: rgba(255, 255, 255, 0.08);
}

/* Synastry Insights Box Light Theme */
html:not(.dark) .synastry-insights-box {
    background-color: #fff1f2 !important;
    border: 1px solid #ffe4e6 !important;
}

html:not(.dark) .synastry-insights-box p {
    color: #334155 !important;
}

/* Dynamic progress bar animation */
.progress-fill {
    transition: width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pulse animation for high compatibility score */
@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.heart-pulse {
    animation: heartPulse 2.5s infinite ease-in-out;
}
