/**
 * AstroLeaf Enterprise - Manglik (Kuja) Dosha Checker Universal Design Stylesheet
 * Baseline: Premium Kundli Report & Vedic Numerology Grid Standard
 * Version: 4.0.0
 */

:root {
    --dark-brown: #65250c;
    --light-wheat: #ffefd6;
    --cream: #fffbf4;
    --gold-border: #fdb861;
    --accent-orange: #ff9c1a;
    --accent-light-orange: #ffba5f;
    --success-green: #008a45;
}

/* Global Reset & Body Background */
html, body, main, #primary, #main, .site-main, .content-area, .entry-content, .page, article, article.entry, .manglik-calc-wrapper {
    background-color: #FFFBF4 !important;
    background: #FFFBF4 !important;
    color: #65250C !important;
    font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif !important;
    box-shadow: none !important;
    border: none !important;
}

.manglik-calc-wrapper {
    min-height: 100vh;
    padding-bottom: 80px;
    box-sizing: border-box;
}

/* 1. Hero Banner Block (.pkr-hero-banner / .dosha-hero) */
html body .dosha-hero,
html body .pkr-hero-banner {
    position: relative !important;
    background: #F97316 !important;
    color: #FFFFFF !important;
    padding: 46px 20px !important;
    text-align: center !important;
    overflow: hidden !important;
    border: none !important;
}

.dosha-hero-watermark {
    position: absolute !important;
    width: 160px !important;
    height: 160px !important;
    pointer-events: none !important;
    z-index: 1 !important;
    opacity: 0.18 !important;
}
.dosha-hero-watermark.left { top: -10px !important; left: -10px !important; }
.dosha-hero-watermark.right { bottom: -10px !important; right: -10px !important; }

.dosha-hero-container {
    max-width: 840px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.dosha-hero-badges {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 12px !important;
}

.lc-badge, .jaimini-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #FFE2C2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    background: rgba(255, 186, 95, 0.12) !important;
    border: 1px solid rgba(255, 186, 95, 0.4) !important;
    padding: 5px 14px !important;
    border-radius: 50px !important;
}

html body .dosha-hero-title,
html body .pkr-hero-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #FFBA5F !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
}

