/* Astroleaf Enterprise Prashna Kundali Portal Styling */
.prashna-theme-wrapper {
    background-color: var(--theme-bg, #FAF7F2);
    font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
    color: var(--theme-text, #1e293b);
    padding: 32px 0;
}

.prashna-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Card Containers - Strict Uniform Borders Invariant */
.prashna-bento-card, .prashna-form-card, .lunar-form-card {
    background: #FFFFFF;
    border: 1px solid var(--theme-border, #E2E8F0);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    margin-bottom: 24px;
}

/* Symmetrical Grid Container */
.prashna-form-grid, .lunar-form-grid, .prashna-form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
}

/* Input Field Grouping & Label Normalization */
.prashna-form-group, .lunar-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.prashna-form-group label,
.lunar-form-group label,
.prashna-label,
.lunar-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-brown, #4a2e1b);
    margin-bottom: 6px;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prashna-form-group input,
.prashna-form-group select,
.lunar-form-group input,
.lunar-form-group select,
.prashna-input,
.lunar-input {
    width: 100%;
    box-sizing: border-box;
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid var(--theme-border, #E2E8F0) !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    color: #1e293b !important;
    font-family: var(--font-primary, system-ui, -apple-system, sans-serif) !important;
    font-size: 0.92rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.prashna-form-group select,
.lunar-form-group select,
.prashna-input[type="select"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    padding-right: 2.6rem !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23D97706' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.1rem center !important;
    background-size: 12px !important;
}

.prashna-form-group input:hover,
.prashna-form-group select:hover,
.prashna-input:hover,
.lunar-input:hover {
    border-color: var(--color-primary, #D97706) !important;
}

.prashna-form-group input:focus,
.prashna-form-group select:focus,
.prashna-input:focus,
.lunar-input:focus {
    border-color: var(--color-primary, #D97706) !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12) !important;
    outline: none !important;
}

/* Submit Action Button - Jaimini Amber Gradient */
.prashna-cast-btn, .prashna-btn-submit, .lunar-btn-submit {
    height: 48px !important;
    width: 100% !important;
    background: #F97316 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.22) !important;
    transition: all 0.2s ease !important;
}

.prashna-cast-btn:hover, .prashna-btn-submit:hover, .lunar-btn-submit:hover {
    background: #EA580C !important;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.32) !important;
    transform: translateY(-1px) !important;
}

/* Tabs & Navigation Pills */
.prashna-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--theme-border, #E2E8F0);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 12px;
}

.prashna-tab-btn {
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    padding: 8px 16px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.prashna-tab-btn:hover {
    color: var(--color-primary, #D97706);
    border-color: #cbd5e1;
    background-color: #FAF6EE;
}

.prashna-tab-btn.active {
    background: #F97316;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

/* Tables and Grids */
.prashna-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.prashna-table th {
    background-color: #F8FAFC;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    border-bottom: 1px solid #E2E8F0;
    text-align: left;
}

.prashna-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
}

.prashna-table tr:hover td {
    background-color: #FAF6EE;
}

/* Preset Chips */
.prashna-preset-chip {
    background: #ffffff;
    border: 1px solid var(--color-border, #E2E8F0);
    color: #475569;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.prashna-preset-chip:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

/* Workspace Grid */
.prashna-workspace-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .prashna-workspace-grid {
        grid-template-columns: 1fr !important;
    }
    .prashna-form-grid, .lunar-form-grid, .prashna-form-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .prashna-form-grid, .lunar-form-grid, .prashna-form-grid-4 {
        grid-template-columns: 1fr !important;
    }
    .prashna-bento-card, .prashna-form-card, .lunar-form-card {
        padding: 18px !important;
    }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
/* --- AstroLeaf Standard Educational Article & FAQ Content System --- */
html body .wy-seo-article,
html body .wy-seo-articles {
    margin-top: 50px !important;
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html body .wy-article-section {
    background: #FFFDF9 !important;
    border: 1px solid #E7E0D6 !important;
    border-radius: 14px !important;
    padding: 36px 40px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 18px rgba(28, 19, 13, 0.02) !important;
}

html body .wy-article-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(184, 108, 16, 0.08) !important;
    color: #B86C10 !important;
    font-family: var(--font-mono, monospace) !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    margin-bottom: 14px !important;
    border: 1px solid rgba(184, 108, 16, 0.2) !important;
}

html body .wy-article-h2 {
    font-family: var(--font-heading, Georgia, serif) !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #1C1917 !important;
    margin: 0 0 16px 0 !important;
}

html body .wy-article-body {
    font-size: 0.98rem !important;
    line-height: 1.82 !important;
    color: #44403C !important;
}

html body .wy-article-body p { margin-bottom: 16px !important; }
html body .wy-article-body p:last-child { margin-bottom: 0 !important; }

/* Table Content Styling */
html body .wy-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    font-size: 0.92rem !important;
}

html body .wy-table th,
html body .wy-table td {
    padding: 12px 14px !important;
    border: 1px solid #E7E0D6 !important;
}

html body .wy-table th {
    background: #FAF4E8 !important;
    font-weight: 700 !important;
    color: #1C1917 !important;
}

/* FAQ Accordion Styling */
html body .wy-faq-accordion {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

html body .wy-faq-item {
    border: 1.5px solid #E7E0D6 !important;
    border-radius: 10px !important;
    background: #FAF8F5 !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

html body .wy-faq-item.active {
    border-color: #B86C10 !important;
    background: #FFFDF9 !important;
    box-shadow: 0 4px 14px rgba(184, 108, 16, 0.08) !important;
}

html body .wy-faq-trigger {
    width: 100% !important;
    padding: 16px 20px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-family: inherit !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: #1C1917 !important;
    text-align: left !important;
    cursor: pointer !important;
    outline: none !important;
    gap: 14px !important;
}

html body .wy-faq-icon {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #B86C10 !important;
    transition: transform 0.25s ease !important;
    line-height: 1 !important;
}

html body .wy-faq-item.active .wy-faq-icon {
    transform: rotate(45deg) !important;
    color: #D97706 !important;
}

html body .wy-faq-content {
    display: none;
    padding: 0 20px 18px 20px !important;
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    color: #44403C !important;
    border-top: 1px solid #E7E0D6 !important;
}
html body .wy-faq-item.active .wy-faq-content {
    display: block !important;
}

@media (max-width: 768px) {
    html body .wy-article-section { padding: 24px 20px !important; }
    html body .wy-faq-trigger { padding: 14px 16px !important; font-size: 0.9rem !important; }
    .kl-form-grid, .ud-form-grid, #prashna-horary-form {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .kl-form-card, .ud-form-card, .aap-form-card {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }
    .prashna-helper-actions {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .checkout-wrapper {
        padding: 0 14px !important;
        margin: 16px auto !important;
    }
    .pkr-hero-banner {
        padding: 36px 16px 28px 16px !important;
    }
    .pkr-hero-title {
        font-size: 1.6rem !important;
    }
}

/* Unified Places Autocomplete Dropdown & Prashna Location Dropdown Styling */
html body .al-pac-dropdown,
.al-pac-dropdown,
html body .prashna-location-dropdown,
.prashna-location-dropdown {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06) !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
}

html body .al-pac-item,
.al-pac-item,
html body .prashna-loc-item,
.prashna-loc-item {
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #1E293B !important;
    cursor: pointer !important;
    border-bottom: 1px solid #F1F5F9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: background 0.15s ease !important;
}

html body .al-pac-item:last-child,
.al-pac-item:last-child,
html body .prashna-loc-item:last-child,
.prashna-loc-item:last-child {
    border-bottom: none !important;
}

html body .al-pac-item:hover,
html body .al-pac-item.al-pac-selected,
.al-pac-item:hover,
.al-pac-item.al-pac-selected,
html body .prashna-loc-item:hover,
.prashna-loc-item:hover {
    background: #FFF7ED !important;
    color: #D97706 !important;
}

html body .prashna-location-dropdown::-webkit-scrollbar,
html body .al-pac-dropdown::-webkit-scrollbar {
    width: 6px;
}

html body .prashna-location-dropdown::-webkit-scrollbar-track,
html body .al-pac-dropdown::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 4px;
}

html body .prashna-location-dropdown::-webkit-scrollbar-thumb,
html body .al-pac-dropdown::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

