/**
 * AstroLeaf Enterprise - Atmakaraka and Darakaraka Calculator Stylesheet
 * Brand Classical Theme with Golden-Saffron & Deep Walnut Accents
 */

:root {
    --adk-saffron: #D97706;
    --adk-saffron-light: #FFBA5F;
    --adk-saffron-bg: #FFEFD6;
    --adk-walnut: #65250C;
    --adk-walnut-dark: #4A1A08;
    --adk-dark: #0F172A;
    --adk-dark-muted: #475569;
    --adk-border: #CBD5E1;
    --adk-card-bg: #FFFFFF;
}

html body {
    background-color: #FFFBF4 !important;
    color: var(--adk-dark) !important;
    font-family: var(--font-primary, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif) !important;
}

/* Breadcrumbs Bar */
html body .astroleaf-breadcrumb-bar {
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    padding: 12px 24px !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: #475569 !important;
    flex-wrap: wrap !important;
}

html body .astroleaf-breadcrumb-bar a {
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

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

/* Hero Section */
html body .jaimini-hero {
    background: linear-gradient(135deg, #65250C 0%, #4A1A08 100%) !important;
    padding: 65px 24px 55px 24px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    color: #FFFFFF !important;
}

html body .pkr-hero-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    color: #FFBA5F !important;
    -webkit-text-fill-color: #FFBA5F !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

html body .pkr-hero-sub {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 1.05rem !important;
    color: #FFE2C2 !important;
    -webkit-text-fill-color: #FFE2C2 !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
    text-align: center !important;
}

/* Form Card */
html body .adk-form-card,
html body .aap-form-card {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 840px !important;
    margin: 0 auto !important;
}

@media (max-width: 640px) {
    html body .adk-form-card,
    html body .aap-form-card {
        padding: 18px 16px !important;
    }
}

html body .form-card-eyebrow {
    color: #D97706 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 4px !important;
}

html body .form-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Inputs & Selects */
html body select.adk-select,
html body select.aap-select,
html body #atmakaraka-darakaraka-form select {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 14px !important;
    padding-right: 34px !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;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 14px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    outline: none !important;
    box-sizing: border-box !important;
}

html body input.adk-input,
html body input.aap-input,
html body #atmakaraka-darakaraka-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: normal !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;
}

html body input.adk-input:focus,
html body select.adk-select:focus,
html body #atmakaraka-darakaraka-form input:focus,
html body #atmakaraka-darakaraka-form select:focus {
    border-color: #D97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16) !important;
}

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

html body .adk-btn-submit:hover:not(:disabled) {
    background: #EA580C !important;
    background-color: #EA580C !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4) !important;
    color: #FFFFFF !important;
}

html body .adk-btn-submit:disabled,
html body .adk-btn-submit[disabled] {
    opacity: 0.82 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* Spinner */
.adk-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #FFEFD6;
    border-top: 4px solid #65250C;
    border-radius: 50%;
    animation: adk-spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes adk-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Dashboard */
html body #calc-results {
    max-width: 840px !important;
    margin: 30px auto 50px auto !important;
}

/* Hero Spotlight Card */
html body .adk-result-hero-card {
    background: #65250C !important;
    color: #FFF7E8 !important;
    border: 1.5px solid #65250C !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
}

html body .adk-result-eyebrow {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    color: #FFBA5F !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

html body .adk-result-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 4px 0 6px 0 !important;
}

html body .adk-result-subtitle {
    font-size: 0.9rem !important;
    color: #FFEFD6 !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    line-height: 1.5 !important;
}

html body .adk-badge-spotlight {
    background: rgba(255, 186, 95, 0.2) !important;
    border: 1.5px solid #FFBA5F !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    text-align: center !important;
    min-width: 130px !important;
}

