/* Astroleaf Enterprise - Moon Sign Calculator Stylesheet */
.pkr-strict-wrapper,
.ale-calc-workspace {
    background-color: #FAF6F0 !important;
    background: #FAF6F0 !important;
    color: #65250C !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box;
}

.cd-strict-container,
.ale-container {
    max-width: 840px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.aap-form-card.cd-form-card,
.lunar-form-card,
.ud-form-card,
.kl-form-card,
.aap-form-card {
    background-color: #FFFDF9 !important;
    background: #FFFDF9 !important;
    border: 1.5px solid #E6DFD5 !important;
    border-radius: 16px !important;
    padding: 28px 32px !important;
    box-shadow: 0 8px 30px rgba(42, 21, 10, 0.05) !important;
    margin: 0 auto 32px auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Strict Clean White Input and Select Fields */
html body input.cd-input,
html body input.aap-input,
html body input.ud-input,
html body input.kl-input,
html body select.cd-input,
html body select.aap-input,
html body select.ud-select,
html body select.kl-select,
html body #moonsign-form input,
html body #moonsign-form select,
html body select#select-dob-day,
html body select#select-dob-month,
html body select#select-dob-year,
html body select#select-tob-hour,
html body select#select-tob-min,
html body select#select-tob-ampm,
html body select#calc-gender,
html body select#ayanamsha-select {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    line-height: normal !important;
    padding: 0 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;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

html body #moonsign-form select,
html body select.cd-input,
html body select.aap-input,
html body select.ud-select,
html body select.kl-select {
    appearance: none !important;
    -webkit-appearance: none !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;
    padding-right: 36px !important;
    cursor: pointer !important;
}

.cd-sub-select-grid select {
    padding-left: 10px !important;
    padding-right: 28px !important;
    background-position: right 8px center !important;
}

html body input.cd-input:focus,
html body select.cd-input:focus,
html body #moonsign-form input:focus,
html body #moonsign-form select:focus {
    border-color: #D97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18) !important;
    outline: none !important;
    background-color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .aap-form-card.cd-form-card {
        padding: 22px 18px !important;
    }
    .cd-form-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .cd-sub-select-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}
