/* === AuraBot Cosmic Theme === */

:root {
    --cosmic-primary: #7c4dff;
    --cosmic-secondary: #ffd740;
    --cosmic-bg: #0a0e27;
    --cosmic-surface: #141832;
    --cosmic-text: #e0e0e0;
    --cosmic-text-muted: #9090a0;
    --cosmic-text-accent: #d0c0f0;
    --cosmic-border: rgba(124, 77, 255, 0.2);
    --cosmic-border-hover: rgba(124, 77, 255, 0.35);
    --cosmic-border-strong: rgba(124, 77, 255, 0.5);
}

/* === Page Content Wrapper === */
.page-content {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding-top: 8px;
}

/* === Section Header === */
.section-header {
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #0a0e27;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Starfield Background === */
body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.7) 50%, transparent 50%),
        radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.5) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,0.6) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 55%, rgba(255,255,255,0.5) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 85% 40%, rgba(255,255,255,0.6) 50%, transparent 50%),
        radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.5) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 5% 50%, rgba(255,255,255,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 35% 5%, rgba(255,255,255,0.6) 50%, transparent 50%),
        radial-gradient(1px 1px at 75% 85%, rgba(255,255,255,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 20% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 95% 75%, rgba(255,255,255,0.5) 50%, transparent 50%);
    animation: starTwinkle 4s ease-in-out infinite alternate;
}