html body .dosha-hero-title span {
    color: #FFE2C2 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

html body .dosha-hero-desc,
html body .pkr-hero-sub {
    font-size: 1.05rem !important;
    color: #FFE2C2 !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* 2. Breadcrumb Navigation Bar */
html body .astroleaf-breadcrumb-bar {
    background: #FFF7E8 !important;
    border-bottom: 1.5px solid #E6DFD5 !important;
    padding: 12px 20px !important;
    font-size: 0.84rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .astroleaf-breadcrumb-bar div {
    max-width: 840px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #65250C !important;
    flex-wrap: wrap !important;
}

html body .astroleaf-breadcrumb-bar a {
    color: #65250C !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

html body .astroleaf-breadcrumb-bar a:hover {
    color: #C37A2E !important;
    text-decoration: underline !important;
}

/* 3. Main Form Container Card (.aap-form-card / .mgl-form-card / .kl-form-card) */
html body .mgl-form-card,
html body .aap-form-card,
html body .kl-form-card,
html body .ud-form-card {
    background-color: #FFFDF9 !important;
    background: #FFFDF9 !important;
    border: 1px solid rgba(217, 119, 6, 0.22) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    max-width: 840px !important;
    margin: 32px auto 0 auto !important;
    box-shadow: 0 8px 30px rgba(42, 21, 10, 0.05) !important;
    box-sizing: border-box !important;
}

.mgl-form-header {
    border-bottom: 1.5px solid #CBD5E1 !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}

html body .aap-card-title,
html body .mgl-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #2A150A !important;
    margin: 0 !important;
    text-align: left !important;
    border: none !important;
    letter-spacing: -0.2px !important;
}

/* Form Inputs Grid */
.mgl-form-grid,
.kl-form-grid,
.ud-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 0 !important;
}

@media (max-width: 640px) {
    .mgl-form-grid,
    .kl-form-grid,
    .ud-form-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

.mgl-input-group,
.ud-input-group,
.pkr-form-field-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

html body .mgl-input-group label,
html body .pkr-field-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    color: #36190B !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    display: block !important;
}

.required-star {
    color: #DC2626 !important;
    font-weight: 800 !important;
}

/* Explicit Form Input & Select Standard Styles - Pure White Inputs */
html body .mgl-input,
html body .mgl-select,
html body .aap-input,
html body select.aap-select,
html body .kl-input,
html body select.kl-select,
html body .ud-input,
html body select.ud-select {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: 44px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin: 0 !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    color: #1E293B !important;
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    outline: none !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

html body select.mgl-select,
html body select.aap-select,
html body select.kl-select,
html body select.ud-select {
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
}

html body .mgl-input:focus,
html body .mgl-select:focus,
html body .aap-input:focus,
html body select.aap-select:focus,
html body .kl-input:focus,
html body select.kl-select:focus,
html body .ud-input:focus,
html body select.ud-select:focus {
    border-color: #D97706 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

.mgl-sub-select-grid,
.kl-sub-select-grid,
.ud-sub-select-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
}

/* Full-Width Row Single Inputs */
.mgl-input-group-full,
.mgl-input-group[style*="grid-column"],
.ud-input-group[style*="grid-column"] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Autocomplete Suggestions Popup Box - Compact */
#osm-suggestions,
.pac-container {
    display: none;
    position: absolute;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    z-index: 999999 !important;
    max-height: 210px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    padding: 4px 0 !important;
}

.osm-item,
.pac-item {
    padding: 8px 14px !important;
    font-size: 0.84rem !important;
    line-height: 20px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    color: #334155 !important;
    cursor: pointer !important;
    border-bottom: 1px solid #F1F5F9 !important;
    border-top: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    touch-action: manipulation !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.osm-item:last-child,
.pac-item:last-child {
    border-bottom: none !important;
}

.osm-item:hover,
.osm-item:active,
.pac-item:hover,
.pac-item-selected {
    background-color: #FFF7ED !important;
    color: #C2410C !important;
    font-weight: 600 !important;
}

.pac-item-query {
    font-size: 0.85rem !important;
    color: #1E293B !important;
    font-weight: 700 !important;
    display: inline !important;
    padding-right: 0 !important;
}

.pac-item-query:not(:last-child)::after {
    content: ", " !important;
    font-weight: 500 !important;
    color: #64748B !important;
}

.pac-matched {
    color: #D97706 !important;
    font-weight: 800 !important;
}

.pac-item > span:not(.pac-item-query):not(.pac-icon) {
    font-size: 0.82rem !important;
    color: #64748B !important;
    font-weight: 500 !important;
    display: inline !important;
}

html body .pac-icon,
html body .pac-icon-marker,
.pac-icon,
.pac-icon-marker {
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin-right: 8px !important;
    margin-top: 0 !important;
    vertical-align: middle !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23D97706' d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z'/%3E%3C/svg%3E") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    filter: none !important;
    flex-shrink: 0 !important;
}

/* Standard Orange Gradient Full-Width Submit Button */
html body .wy-btn-submit,
html body .pay-now-hero-btn,
html body .cd-btn-submit,
html body .kl-btn-submit,
html body .ud-btn-submit {
    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    border-radius: 10px !important;
    background: #F97316 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    letter-spacing: 0.04em !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-transform: uppercase !important;
    margin-top: 8px !important;
}

html body .wy-btn-submit:hover,
html body .pay-now-hero-btn:hover,
html body .cd-btn-submit:hover,
html body .kl-btn-submit:hover,
html body .ud-btn-submit:hover {
    background: #EA580C !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4) !important;
    color: #FFFFFF !important;
}

html body .wy-btn-submit:active,
html body .pay-now-hero-btn:active,
html body .cd-btn-submit:active,
html body .kl-btn-submit:active,
html body .ud-btn-submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35) !important;
}

/* 4. Loading Box */
html body .mgl-loading-box,
html body #mgl-loading {
    text-align: center !important;
    padding: 36px 24px !important;
    margin: 40px auto !important;
    background: #FFFDF9 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(217, 119, 6, 0.22) !important;
    box-shadow: 0 8px 30px rgba(42, 21, 10, 0.05) !important;
    color: #65250C !important;
    max-width: 840px !important;
    box-sizing: border-box !important;
}

html body .mgl-loading-spinner {
    width: 44px !important;
    height: 44px !important;
    border: 4px solid rgba(217, 119, 6, 0.2) !important;
    border-top: 4px solid #D97706 !important;
    border-radius: 50% !important;
    animation: mgl-spin 0.9s linear infinite !important;
    margin: 0 auto 16px auto !important;
}
@keyframes mgl-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html body .mgl-loading-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 0 4px 0 !important;
    font-size: 1.05rem !important;
}

html body .mgl-loading-sub {
    font-size: 0.88rem !important;
    color: #65250C !important;
    margin: 0 !important;
    opacity: 0.85 !important;
}

/* 5. Results Section Cards (STRICTLY NO #FFFFFF WHITE CARDS) */
html body .mgl-results {
    display: none;
    margin-top: 32px !important;
    width: 100% !important;
}

/* Status Banner Card */
html body .mgl-status-card {
    background: #FFEFD6 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 14px !important;
    padding: 24px 28px !important;
    margin-bottom: 32px !important;
    box-shadow: rgba(9, 30, 66, 0.12) 0px 4px 14px -2px !important;
    box-sizing: border-box !important;
}

html body .mgl-status-card.no-manglik {
    background: linear-gradient(135deg, #F0FDF4 0%, #FFEFD6 100%) !important;
    border-color: #008a45 !important;
}
html body .mgl-status-card.is-cancelled {
    background: linear-gradient(135deg, #EFF6FF 0%, #FFEFD6 100%) !important;
    border-color: #1E40AF !important;
}
html body .mgl-status-card.is-low-manglik {
    background: linear-gradient(135deg, #FFFBEB 0%, #FFEFD6 100%) !important;
    border-color: #B45309 !important;
}
html body .mgl-status-card.is-high-manglik {
    background: linear-gradient(135deg, #FFF1F2 0%, #FFEFD6 100%) !important;
    border-color: #9F1239 !important;
}

html body .mgl-status-header-wrap {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

html body .mgl-status-svg-badge {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

html body .mgl-status-card.no-manglik .mgl-status-svg-badge { background: #008a45 !important; color: #FFFFFF !important; }
html body .mgl-status-card.is-cancelled .mgl-status-svg-badge { background: #1E40AF !important; color: #FFFFFF !important; }
html body .mgl-status-card.is-low-manglik .mgl-status-svg-badge { background: #B45309 !important; color: #FFFFFF !important; }
html body .mgl-status-card.is-high-manglik .mgl-status-svg-badge { background: #9F1239 !important; color: #FFFFFF !important; }

html body .mgl-status-main-title {
    font-family: 'Outfit', sans-serif !important;
    margin: 0 0 6px 0 !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
}

html body .mgl-status-card.no-manglik .mgl-status-main-title { color: #008a45 !important; }
html body .mgl-status-card.is-cancelled .mgl-status-main-title { color: #1E40AF !important; }
html body .mgl-status-card.is-low-manglik .mgl-status-main-title { color: #78350F !important; }
html body .mgl-status-card.is-high-manglik .mgl-status-main-title { color: #881337 !important; }

html body .mgl-status-main-desc {
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #65250C !important;
}

/* Meter Fill Track */
html body .mgl-severity-meter-wrap {
    margin-top: 18px !important;
    padding-top: 14px !important;
    border-top: 1.5px dashed rgba(101, 37, 12, 0.2) !important;
}

html body .mgl-meter-labels {
    display: flex !important;
    justify-content: space-between !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin-bottom: 6px !important;
}

html body .mgl-meter-track {
    width: 100% !important;
    height: 12px !important;
    background: rgba(101, 37, 12, 0.12) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    position: relative !important;
}

html body .mgl-meter-fill {
    height: 100% !important;
    border-radius: 50px !important;
    transition: width 0.8s ease-in-out !important;
}

html body .mgl-status-card.no-manglik .mgl-meter-fill { background: linear-gradient(90deg, #22C55E, #008a45) !important; }
html body .mgl-status-card.is-cancelled .mgl-meter-fill { background: linear-gradient(90deg, #3B82F6, #1E40AF) !important; }
html body .mgl-status-card.is-low-manglik .mgl-meter-fill { background: linear-gradient(90deg, #F59E0B, #B45309) !important; }
html body .mgl-status-card.is-high-manglik .mgl-meter-fill { background: linear-gradient(90deg, #EF4444, #9F1239) !important; }

/* Section Headers in Results */
html body .mgl-section-header {
    margin-bottom: 16px !important;
}
html body .mgl-section-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
html body .mgl-section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 !important;
}
html body .mgl-section-desc {
    margin: 4px 0 0 0 !important;
    font-size: 0.88rem !important;
    color: #65250C !important;
    opacity: 0.9 !important;
}

/* Multi-Chart Grid Cards */
html body .mgl-chart-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}

html body .mgl-chart-card {
    background: #FFEFD6 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: rgba(9, 30, 66, 0.08) 0px 4px 14px -2px !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

html body .mgl-chart-card:hover {
    background: #FFE2C2 !important;
    transform: translateY(-2px) !important;
}

html body .mgl-chart-card-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

html body .mgl-chart-icon-box {
    width: 40px !important;
    height: 40px !important;
    background: #FFF7E8 !important;
    border: 1px solid #65250C !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #65250C !important;
    flex-shrink: 0 !important;
}

html body .mgl-chart-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 0 2px 0 !important;
}

html body .mgl-chart-card-sub {
    font-size: 0.78rem !important;
    color: #65250C !important;
    opacity: 0.85 !important;
    margin: 0 !important;
}

html body .mgl-chart-card-body {
    font-size: 0.88rem !important;
    color: #65250C !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
}

html body .mgl-pill-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
}

html body .mgl-pill-badge.is-kuja {
    background: #FFE4E6 !important;
    color: #9F1239 !important;
    border: 1px solid #9F1239 !important;
}

html body .mgl-pill-badge.is-clear {
    background: #DCFCE7 !important;
    color: #008a45 !important;
    border: 1px solid #008a45 !important;
}

/* Sutras Grid Cards */
html body .mgl-sutras-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 14px !important;
    margin-bottom: 28px !important;
}

html body .mgl-sutra-card {
    background: #FFF7E8 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    transition: background 0.15s ease !important;
}

html body .mgl-sutra-card.applied {
    background: #F0FDF4 !important;
    border-color: #008a45 !important;
}

html body .mgl-sutra-icon-wrap {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

html body .mgl-sutra-card.applied .mgl-sutra-icon-wrap {
    background: #008a45 !important;
    color: #FFFFFF !important;
}

html body .mgl-sutra-card.inactive .mgl-sutra-icon-wrap {
    background: #E6DFD5 !important;
    color: #65250C !important;
}

html body .mgl-sutra-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 !important;
}

html body .mgl-sutra-desc {
    font-size: 0.8rem !important;
    color: #65250C !important;
    opacity: 0.9 !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.4 !important;
}

html body .mgl-sutra-badge {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 50px !important;
}

html body .mgl-sutra-card.applied .mgl-sutra-badge {
    background: #DCFCE7 !important;
    color: #008a45 !important;
}

html body .mgl-sutra-card.inactive .mgl-sutra-badge {
    background: #E6DFD5 !important;
    color: #65250C !important;
}

/* Remedies Grid Cards */
html body .mgl-remedies-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

html body .mgl-remedy-card {
    background: #FFEFD6 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: rgba(9, 30, 66, 0.08) 0px 4px 14px -2px !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

html body .mgl-remedy-card:hover {
    background: #FFE2C2 !important;
    transform: translateY(-2px) !important;
}

html body .mgl-remedy-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

html body .mgl-remedy-icon-box {
    width: 36px !important;
    height: 36px !important;
    background: #FFF7E8 !important;
    border: 1px solid #65250C !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #65250C !important;
    flex-shrink: 0 !important;
}

html body .mgl-remedy-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 !important;
}

html body .mgl-remedy-desc {
    font-size: 0.88rem !important;
    color: #65250C !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* 6. High-Readability SEO Articles & FAQ Accordion Section */
html body .wy-seo-articles {
    max-width: 840px !important;
    margin: 40px auto 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

html body .wy-article-section {
    background: #FFEFD6 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 14px !important;
    padding: 32px 36px !important;
    margin-bottom: 24px !important;
    box-shadow: rgba(9, 30, 66, 0.12) 0px 4px 14px -2px, rgba(9, 30, 66, 0.05) 0px 0px 0px 1px !important;
    box-sizing: border-box !important;
}

html body .wy-article-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: #FDE8CD !important;
    color: #65250C !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    border-radius: 50% !important;
    margin-bottom: 12px !important;
    border: 1px solid #65250C !important;
}

html body .wy-article-h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #65250C !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.3 !important;
}

html body .wy-article-body {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    color: #65250C !important;
}

html body .wy-article-body p {
    margin-bottom: 14px !important;
}

html body .wy-article-body p:last-child {
    margin-bottom: 0 !important;
}

html body .wy-article-body a {
    color: #65250C !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
    transition: color 0.15s ease !important;
}

html body .wy-article-body a:hover {
    color: #C37A2E !important;
}

/* Tables Inside SEO Articles */
html body .wy-table-responsive {
    overflow-x: auto !important;
    margin: 16px 0 !important;
}

html body .wy-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
    border: 1.5px solid #65250C !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

html body .wy-table th {
    background: #FDE8CD !important;
    color: #65250C !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    padding: 12px 14px !important;
    border-bottom: 1.5px solid #65250C !important;
}

html body .wy-table td {
    padding: 12px 14px !important;
    border-bottom: 1px solid #E6DFD5 !important;
    font-size: 0.9rem !important;
    color: #65250C !important;
    background: #FFEFD6 !important;
}

/* MANDATORY RULE 5: Table Row Hover State */
html body table tbody tr,
html body .wy-table tbody tr {
    transition: background 0.15s ease !important;
}

html body table tbody tr:hover,
html body .wy-table tbody tr:hover,
html body .wy-table tbody tr:hover td {
    background: #FFE2C2 !important;
}

/* FAQ Accordion Styling (.wy-faq-accordion) */
html body .wy-faq-accordion {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

html body .wy-faq-item {
    border: 1.5px solid #65250C !important;
    border-radius: 8px !important;
    background: #FFF7E8 !important;
    overflow: hidden !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

html body .wy-faq-item.active {
    border-color: #65250C !important;
    background: #FFE2C2 !important;
}

html body .wy-faq-trigger {
    width: 100% !important;
    padding: 14px 18px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    text-align: left !important;
    cursor: pointer !important;
    outline: none !important;
    gap: 12px !important;
}

html body .wy-faq-icon {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #C37A2E !important;
    transition: transform 0.2s ease !important;
    line-height: 1 !important;
}

html body .wy-faq-item.active .wy-faq-icon {
    transform: rotate(45deg) !important;
    color: #65250C !important;
}

html body .wy-faq-content {
    display: none;
    padding: 0 18px 14px 18px !important;
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    color: #65250C !important;
    border-top: 1px solid rgba(101, 37, 12, 0.15) !important;
}

html body .wy-faq-item.active .wy-faq-content {
    display: block !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    html body .mgl-form-card,
    html body .wy-article-section {
        padding: 24px 20px !important;
    }
    html body .dosha-hero,
    html body .pkr-hero-banner {
        padding: 36px 16px !important;
    }
    html body .dosha-hero-title,
    html body .pkr-hero-title {
        font-size: 1.75rem !important;
    }
    html body .mgl-status-header-wrap {
        flex-direction: column !important;
    }
    html body .mgl-status-svg-badge {
        width: 48px !important;
        height: 48px !important;
    }
}
