/* Theme overrides for astrology solution pages — extends ashtakoot-matching.css */

/* Shared result + form utilities */
.as-status-guide ul,
.mt-status-guide ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.as-status-guide li,
.mt-status-guide li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--ak-muted);
    margin-bottom: 0.45rem;
}

.as-status-dot,
.mt-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.as-status-supports,
.mt-status-supports { background: #16a34a; }
.as-status-mixed,
.mt-status-mixed { background: #d97706; }
.as-status-low,
.mt-status-low { background: #9ca3af; }

.ak-field select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e8dfd4;
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--ak-text);
}

.ak-field select:focus {
    outline: none;
    border-color: var(--ak-maroon);
    box-shadow: 0 0 0 3px rgba(122, 31, 31, 0.12);
}

.ak-context-confirm {
    margin: 0 0 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--ak-ivory);
    border-radius: 12px;
    border: 1px solid var(--ak-border);
}

/* Marriage */
.theme-marriage .as-hero-theme-marriage,
.marriage-timing-page .mt-hero {
    background: linear-gradient(135deg, #5c1414 0%, #7a1f1f 45%, #a8324a 100%);
}

.theme-marriage .ak-progress-fill {
    background: linear-gradient(90deg, #7a1f1f, #e8b4b8);
}

/* Compatibility */
.theme-compatibility .as-hero-theme-compatibility {
    background: linear-gradient(135deg, #4a1942 0%, #6b2d5c 45%, #9b4d8a 100%);
}

.theme-compatibility .ak-progress-fill {
    background: linear-gradient(90deg, #6b2d5c, #e8b4e8);
}

/* Career */
.theme-career .as-hero-theme-career {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 45%, #3182ce 100%);
}

.theme-career .ak-progress-fill {
    background: linear-gradient(90deg, #2c5282, #90cdf4);
}

/* Finance */
.theme-finance .as-hero-theme-finance {
    background: linear-gradient(135deg, #14532d 0%, #166534 45%, #22c55e 100%);
}

.theme-finance .ak-progress-fill {
    background: linear-gradient(90deg, #166534, #86efac);
}

/* Family */
.theme-family .as-hero-theme-family {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 45%, #fb923c 100%);
}

.theme-family .ak-progress-fill {
    background: linear-gradient(90deg, #c2410c, #fed7aa);
}

/* Dosha */
.theme-dosha .as-hero-theme-dosha {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 45%, #a78bfa 100%);
}

.theme-dosha .ak-progress-fill {
    background: linear-gradient(90deg, #6d28d9, #ddd6fe);
}

/* Saturn / dasha */
.theme-saturn .as-hero-theme-saturn {
    background: linear-gradient(135deg, #1e293b 0%, #334155 45%, #64748b 100%);
}

.theme-saturn .ak-progress-fill {
    background: linear-gradient(90deg, #334155, #cbd5e1);
}

/* Shared product / marriage timing results (ak-* result blocks) */
.as-results,
.mt-results {
    padding: 2rem 0 1rem;
    background: linear-gradient(180deg, #fff 0%, #fdf8f6 100%);
}

.as-results-header,
.mt-results-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.as-results-badge,
.mt-results-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #fce7f3;
    color: #9d174d;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.as-results-header h2,
.mt-results-header h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    color: var(--ak-maroon);
    margin: 0 0 0.5rem;
}

.as-results-greeting,
.mt-results-greeting {
    color: var(--ak-muted);
    margin: 0;
    font-size: 1.05rem;
}

.as-results-hero-card,
.mt-results-hero-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ak-border);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: var(--ak-shadow);
    margin-bottom: 1.25rem;
}

.as-status-icon,
.mt-status-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.as-status-icon.as-status-supports,
.mt-status-icon.mt-status-supports {
    background: #dcfce7;
    color: #166534;
}

.as-status-icon.as-status-mixed,
.mt-status-icon.mt-status-mixed {
    background: #fef3c7;
    color: #92400e;
}

.as-status-icon.as-status-does_not_support,
.as-status-icon.as-status-insufficient_evidence,
.as-status-icon.as-status-unknown,
.mt-status-icon.mt-status-does_not_support,
.mt-status-icon.mt-status-insufficient_evidence,
.mt-status-icon.mt-status-unknown {
    background: #f3f4f6;
    color: #6b7280;
}

.as-band-badge,
.mt-band-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.as-band-supports,
.mt-band-supports { background: #dcfce7; color: #166534; }
.as-band-mixed,
.mt-band-mixed { background: #fef3c7; color: #92400e; }
.as-band-does_not_support,
.as-band-insufficient_evidence,
.as-band-unknown,
.mt-band-does_not_support,
.mt-band-insufficient_evidence,
.mt-band-unknown { background: #f3f4f6; color: #4b5563; }

.as-status-summary p,
.mt-status-summary p {
    margin: 0;
    color: var(--ak-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.as-result-warn,
.mt-result-warn {
    background: #fffbeb;
    border-color: #fde68a;
}

.as-results-columns,
.mt-results-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.as-period-list,
.as-check-list,
.mt-period-list,
.mt-check-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--ak-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.as-check-list,
.mt-check-list {
    list-style: none;
    padding: 0;
}

.as-check-list li,
.mt-check-list li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.4rem;
}

.as-check-list li::before,
.mt-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ak-maroon);
    font-weight: 700;
}

.as-card-lead,
.mt-card-lead {
    color: var(--ak-muted);
    font-size: 0.9rem;
    margin: -0.35rem 0 1rem;
}

.as-window-grid,
.mt-window-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}

.as-window-card,
.mt-window-card {
    border: 1px solid var(--ak-border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: var(--ak-ivory);
}

.as-window-head,
.mt-window-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.as-evidence-list,
.mt-evidence-list {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
    color: var(--ak-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.as-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.as-section-card {
    border: 1px solid var(--ak-border);
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.as-section-card h4 {
    margin: 0 0 0.5rem;
    color: var(--ak-maroon);
    font-size: 1rem;
}

.as-section-card.as-section-supporting { border-left: 4px solid #16a34a; }
.as-section-card.as-section-challenging { border-left: 4px solid #dc2626; }
.as-section-card.as-section-mixed { border-left: 4px solid #d97706; }

.as-indicator-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.as-indicator-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--ak-border);
    font-size: 0.9rem;
    color: var(--ak-muted);
}

.as-indicator-list li:last-child {
    border-bottom: none;
}

.as-factor-chips,
.mt-factor-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.as-factor-chips span,
.mt-factor-chips span {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #fce7f3;
    color: var(--ak-text);
    font-size: 0.82rem;
}

.as-results-disclaimer,
.mt-results-disclaimer {
    text-align: center;
    color: var(--ak-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

@media (max-width: 900px) {
    .as-results-hero-card,
    .mt-results-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .as-results-columns,
    .mt-results-columns {
        grid-template-columns: 1fr;
    }
}