body::after {
    background-image:
        radial-gradient(1px 1px at 8% 45%, rgba(200,180,255,0.5) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 22% 78%, rgba(255,215,64,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 48% 12%, rgba(200,180,255,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 62% 65%, rgba(255,255,255,0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 78% 30%, rgba(200,180,255,0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 92% 88%, rgba(255,215,64,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 33% 42%, rgba(255,255,255,0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 75%, rgba(200,180,255,0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 82% 58%, rgba(255,255,255,0.4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 18% 22%, rgba(255,215,64,0.4) 50%, transparent 50%);
    animation: starTwinkle2 6s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    0%   { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes starTwinkle2 {
    0%   { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Ensure content appears above stars */
.mud-layout,
#blazor-error-ui {
    position: relative;
    z-index: 1;
}

/* === Glass-morphism Card === */
.cosmic-card {
    background: rgba(20, 24, 50, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--cosmic-border) !important;
    border-radius: 16px !important;
    animation: fadeInUp 0.4s ease-out;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
    .cosmic-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(124, 77, 255, 0.15);
    }
}

/* === Hero Card (profile) === */
.cosmic-hero-card {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.25), rgba(255, 215, 64, 0.1)) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--cosmic-border-hover) !important;
    border-radius: 20px !important;
    animation: fadeInScale 0.5s ease-out;
}

/* Compatibility score placeholder while final result is streaming */
.compat-score-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.compat-score-orbit {
    width: 92px;
    height: 92px;
    position: relative;
    display: grid;
    place-items: center;
}

.compat-score-core {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe082 0%, #ffd740 45%, #ffb300 100%);
    box-shadow: 0 0 16px rgba(255, 215, 64, 0.7), 0 0 28px rgba(124, 77, 255, 0.35);
    animation: compatCorePulse 1.8s ease-in-out infinite;
}

.compat-score-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.compat-score-ring::after {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd740;
    box-shadow: 0 0 10px rgba(255, 215, 64, 0.7);
}

.compat-score-ring.ring-a {
    width: 48px;
    height: 48px;
    animation: compatOrbitSpin 2.4s linear infinite;
}

.compat-score-ring.ring-b {
    width: 68px;
    height: 68px;
    border-color: rgba(124, 77, 255, 0.35);
    animation: compatOrbitSpinReverse 3.2s linear infinite;
}

.compat-score-ring.ring-c {
    width: 86px;
    height: 86px;
    border-color: rgba(130, 177, 255, 0.28);
    animation: compatOrbitSpin 4.3s linear infinite;
}

@keyframes compatOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes compatOrbitSpinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes compatCorePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* === Sign Badge === */
.cosmic-sign-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(124, 77, 255, 0.15);
    border: 1px solid rgba(124, 77, 255, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    color: #d0c0f0;
    white-space: nowrap;
}

.cosmic-sign-badge .sign-emoji {
    font-size: 1.1rem;
}

.cosmic-sign-badge.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.cosmic-sign-badge.clickable:hover {
    background: rgba(124, 77, 255, 0.3);
    border-color: rgba(124, 77, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 77, 255, 0.2);
}

.cosmic-sign-badge.clickable:active {
    transform: translateY(0);
}

/* === Transit Card === */
.cosmic-transit-card {
    background: rgba(20, 24, 50, 0.7) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(124, 77, 255, 0.15) !important;
    border-radius: 12px !important;
    border-left: 4px solid rgba(124, 77, 255, 0.4) !important;
    transition: transform 0.2s ease;
}

.cosmic-transit-card.influence-high {
    border-left-color: #ff5252 !important;
}

.cosmic-transit-card.influence-medium {
    border-left-color: #ffd740 !important;
}

.cosmic-transit-card.influence-low {
    border-left-color: #69f0ae !important;
}

/* === Action Button === */
.cosmic-action-btn {
    background: rgba(20, 24, 50, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--cosmic-border) !important;
    border-radius: 14px !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
}

@media (hover: hover) {
    .cosmic-action-btn:hover {
        transform: translateY(-2px);
        border-color: var(--cosmic-border-strong) !important;
        box-shadow: 0 4px 20px rgba(124, 77, 255, 0.15);
    }
}

.cosmic-action-btn.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* === Onboarding Step Indicator === */
.onboarding-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.onboarding-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid rgba(124, 77, 255, 0.3);
    background: rgba(20, 24, 50, 0.6);
    color: rgba(176, 176, 192, 0.5);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.onboarding-step.active {
    border-color: #7c4dff;
    background: rgba(124, 77, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(124, 77, 255, 0.4);
    animation: glowPulse 2s ease-in-out infinite;
}

.onboarding-step.completed {
    border-color: #69f0ae;
    background: rgba(105, 240, 174, 0.15);
    color: #69f0ae;
}

.onboarding-step-line {
    width: 48px;
    height: 2px;
    background: rgba(124, 77, 255, 0.2);
    flex-shrink: 0;
}

.onboarding-step-line.completed {
    background: linear-gradient(90deg, #69f0ae, #7c4dff);
}

/* === Gradient Heading === */
.cosmic-heading {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* === Gradient Button with Glow === */
.cosmic-btn {
    background: linear-gradient(135deg, var(--cosmic-primary), #651fff) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4) !important;
    transition: box-shadow 0.3s ease, transform 0.2s ease !important;
}

.cosmic-btn .mud-progress-circular,
.cosmic-btn svg {
    color: #ffffff !important;
}

.cosmic-btn:hover {
    box-shadow: 0 6px 25px rgba(124, 77, 255, 0.6) !important;
    transform: translateY(-1px);
}

/* === Cosmic Table === */
.cosmic-table {
    background: transparent !important;
}

.cosmic-table tr {
    border-bottom: 1px solid rgba(124, 77, 255, 0.1) !important;
}

.cosmic-table td {
    color: #e0e0e0 !important;
    background: transparent !important;
}

/* === Planet Symbol === */
.cosmic-planet-symbol {
    color: #ffd740;
    font-size: 1.1em;
    margin-right: 0.3rem;
}

/* === Aspect Symbol (astrological glyphs) === */
.cosmic-aspect-symbol {
    font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols 2', sans-serif;
    margin: 0 0.15rem;
}

/* === Search Results === */
.cosmic-search-results {
    background: rgba(20, 24, 50, 0.6) !important;
    border: 1px solid rgba(124, 77, 255, 0.15);
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
}

/* === Selected Place === */
.cosmic-selected-place {
    background: rgba(124, 77, 255, 0.1) !important;
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 8px;
}

/* === House Card === */
.cosmic-house-card {
    background: rgba(20, 24, 50, 0.5) !important;
    border: 1px solid rgba(124, 77, 255, 0.15);
    border-radius: 8px;
}

/* === MudBlazor Input Overrides === */
.mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(124, 77, 255, 0.3) !important;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: var(--cosmic-border-strong) !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--cosmic-primary) !important;
    box-shadow: 0 0 8px rgba(124, 77, 255, 0.25);
}

.mud-input.mud-input-underline:after {
    border-color: var(--cosmic-primary) !important;
}

/* === MudBlazor Chip/Button Contrast Overrides === */

/* Outlined primary: lighten text from #7c4dff to #b388ff */
.mud-chip--outlined.mud-chip-color-primary {
    color: #b388ff !important;
    border-color: rgba(179, 136, 255, 0.4) !important;
}

.mud-button-outlined.mud-button-outlined-primary {
    color: #b388ff !important;
    border-color: rgba(179, 136, 255, 0.4) !important;
}

/* Outlined warning: lighten from pure yellow */
.mud-chip--outlined.mud-chip-color-warning {
    color: #ffe082 !important;
    border-color: rgba(255, 224, 130, 0.4) !important;
}

.mud-button-outlined.mud-button-outlined-warning {
    color: #ffe082 !important;
    border-color: rgba(255, 224, 130, 0.4) !important;
}

/* Filled chips: dark text on bright backgrounds for readability */
.mud-chip--filled.mud-chip-color-success {
    color: #1b3a1b !important;
}

.mud-chip--filled.mud-chip-color-warning {
    color: #3e2700 !important;
}

.mud-chip--filled.mud-chip-color-info {
    color: #0a1a3a !important;
}

.mud-chip--filled.mud-chip-color-secondary {
    color: #3e2700 !important;
}

/* Filled buttons: dark text on bright backgrounds for readability */
.mud-button-filled.mud-button-filled-success {
    color: #1b3a1b !important;
}

.mud-button-filled.mud-button-filled-warning {
    color: #3e2700 !important;
}

.mud-button-filled.mud-button-filled-info {
    color: #0a1a3a !important;
}

.mud-button-filled.mud-button-filled-secondary {
    color: #3e2700 !important;
}

/* Snackbar: ensure readable text on colored backgrounds */
.mud-snackbar.mud-alert-filled-success {
    color: #1b3a1b !important;
}

.mud-snackbar.mud-alert-filled-warning {
    color: #3e2700 !important;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cosmic-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 77, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cosmic-border-strong);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(124, 77, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 24px rgba(124, 77, 255, 0.6);
    }
}

/* === Staggered Card Appearance === */
.cosmic-card-stagger:nth-child(1) { animation: fadeInScale 0.4s ease-out 0.05s both; }
.cosmic-card-stagger:nth-child(2) { animation: fadeInScale 0.4s ease-out 0.1s both; }
.cosmic-card-stagger:nth-child(3) { animation: fadeInScale 0.4s ease-out 0.15s both; }
.cosmic-card-stagger:nth-child(4) { animation: fadeInScale 0.4s ease-out 0.2s both; }
.cosmic-card-stagger:nth-child(5) { animation: fadeInScale 0.4s ease-out 0.25s both; }
.cosmic-card-stagger:nth-child(6) { animation: fadeInScale 0.4s ease-out 0.3s both; }

/* === Premium Paywall Card === */
.paywall-card {
    position: relative;
    background: linear-gradient(165deg, rgba(30, 20, 70, 0.95) 0%, rgba(15, 12, 45, 0.98) 100%);
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    animation: fadeInUp 0.4s ease-out;
}

.paywall-header {
    position: relative;
    padding: 24px 20px 16px;
    text-align: center;
    background: linear-gradient(180deg, rgba(124, 77, 255, 0.12) 0%, transparent 100%);
}

.paywall-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #7c4dff, #e040fb);
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(124, 77, 255, 0.4);
}

.paywall-features {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 16px 16px;
}

.paywall-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.paywall-feature:hover {
    background: rgba(255, 255, 255, 0.04);
}

.paywall-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.paywall-divider {
    height: 1px;
    margin: 0 20px;
    background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.25), transparent);
}

.paywall-anatomy {
    padding: 16px 20px;
}

.paywall-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.paywall-cta {
    margin: 8px 16px 20px;
    width: calc(100% - 32px) !important;
    padding: 14px 24px !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px;
    text-transform: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #7c4dff 0%, #e040fb 100%) !important;
    box-shadow: 0 4px 20px rgba(124, 77, 255, 0.45), 0 0 40px rgba(224, 64, 251, 0.15) !important;
    transition: box-shadow 0.3s ease, transform 0.2s ease !important;
}

.paywall-cta:hover {
    box-shadow: 0 6px 30px rgba(124, 77, 255, 0.6), 0 0 60px rgba(224, 64, 251, 0.25) !important;
    transform: translateY(-1px);
}

/* === Link Transitions === */
a {
    transition: color 0.2s ease;
}

/* === Blazor Error Boundary === */
.blazor-error-boundary {
    background: #1a1045;
    padding: 1rem 1rem 1rem 1.5rem;
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 8px;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* === Form Validation === */
.validation-message {
    color: #ff5252;
    font-size: 0.75rem;
    margin-top: 4px;
}

h1:focus {
    outline: none;
}

/* === Cosmic Expansion Panels === */
.cosmic-expansion-panels {
    background: transparent !important;
}

.cosmic-expansion-panels .mud-expand-panel {
    background: rgba(20, 24, 50, 0.6) !important;
    border: 1px solid rgba(124, 77, 255, 0.15) !important;
    border-radius: 8px !important;
    margin-bottom: 4px;
    transition: border-color 0.2s ease;
}

.cosmic-expansion-panels .mud-expand-panel:hover {
    border-color: var(--cosmic-border-hover) !important;
}

.cosmic-expansion-panels .mud-expand-panel-header {
    padding: 8px 16px !important;
}

.cosmic-expansion-panels .mud-expand-panel-content {
    padding: 0 16px 12px !important;
}

.cosmic-expansion-panels .mud-expand-panel .mud-expand-panel-header .mud-expand-panel-icon {
    color: var(--cosmic-border-strong);
}

/* === Transit Influence Borders (Expansion Panels) === */
.cosmic-expansion-panels .mud-expand-panel.influence-high {
    border-left: 4px solid #ff5252 !important;
}

.cosmic-expansion-panels .mud-expand-panel.influence-medium {
    border-left: 4px solid #ffd740 !important;
}

.cosmic-expansion-panels .mud-expand-panel.influence-low {
    border-left: 4px solid #69f0ae !important;
}

/* === AI Interpretation Container === */
.cosmic-interpretation {
    background: rgba(20, 24, 50, 0.6) !important;
    border: 1px solid var(--cosmic-border);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* === AI Markdown Content === */
.ai-markdown-content {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 0.875rem;
}

.ai-markdown-content h1,
.ai-markdown-content h2,
.ai-markdown-content h3,
.ai-markdown-content h4 {
    background: linear-gradient(135deg, #7c4dff, #ffd740);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin: 1.2em 0 0.5em 0;
}

.ai-markdown-content h1 { font-size: 1.4rem; }
.ai-markdown-content h2 { font-size: 1.25rem; }
.ai-markdown-content h3 { font-size: 1.1rem; }
.ai-markdown-content h4 { font-size: 1rem; }

.ai-markdown-content h1:first-child,
.ai-markdown-content h2:first-child,
.ai-markdown-content h3:first-child,
.ai-markdown-content h4:first-child {
    margin-top: 0;
}

.ai-markdown-content p {
    margin: 0.6em 0;
}

.ai-markdown-content strong {
    color: #d0c0f0;
    font-weight: 600;
}

.ai-markdown-content em {
    color: #c0b0e0;
    font-style: italic;
}

.ai-markdown-content ul,
.ai-markdown-content ol {
    padding-left: 1.5em;
    margin: 0.5em 0;
}

.ai-markdown-content li {
    margin: 0.3em 0;
}

.ai-markdown-content li::marker {
    color: #7c4dff;
}

.ai-markdown-content hr {
    border: none;
    border-top: 1px solid rgba(124, 77, 255, 0.25);
    margin: 1em 0;
}

.ai-markdown-content blockquote {
    border-left: 3px solid rgba(124, 77, 255, 0.4);
    padding-left: 1em;
    margin: 0.8em 0;
    color: #b0a0d0;
    font-style: italic;
}

.ai-markdown-content code {
    background: rgba(124, 77, 255, 0.15);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Markdown tables */
.ai-markdown-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0.6em 0;
    table-layout: auto;
}

.ai-markdown-content th,
.ai-markdown-content td {
    border: 1px solid rgba(124, 77, 255, 0.2);
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.ai-markdown-content thead th {
    background: rgba(124, 77, 255, 0.08);
    color: #d8c8f2;
    font-weight: 600;
}

.ai-markdown-content tbody tr:nth-child(even) {
    background: rgba(124, 77, 255, 0.04);
}

@media (max-width: 720px) {
    .ai-markdown-content table {
        display: block;
        overflow-x: auto;
    }
}

/* === Timeline (transit history) === */
.cosmic-timeline-day {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(124, 77, 255, 0.2);
    margin-left: 8px;
}

.cosmic-timeline-dot {
    position: absolute;
    left: -6px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7c4dff;
    box-shadow: 0 0 8px rgba(124, 77, 255, 0.5);
}

/* === Typing Cursor (streaming) === */
.typing-cursor {
    display: inline;
    color: #7c4dff;
    font-weight: bold;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* === Oracle Page Layout (sidebar + chat) === */
.oracle-page-layout {
    display: flex;
    height: calc(100vh - 52px - 68px - env(safe-area-inset-bottom, 0px));
    height: calc(100dvh - 52px - 68px - env(safe-area-inset-bottom, 0px));
    margin: -16px -24px -80px; /* break out of MudContainer padding */
    overflow: hidden;
}

@media (max-width: 959px) {
    .oracle-page-layout {
        position: fixed;
        top: 52px;
        right: 0;
        left: 0;
        bottom: calc(68px + env(safe-area-inset-bottom, 0px));
        height: auto;
        margin: 0;
    }
}

@media (min-width: 960px) {
    .oracle-page-layout {
        height: calc(100vh - 56px - 32px);
        height: calc(100dvh - 56px - 32px);
        margin: -16px -24px;
    }
}

/* === Oracle Sidebar === */
.oracle-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: none;
    flex-direction: column;
    background: rgba(13, 18, 48, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(124, 77, 255, 0.15);
    overflow: hidden;
}

@media (min-width: 960px) {
    .oracle-sidebar {
        display: flex;
    }
}

.oracle-sidebar-header {
    padding: 12px;
    flex-shrink: 0;
}

.oracle-sidebar-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px 8px;
}

.oracle-sidebar-group-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(176, 160, 208, 0.6);
    padding: 12px 12px 4px;
}

.oracle-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
    margin-bottom: 2px;
}

.oracle-sidebar-item:hover {
    background: rgba(124, 77, 255, 0.1);
    border-color: rgba(124, 77, 255, 0.15);
}

.oracle-sidebar-item.active {
    background: rgba(124, 77, 255, 0.18);
    border-color: rgba(124, 77, 255, 0.3);
}

.oracle-sidebar-item-title {
    flex: 1;
    font-size: 0.82rem;
    color: #d0c0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.oracle-sidebar-item.active .oracle-sidebar-item-title {
    color: #e8e0ff;
}

.oracle-sidebar-item .oracle-sidebar-delete {
    opacity: 0;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.oracle-sidebar-item:hover .oracle-sidebar-delete {
    opacity: 0.6;
}

.oracle-sidebar-item .oracle-sidebar-delete:hover {
    opacity: 1;
}

/* === Oracle Mobile Sidebar === */
.oracle-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1299;
}

.oracle-mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: rgba(13, 18, 48, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(124, 77, 255, 0.15);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    padding-top: env(safe-area-inset-top, 0px);
}

.oracle-mobile-sidebar.open {
    transform: translateX(0);
}

/* === Oracle Chat === */
.oracle-chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 960px) {
    .oracle-chat-container {
        max-width: none;
        padding: 0 16px;
    }
}

.oracle-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(124, 77, 255, 0.15);
    flex-shrink: 0;
}

.oracle-chat-header-info {
    display: flex;
    flex-direction: column;
}

.oracle-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.oracle-msg {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}

.oracle-msg-user {
    justify-content: flex-end;
}

.oracle-msg-assistant {
    justify-content: flex-start;
    gap: 8px;
}

.oracle-msg-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(124, 77, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.oracle-msg-bubble {
    max-width: 85%;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.oracle-msg-bubble-user {
    background: rgba(124, 77, 255, 0.25);
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-bottom-right-radius: 4px;
    color: #e8e0ff;
}

.oracle-msg-bubble-user .mud-typography {
    white-space: pre-wrap;
}

.oracle-msg-bubble-assistant {
    background: rgba(20, 24, 50, 0.6);
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-bottom-left-radius: 4px;
}

.oracle-msg-bubble-assistant .ai-markdown-content {
    font-size: 0.85rem;
}

.oracle-msg-bubble-assistant .ai-markdown-content h2 {
    font-size: 1.05rem;
    margin: 0.8em 0 0.3em 0;
}

.oracle-msg-bubble-assistant .ai-markdown-content h3 {
    font-size: 0.95rem;
    margin: 0.7em 0 0.3em 0;
}

.oracle-msg-bubble-assistant .ai-markdown-content p {
    margin: 0.4em 0;
}

.oracle-tarot-spread { padding: 12px 4px; }
.oracle-tarot-cards { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px; margin: 0 -14px; -webkit-overflow-scrolling: touch; justify-content: safe center; }
.oracle-tarot-card { text-align: center; flex-shrink: 0; width: 80px; }
.oracle-tarot-card img { width: 80px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.oracle-tarot-card.reversed img { transform: rotate(180deg); }
.oracle-tarot-card-name { font-size: 0.6rem; margin-top: 2px; line-height: 1.2; color: var(--mud-palette-text-secondary); transition: visibility 0s 0.3s; }
.oracle-tarot-card-position { font-size: 0.55rem; line-height: 1.2; color: var(--mud-palette-text-disabled); }

/* Tarot card flip animation */
.oracle-tarot-card-flip { text-align: center; flex-shrink: 0; width: 80px; perspective: 400px; }
.oracle-tarot-card-flip-inner {
    width: 80px; height: 120px; position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}
.oracle-tarot-card-flip.flipped .oracle-tarot-card-flip-inner { transform: rotateY(180deg); }
.oracle-tarot-card-back,
.oracle-tarot-card-front {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden;
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.oracle-tarot-card-back img { width: 100%; height: 100%; object-fit: cover; }
.oracle-tarot-card-front { transform: rotateY(180deg); }
.oracle-tarot-card-front img { width: 100%; height: 100%; object-fit: cover; }
.oracle-tarot-card-front.reversed img { transform: rotate(180deg); }

/* Tarot spread layouts — simple (row/wrap) */
.tarot-layout-simple { flex-wrap: wrap; justify-content: center; max-width: 440px; }

/* Tarot spread layouts — Balance of Choice (2×2 grid: A vs B) */
.oracle-spread-balance {
    display: grid !important;
    grid-template-columns: repeat(2, 80px);
    gap: 10px;
    justify-content: center;
    overflow: visible;
    padding: 8px 12px;
}

/* Tarot spread layouts — Dialog of Two (2 columns + bottom row) */
.oracle-spread-dialog {
    display: grid !important;
    grid-template-columns: repeat(3, 80px);
    gap: 10px;
    justify-content: center;
    overflow: visible;
    padding: 8px 12px;
}

/* Tarot spread layouts — Cross of Fate (5-card cross) */
.oracle-spread-cross5 {
    display: grid !important;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: auto auto auto;
    gap: 8px;
    justify-items: center;
    align-items: start;
    justify-content: center;
    overflow: visible;
    padding: 8px 12px;
}
.oracle-spread-cross5 .oracle-pos-1 { grid-column: 2; grid-row: 2; }
.oracle-spread-cross5 .oracle-pos-2 { grid-column: 2; grid-row: 1; }
.oracle-spread-cross5 .oracle-pos-3 { grid-column: 2; grid-row: 3; }
.oracle-spread-cross5 .oracle-pos-4 { grid-column: 1; grid-row: 2; }
.oracle-spread-cross5 .oracle-pos-5 { grid-column: 3; grid-row: 2; }

/* Tarot spread layouts — Celtic Cross (10-card grid) */
.oracle-spread-celtic {
    display: grid !important;
    grid-template-columns: repeat(4, 80px);
    grid-template-rows: auto auto auto;
    gap: 16px;
    justify-items: center;
    align-items: start;
    justify-content: center;
    overflow: visible;
    padding: 16px;
}
/* Pos 1 & 2 share the same cell — pos-1 keeps its text, pos-2 (crossing) hides text */
.oracle-spread-celtic .oracle-pos-1 { grid-column: 2; grid-row: 2; position: relative; z-index: 1; }

.oracle-spread-celtic .oracle-pos-2 { grid-column: 2; grid-row: 2; position: relative; z-index: 2; }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card { position: relative; }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card img { transform: rotate(90deg) scale(0.8); }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card.reversed img { transform: rotate(270deg) scale(0.8); }
/* Celtic cross pos-2 flip variant (crossing card rotated 90deg) */
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-flip { position: relative; }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-flip-inner { transform: rotate(90deg) scale(0.8); }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-flip.flipped .oracle-tarot-card-flip-inner { transform: rotate(90deg) scale(0.8) rotateY(180deg); }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-front.reversed img { transform: rotate(180deg); }
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-name,
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-position {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    z-index: 3;
    margin: 0;
}
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-name {
    top: calc(50% - 4px);
    background: rgba(10, 8, 28, 0.3);
    color: #f0eaff;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 4px 4px 0 0;
}
.oracle-spread-celtic .oracle-pos-2 .oracle-tarot-card-position {
    display: block;
    top: calc(50% + 10px);
    background: rgba(10, 8, 28, 0.3);
    color: #d4c8f0;
    font-size: 0.5rem;
    padding: 1px 6px;
    border-radius: 0 0 4px 4px;
}
.oracle-spread-celtic .oracle-pos-3 { grid-column: 2; grid-row: 1; }
.oracle-spread-celtic .oracle-pos-4 { grid-column: 2; grid-row: 3; }
.oracle-spread-celtic .oracle-pos-5 { grid-column: 1; grid-row: 2; }
.oracle-spread-celtic .oracle-pos-6 { grid-column: 3; grid-row: 2; }
.oracle-spread-celtic .oracle-pos-7 { grid-column: 4; grid-row: 3; }
.oracle-spread-celtic .oracle-pos-8 { grid-column: 4; grid-row: 2; }
.oracle-spread-celtic .oracle-pos-9 { grid-column: 4; grid-row: 1; }
.oracle-spread-celtic .oracle-pos-10 { grid-column: 3; grid-row: 1; }

@media (max-width: 600px) {
    .oracle-spread-celtic {
        grid-template-columns: repeat(3, 72px);
        grid-template-rows: auto auto auto auto;
        gap: 6px;
    }
    .oracle-spread-celtic .oracle-pos-7 { grid-column: 3; grid-row: 4; }
    .oracle-spread-celtic .oracle-pos-8 { grid-column: 2; grid-row: 4; }
    .oracle-spread-celtic .oracle-pos-9 { grid-column: 1; grid-row: 4; }
    .oracle-spread-celtic .oracle-pos-10 { grid-column: 1; grid-row: 1; }
    .oracle-spread-celtic .oracle-tarot-card { width: 72px; }
    .oracle-spread-celtic .oracle-tarot-card img { width: 72px; }
    .oracle-spread-celtic .oracle-tarot-card-flip { width: 72px; }
    .oracle-spread-celtic .oracle-tarot-card-flip-inner { width: 72px; height: 108px; }

    .oracle-spread-cross5 {
        grid-template-columns: repeat(3, 72px);
    }
    .oracle-spread-cross5 .oracle-tarot-card { width: 72px; }
    .oracle-spread-cross5 .oracle-tarot-card img { width: 72px; }
    .oracle-spread-cross5 .oracle-tarot-card-flip { width: 72px; }
    .oracle-spread-cross5 .oracle-tarot-card-flip-inner { width: 72px; height: 108px; }
}

/* Oracle generated images */
.oracle-generated-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}
.oracle-generated-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.suggestions-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 12px;
    cursor: pointer;
    user-select: none;
    font-size: 0.75rem;
    color: rgba(124, 77, 255, 0.6);
    background: rgba(10, 14, 39, 0.95);
    border-top: 1px solid rgba(124, 77, 255, 0.1);
    flex-shrink: 0;
    transition: color 0.2s;
}

.suggestions-toggle:hover {
    color: rgba(124, 77, 255, 0.9);
}

.suggestions-toggle-icon {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 0.7rem;
}

.suggestions-toggle-icon.expanded {
    transform: rotate(90deg);
}

.oracle-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    justify-content: center;
    animation: fadeInUp 0.4s ease-out;
    flex-shrink: 0;
    background: rgba(10, 14, 39, 0.95);
}

.oracle-chat-input {
    flex-shrink: 0;
    padding: 8px 12px 12px;
    border-top: 1px solid rgba(124, 77, 255, 0.15);
    background: rgba(10, 14, 39, 0.95);
}

.oracle-chat-input-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.oracle-input-field {
    flex: 1;
}

.oracle-input-field .mud-input-outlined {
    border-radius: 16px !important;
}

.oracle-input-field .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(124, 77, 255, 0.3) !important;
    border-radius: 16px !important;
}

.oracle-input-field textarea {
    resize: none !important;
    max-height: 120px;
}

.oracle-input-field .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(124, 77, 255, 0.5) !important;
}

.oracle-input-field .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #7c4dff !important;
}

/* === Natal Chart Wheel Container === */
.natal-chart-wheel-container {
    width: 100%;
    aspect-ratio: 1;
    animation: fadeInScale 0.5s ease-out;
}

.natal-chart-wheel-container svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(124, 77, 255, 0.15));
}

/* === Star Sky Container === */
.star-sky-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    animation: fadeInScale 0.5s ease-out 0.2s both;
}