html body .adk-badge-label {
    display: block !important;
    font-size: 0.72rem !important;
    color: #FFEFD6 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

html body .adk-badge-value {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #FFBA5F !important;
}

/* Prediction Cards */
html body .adk-prediction-card {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 24px 26px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

html body .adk-card-header-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1.5px solid #F1F5F9 !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

html body .adk-planet-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFEFD6 !important;
    border: 1px solid #FFBA5F !important;
    color: #65250C !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
}

html body .adk-pillar-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

html body .adk-pillar-box {
    background: #FFFBF4 !important;
    border: 1px solid #FED7AA !important;
    border-radius: 10px !important;
    padding: 16px 18px !important;
}

html body .adk-pillar-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 0 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

html body .adk-pillar-text {
    font-size: 0.88rem !important;
    color: #475569 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Ladder Box */
html body .adk-ladder-section {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 22px 24px !important;
    margin-bottom: 28px !important;
}

html body .adk-ladder-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

html body .adk-ladder-item {
    background: #FFFDF9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

html body .adk-ladder-item.highlight-ak {
    border: 1.5px solid #65250C !important;
    background: #FFEFD6 !important;
}

html body .adk-ladder-item.highlight-dk {
    border: 1.5px solid #D97706 !important;
    background: #FFFBEB !important;
}

html body .adk-role-code {
    display: inline-block !important;
    background: #65250C !important;
    color: #FFBA5F !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
}

/* Educational SEO Article Section - Consistent Human Typography */
html body .wy-seo-articles {
    max-width: 840px !important;
    margin: 40px auto 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .wy-article-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 46px !important;
    text-align: left !important;
}

html body .wy-article-h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.75rem !important;
    color: #65250C !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 10px !important;
    font-weight: 700 !important;
    border-bottom: 1.5px solid #65250C !important;
    background: transparent !important;
    text-align: left !important;
}

html body .wy-article-body p {
    color: #475569 !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    text-align: left !important;
    margin: 0 0 18px 0 !important;
}

html body .wy-item-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 24px 0 !important;
}

html body .wy-item-list li {
    position: relative !important;
    padding-left: 26px !important;
    margin-bottom: 14px !important;
    line-height: 1.85 !important;
    font-size: 1.05rem !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    color: #475569 !important;
}

html body .wy-item-list li strong {
    color: #1E293B !important;
    font-weight: 700 !important;
}

html body .wy-item-list li::before {
    content: "✦" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #65250C !important;
    font-size: 0.95rem !important;
}

/* FAQ Accordion Section */
html body .pkr-faq-section {
    width: 100% !important;
    max-width: 840px !important;
    margin: 36px auto 48px auto !important;
    padding: 0 20px !important;
    text-align: center !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

html body .pkr-section-header {
    text-align: center !important;
    margin-bottom: 20px !important;
}

html body .pkr-pill-label {
    display: inline-block !important;
    background: #FFFDF9 !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #65250C !important;
    padding: 4px 14px !important;
    border-radius: 50px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 8px !important;
}

html body .pkr-section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: #65250C !important;
    margin: 0 0 6px 0 !important;
    text-align: center !important;
}

html body .pkr-section-desc {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.94rem !important;
    color: #555555 !important;
    margin: 0 auto !important;
    text-align: center !important;
}

html body .pkr-faq-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 840px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

html body .pkr-faq-item,
html body .vng-faq-entry {
    background: #FFF8EA !important;
    background-color: #FFF8EA !important;
    border: 1.5px solid #E4D5C1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

html body .pkr-faq-item.active,
html body .vng-faq-entry.active,
html body .vng-faq-entry:has(.vng-faq-toggle[aria-expanded="true"]) {
    background: #FFFDF8 !important;
    background-color: #FFFDF8 !important;
    border-color: #C98A58 !important;
}

html body .pkr-faq-question,
html body .vng-faq-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 16px 20px !important;
    color: #682B12 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    box-sizing: border-box !important;
    gap: 14px !important;
}

html body .vng-faq-symbol,
html body .faq-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    color: #65250C !important;
    background: #FFFDF8 !important;
    border-radius: 50% !important;
    border: 1px solid #D8C3AB !important;
    font-family: Arial, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

html body .pkr-faq-item.active .vng-faq-symbol,
html body .vng-faq-entry.active .vng-faq-symbol,
html body .pkr-faq-item.active .faq-icon,
html body .vng-faq-entry.active .faq-icon {
    color: #FFFFFF !important;
    background: #65250C !important;
    border-color: #65250C !important;
}

html body .pkr-faq-answer {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 20px 18px 20px !important;
    color: #4A4A4A !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
    box-sizing: border-box !important;
}

html body .pkr-faq-answer p {
    color: #4A4A4A !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

html body .pkr-faq-answer[hidden],
html body .pkr-faq-item:not(.active) .pkr-faq-answer[hidden],
html body .vng-faq-entry:not(.active) .pkr-faq-answer[hidden] {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 640px) {
    html body .adk-pillar-grid {
        grid-template-columns: 1fr !important;
    }
}
