/* ==========================================
   CAREER PATH CHALDEAN CALCULATOR – UI THEME
   Optimized for AstroPrasun Brand
========================================== */

.cpnc-box {
    max-width: 650px;
    margin: auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 30px;
}

/* Headings */
.cpnc-box h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #3a281a;
}

/* Input Styling */
.cpnc-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #c8c8c8;
    font-size: 16px;
    background: #fafafa;
}

.cpnc-box input:focus {
    outline: none;
    border-color: #3860ff;
    box-shadow: 0 0 5px rgba(56,96,255,0.4);
}

/* DOB fields */
#cpnc_day,
#cpnc_month,
#cpnc_year {
    width: 32.1%;
    display: inline-block;
}

/* Primary action button */
#cpnc_calculate {
    width: 100%;
    padding: 16px;
    background: #3860ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

/* Download PDF Button */
#cpnc_download_pdf {
    width: 100%;
    padding: 16px;
    background: #008f3a;
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

/* WhatsApp Button */
#cpnc_share_whatsapp {
    width: 100%;
    padding: 16px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

/* Result Box */
#cpnc_result {
    margin-top: 25px;
    padding: 20px;
    background: #f9f4ed;
    border-radius: 10px;
    border-left: 5px solid #3a281a;
    font-size: 17px;
    line-height: 1.6;
}

#cpnc_result h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #3a281a;
}

/* Output text formatting */
.cpnc-output p strong {
    color: #111;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    #cpnc_day,
    #cpnc_month,
    #cpnc_year {
        width: 100% !important;
        margin-bottom: 14px;
    }

    .cpnc-box {
        padding: 20px;
        margin-top: 20px;
    }

    .cpnc-box h2 {
        font-size: 24px;
    }
}