.star-sky-container svg {
    width: 100%;
    height: auto;
}

/* === Chart Style Editor Theme Cards === */
.theme-preset-card {
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
    min-width: 72px;
}

.theme-preset-card:hover {
    border-color: rgba(124, 77, 255, 0.4);
    background: rgba(124, 77, 255, 0.06);
}

.theme-preset-card.selected {
    border-color: var(--mud-palette-primary);
    background: rgba(124, 77, 255, 0.1);
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* === Natal Chart Tabs === */
.page-content .mud-tabs {
    background: transparent !important;
}

.page-content .mud-tab {
    color: rgba(176, 160, 208, 0.7) !important;
}

.page-content .mud-tab.mud-tab-active {
    color: #d0c0f0 !important;
}

.page-content .mud-tabs-toolbar {
    background: rgba(20, 24, 50, 0.6) !important;
    border: 1px solid rgba(124, 77, 255, 0.15);
    border-radius: 12px;
}

.page-content .mud-tab-slider {
    background: #7c4dff !important;
}

/* === Thinking Indicator (AI generation) === */
.thinking-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.thinking-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.thinking-dots span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7c4dff;
    animation: thinkingBounce 1.4s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.thinking-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes thinkingBounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    40% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.thinking-text {
    color: #d0c0f0;
    font-size: 0.85rem;
    font-style: italic;
    animation: thinkingFadeIn 0.4s ease-out;
}

@keyframes thinkingFadeIn {
    from {
        opacity: 0;
        transform: translateX(-4px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === Tracker Calendar === */
.tracker-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    background: rgba(20, 24, 50, 0.5);
    border: 1px solid var(--cosmic-border);
    border-radius: 12px;
    padding: 12px;
}

.tracker-calendar-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cosmic-text-muted);
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tracker-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 40px;
    background: rgba(20, 24, 50, 0.4);
    border: 1px solid transparent;
}

.tracker-day:hover {
    transform: scale(1.05);
    border-color: var(--cosmic-border-hover);
}

.tracker-day-empty {
    cursor: default;
    background: transparent;
}

.tracker-day-empty:hover {
    transform: none;
    border-color: transparent;
}

.tracker-day-favorable {
    background: rgba(105, 240, 174, 0.08);
    border-color: rgba(105, 240, 174, 0.15);
}

.tracker-day-challenging {
    background: rgba(255, 82, 82, 0.08);
    border-color: rgba(255, 82, 82, 0.15);
}

.tracker-day-neutral {
    background: rgba(20, 24, 50, 0.4);
}

.tracker-day-today {
    border: 2px solid var(--cosmic-primary) !important;
    box-shadow: 0 0 8px rgba(124, 77, 255, 0.3);
}

.tracker-day-selected {
    border-color: var(--cosmic-secondary) !important;
    box-shadow: 0 0 12px rgba(255, 215, 64, 0.3);
}

.tracker-day-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cosmic-text);
    line-height: 1;
}

.tracker-dots {
    display: flex;
    gap: 2px;
    margin-top: 3px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.tracker-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tracker-dot-red {
    background: #ff5252;
    box-shadow: 0 0 4px rgba(255, 82, 82, 0.5);
}

.tracker-dot-green {
    background: #69f0ae;
    box-shadow: 0 0 4px rgba(105, 240, 174, 0.5);
}

.tracker-dot-yellow {
    background: #ffd740;
    box-shadow: 0 0 4px rgba(255, 215, 64, 0.5);
}

/* Tracker banner link */
.tracker-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(255, 215, 64, 0.08));
    border: 1px solid rgba(124, 77, 255, 0.25);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.tracker-banner:hover {
    border-color: rgba(124, 77, 255, 0.4);
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), rgba(255, 215, 64, 0.12));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 77, 255, 0.15);
}

/* ==================== AI Charts & Mermaid ==================== */

.ai-chart-container {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.08), rgba(15, 10, 30, 0.4));
    border: 1px solid rgba(179, 136, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    animation: fadeInUp 0.4s ease-out;
    display: flex;
    justify-content: center;
}

.ai-chart-container svg {
    max-width: 100%;
    height: auto;
}

.ai-chart-error {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    color: #ff8080;
    font-family: monospace;
    font-size: 0.8rem;
}

.mermaid {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.08), rgba(15, 10, 30, 0.4));
    border: 1px solid rgba(179, 136, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    animation: fadeInUp 0.4s ease-out;
    display: flex;
    justify-content: center;
}

.mermaid svg {
    max-width: 100%;
    height: auto;
}

/* Compact charts inside Oracle chat bubbles */
.oracle-msg-bubble-assistant .ai-chart-container,
.oracle-msg-bubble-assistant .mermaid {
    padding: 10px;
    margin: 8px 0;
}

/* === Reconnect Modal === */
#components-reconnect-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
}

#components-reconnect-modal > div {
    display: none;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex;
}

#components-reconnect-modal.components-reconnect-show > .components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed > .components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected > .components-reconnect-rejected {
    display: block;
}

.cosmic-reconnect-content {
    text-align: center;
    animation: fadeInScale 0.4s ease-out;
}

.cosmic-reconnect-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: inline-block;
    line-height: 1;
    animation: reconnectIconGlow 2s ease-in-out infinite;
}

.cosmic-reconnect-title {
    font-size: 1.15rem;
    font-weight: 600;
    background: linear-gradient(135deg, #7c4dff, #ffd740);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.cosmic-reconnect-sub {
    color: var(--cosmic-text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.cosmic-reconnect-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.cosmic-reconnect-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c4dff;
    animation: thinkingBounce 1.4s ease-in-out infinite;
}

.cosmic-reconnect-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.cosmic-reconnect-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.cosmic-reconnect-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #7c4dff, #651fff);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.cosmic-reconnect-btn:hover {
    box-shadow: 0 6px 25px rgba(124, 77, 255, 0.6);
    transform: translateY(-1px);
}

/* Responsive calendar */
@media (max-width: 480px) {
    .tracker-calendar {
        gap: 2px;
        padding: 8px;
    }

    .tracker-day {
        min-height: 34px;
        border-radius: 6px;
    }

    .tracker-day-number {
        font-size: 0.7rem;
    }

    .tracker-dot {
        width: 3px;
        height: 3px;
    }
}

/* === Heatmap Calendar (Long Forecasts) === */

.tracker-heatmap-month-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cosmic-text);
    margin: 16px 0 6px 0;
    text-transform: capitalize;
}

.tracker-heatmap-month-label:first-child {
    margin-top: 0;
}

.tracker-heatmap {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    background: rgba(20, 24, 50, 0.5);
    border: 1px solid var(--cosmic-border);
    border-radius: 10px;
    padding: 8px;
}

.tracker-heatmap-header {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--cosmic-text-muted);
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tracker-heatmap-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    position: relative;
    height: 36px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tracker-heatmap-cell:hover {
    transform: scale(1.08);
    z-index: 1;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.tracker-heatmap-cell-empty {
    background: transparent;
}

.tracker-heatmap-cell-empty:hover {
    transform: none;
    box-shadow: none;
}

.tracker-heatmap-cell-today {
    outline: 2px solid var(--cosmic-primary);
    outline-offset: -1px;
    box-shadow: 0 0 8px rgba(124, 77, 255, 0.4);
}

.tracker-heatmap-day-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

/* Heatmap color classes — classic green/yellow/red with per-category text contrast */

.heatmap-favorable {
    background: rgba(105, 240, 174, 0.25);
    border: 1px solid rgba(105, 240, 174, 0.35);
}

.heatmap-neutral {
    background: rgba(255, 215, 64, 0.18);
    border: 1px solid rgba(255, 215, 64, 0.3);
}

.heatmap-challenging {
    background: rgba(255, 82, 82, 0.22);
    border: 1px solid rgba(255, 82, 82, 0.35);
}

/* Legend swatches */
.heatmap-legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    vertical-align: middle;
}

.heatmap-legend-dot.heatmap-favorable {
    background: rgba(105, 240, 174, 0.6);
    border: 1px solid rgba(105, 240, 174, 0.8);
}

.heatmap-legend-dot.heatmap-neutral {
    background: rgba(255, 215, 64, 0.55);
    border: 1px solid rgba(255, 215, 64, 0.75);
}

.heatmap-legend-dot.heatmap-challenging {
    background: rgba(255, 82, 82, 0.55);
    border: 1px solid rgba(255, 82, 82, 0.75);
}

/* 10-year decade grid */
.tracker-heatmap-decade {
    display: grid;
    grid-template-columns: auto repeat(12, 1fr);
    gap: 3px;
    background: rgba(20, 24, 50, 0.5);
    border: 1px solid var(--cosmic-border);
    border-radius: 8px;
    padding: 10px;
}

.tracker-heatmap-decade-header {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--cosmic-text-muted);
    padding: 2px 0;
}

.tracker-heatmap-decade-year {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--cosmic-text);
    display: flex;
    align-items: center;
    padding-right: 6px;
}

.tracker-heatmap-decade-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    min-height: 28px;
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.15s ease;
}

.tracker-heatmap-decade-cell:hover {
    transform: scale(1.1);
    z-index: 1;
}

@media (max-width: 480px) {
    .tracker-heatmap {
        gap: 2px;
        padding: 5px;
    }

    .tracker-heatmap-cell {
        height: 28px;
        border-radius: 4px;
    }

    .tracker-heatmap-day-number {
        font-size: 0.6rem;
    }

    .tracker-heatmap-decade {
        gap: 2px;
        padding: 6px;
    }

    .tracker-heatmap-decade-cell {
        min-height: 24px;
        font-size: 0.5rem;
    }

    .tracker-heatmap-decade-year {
        font-size: 0.55rem;
    }
}

/* === Tracking & Calibration === */

/* Save confirmation green glow */
@keyframes pulseGreen {
    0%   { box-shadow: 0 0 0 0 rgba(105, 240, 174, 0.4); }
    50%  { box-shadow: 0 0 20px 4px rgba(105, 240, 174, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(105, 240, 174, 0); }
}

/* Gold glow for streak 14+ */
@keyframes pulseGlow {
    0%   { box-shadow: 0 0 4px rgba(255, 215, 64, 0.3); }
    50%  { box-shadow: 0 0 12px rgba(255, 215, 64, 0.5); }
    100% { box-shadow: 0 0 4px rgba(255, 215, 64, 0.3); }
}

/* Tracking widget enter animation */
.tracking-widget-enter {
    animation: fadeInUp 0.4s ease-out;
}

/* Smooth widget state transitions */
.tracking-widget-transition {
    transition: all 0.3s ease;
}

/* Save confirmation glow on card */
.tracking-saved {
    animation: pulseGreen 1.5s ease-out;
}

/* Calendar cell tracking enrichment */
.tracker-mood-energy {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    margin-top: 1px;
}

.tracker-feedback-check {
    font-size: 0.5rem;
    color: #69f0ae;
    position: absolute;
    bottom: 2px;
    right: 3px;
}

.tracker-no-tracking {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-top: 1px;
}

/* Trend chart responsive container */
.trend-chart-container {
    width: 100%;
    overflow-x: auto;
}

.trend-chart-container svg {
    min-width: 400px;
}

@media (max-width: 480px) {
    .tracker-mood-energy {
        font-size: 0.45rem;
    }

    .tracker-feedback-check {
        font-size: 0.4rem;
    }
}

/* ========================= */
/* === Tarot Card Styles === */
/* ========================= */

.tarot-card {
    width: 140px;
    perspective: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tarot-card.clickable {
    cursor: pointer;
}

.tarot-card-inner {
    width: 140px;
    height: 210px;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    position: relative;
}

.tarot-card-inner.flipped {
    transform: rotateY(180deg);
}

.tarot-card-back,
.tarot-card-front {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(124, 77, 255, 0.25);
}

.tarot-card-back img,
.tarot-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.tarot-card-front {
    transform: rotateY(180deg);
}

.tarot-card-front.reversed img {
    transform: rotate(180deg);
}

.tarot-card-label {
    margin-top: 8px;
    text-align: center;
    max-width: 140px;
    min-height: 48px;
}

/* Three-card spread */
.tarot-spread-three {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@keyframes reconnectIconGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(124, 77, 255, 0.45);
    }
    50% {
        text-shadow: 0 0 14px rgba(124, 77, 255, 0.65);
    }
}

/* Celtic Cross layout */
.tarot-spread-celtic {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    justify-items: center;
    align-items: center;
    max-width: 620px;
    margin: 0 auto;
}

.celtic-pos-1 { grid-column: 2; grid-row: 2; position: relative; z-index: 1; }
.celtic-pos-2 { grid-column: 2; grid-row: 2; transform: scale(0.85); position: relative; z-index: 3; margin-top: -24px; }
.celtic-pos-3 { grid-column: 2; grid-row: 1; }
.celtic-pos-4 { grid-column: 2; grid-row: 3; }
.celtic-pos-5 { grid-column: 1; grid-row: 2; }
.celtic-pos-6 { grid-column: 3; grid-row: 2; }
.celtic-pos-7 { grid-column: 4; grid-row: 3; }
.celtic-pos-8 { grid-column: 4; grid-row: 2; }
.celtic-pos-9 { grid-column: 4; grid-row: 1; }
.celtic-pos-10 { grid-column: 3; grid-row: 1; }

.celtic-pos-2 .tarot-card-inner {
    transform: rotate(90deg);
}

.celtic-pos-2 .tarot-card-inner.flipped {
    transform: rotate(90deg) rotateY(180deg);
}

.celtic-pos-2 .tarot-card-label {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: calc(100% + 10px);
    background: rgba(16, 12, 38, 0.82);
    border: 1px solid rgba(255, 215, 64, 0.35);
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 140px;
    margin-top: 0;
    transform: translateY(-50%);
}

.celtic-pos-2 .tarot-card-label .mud-typography {
    color: #f4f1ff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.celtic-pos-2 .tarot-card-label .mud-typography:last-child {
    color: #ffd740 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* Mobile responsive tarot */
@media (max-width: 600px) {
    .tarot-card {
        width: 100px;
    }

    .tarot-card-inner {
        width: 100px;
        height: 150px;
    }

    .tarot-card-label {
        max-width: 100px;
        min-height: 44px;
    }

    .tarot-spread-three {
        gap: 8px;
    }

    .tarot-spread-celtic {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 8px;
    }

    .celtic-pos-1 { grid-column: 2; grid-row: 2; }
    .celtic-pos-2 { grid-column: 2; grid-row: 2; }
    .celtic-pos-3 { grid-column: 2; grid-row: 1; }
    .celtic-pos-4 { grid-column: 2; grid-row: 3; }
    .celtic-pos-5 { grid-column: 1; grid-row: 2; }
    .celtic-pos-6 { grid-column: 3; grid-row: 2; }
    .celtic-pos-7 { grid-column: 3; grid-row: 4; }
    .celtic-pos-8 { grid-column: 2; grid-row: 4; }
    .celtic-pos-9 { grid-column: 1; grid-row: 4; }
    .celtic-pos-10 { grid-column: 1; grid-row: 1; }

    .celtic-pos-2 .tarot-card-label {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 12px;
        min-width: 120px;
    }
}

/* Admin prompt editor */
.admin-prompt-dialog .mud-dialog {
    max-width: min(1200px, 96vw);
}

.admin-prompt-dialog-content {
    max-height: 76vh;
    overflow-y: auto;
    padding-right: 8px;
}

.admin-prompt-editor-field textarea {
    min-height: 360px;
    max-height: 62vh;
    overflow-y: auto !important;
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.45;
}

/* === Voice Recording === */
.voice-recording-pulse {
    animation: pulse-red 1.2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === Personal Expert Section === */

.expert-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #69f0ae;
    display: inline-block;
    box-shadow: 0 0 6px rgba(105, 240, 174, 0.6);
    animation: expertPulse 2s ease-in-out infinite;
}

@keyframes expertPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(105, 240, 174, 0.6); }
    50% { box-shadow: 0 0 12px rgba(105, 240, 174, 0.9); }
}

.expert-bubble-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding-left: 20px;
    position: relative;
}

.expert-bubble-tail {
    position: absolute;
    left: 14px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid rgba(124, 77, 255, 0.15);
}

.expert-bubble {
    background: rgba(124, 77, 255, 0.15);
    border: 1px solid rgba(124, 77, 255, 0.25);
    border-radius: 4px 16px 16px 16px;
    padding: 12px 16px;
    max-width: 100%;
    flex: 1;
}

/* Typing indicator (three bouncing dots) */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b388ff;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Quick question chips */
.quick-question-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 77, 255, 0.1);
    transition: all 0.2s ease;
}

.quick-question-chip:hover {
    background: rgba(124, 77, 255, 0.1);
    border-color: rgba(124, 77, 255, 0.3);
    transform: translateX(4px);
}

/* === Expert Chat Bottom Sheet Drawer === */

.expert-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1300;
    pointer-events: none;
    transition: background 0.3s ease;
}

.expert-drawer-backdrop.open {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.expert-drawer-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 88vh;
    height: 88dvh;
    z-index: 1301;
    background: var(--mud-palette-surface, #1e1e2e);
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.expert-drawer-panel.open {
    transform: translateY(0);
}

@media (max-width: 959px) {
    .expert-drawer-panel {
        height: 100%;
        height: 100dvh;
        border-radius: 0;
    }
}

/* Hide bottom nav when expert drawer is open */
body:has(.expert-drawer-backdrop.open) .bottom-nav {
    display: none !important;
}

/* Embedded layout — fills the drawer panel */
.oracle-embedded-layout {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.oracle-embedded-layout .oracle-sidebar {
    display: none;
}

@media (min-width: 960px) {
    .oracle-embedded-layout .oracle-sidebar {
        display: flex;
    }
}

.oracle-embedded-layout .oracle-chat-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oracle-embedded-layout .oracle-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.oracle-embedded-layout .oracle-chat-header {
    padding: 8px 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default, rgba(255,255,255,0.1));
}

.oracle-embedded-layout .oracle-chat-input {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

/* === Admin Tools Panel === */

.admin-tools-fab {
    position: fixed !important;
    bottom: 140px;
    right: 16px;
    z-index: 10001;
    background: rgba(255, 165, 0, 0.15) !important;
    border: 1px solid rgba(255, 165, 0, 0.3);
    width: 40px;
    height: 40px;
}

.admin-tools-fab:hover {
    background: rgba(255, 165, 0, 0.25) !important;
}

.admin-tools-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
}

.admin-tools-panel {
    position: fixed !important;
    bottom: 190px;
    right: 16px;
    z-index: 10002;
    width: 240px;
    border: 1px solid rgba(255, 165, 0, 0.25);
    background: var(--cosmic-surface, #141832) !important;
    border-radius: 12px !important;
}

/* === Debug Mode Styles === */

.debug-block,
.debug-thinking {
    border-left: 3px solid orange;
    background: rgba(255, 165, 0, 0.05);
    border-radius: 4px;
    margin: 8px 0;
    font-size: 0.75rem;
}

.debug-block summary,
.debug-thinking summary {
    cursor: pointer;
    padding: 4px 8px;
    font-weight: 600;
    color: orange;
    opacity: 0.8;
    font-size: 0.75rem;
}

.debug-block pre,
.debug-thinking pre {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 4px 8px 8px;
    margin: 0;
    opacity: 0.8;
    max-height: 300px;
    overflow-y: auto;
}

.debug-system-prompt {
    border-radius: 8px;
}

.debug-system-prompt .mud-expand-panel {
    border-radius: 8px !important;
}

.debug-system-prompt .mud-expand-panel-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: orange;
    min-height: 36px !important;
    padding: 4px 12px !important;
}

/* === Agent Catalog Cards === */
.agent-catalog-card {
    background: rgba(20, 24, 50, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--cosmic-border) !important;
    border-radius: 16px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

@media (hover: hover) {
    .agent-catalog-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 32px rgba(124, 77, 255, 0.2);
        border-color: var(--cosmic-border-hover) !important;
    }
}

/* === Transit Calendar Day Colors === */
.calendar-day-good .mud-picker-calendar-day {
    background: rgba(76, 175, 80, 0.15) !important;
    color: #4caf50 !important;
    border-radius: 50%;
}

.calendar-day-ok .mud-picker-calendar-day {
    background: rgba(38, 198, 218, 0.15) !important;
    color: #26c6da !important;
    border-radius: 50%;
}

.calendar-day-mixed .mud-picker-calendar-day {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #ff9800 !important;
    border-radius: 50%;
}

.calendar-day-challenging .mud-picker-calendar-day {
    background: rgba(158, 158, 158, 0.15) !important;
    color: #9e9e9e !important;
    border-radius: 50%;
}
