/* ----------------------------
   Container Styling
----------------------------- */
#psc-calculator {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    padding: 30px;
    max-width: 680px;
    margin: 30px auto;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    color: #1a1a1a;
}

.psc-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: left;
    color: #1a1a1a;
}

.psc-intro {
    font-size: 14px;
    color: #4f4f4f;
    margin-top: -5px;
    margin-bottom: 20px;
}

/* ----------------------------
   Rows & Fields
----------------------------- */
.psc-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.psc-field {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    flex-direction: column;
}

.psc-field label {
    font-size: 14px;
    font-weight: 600;
    color: #4f4f4f;
    margin-bottom: 5px;
}

/* ----------------------------
   Inputs & Selects
----------------------------- */
.psc-select,
#psc-calculator input[type="text"] {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    font-size: 15px;
    height: 42px;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.psc-select:focus,
#psc-calculator input[type="text"]:focus {
    border-color: #0069d9;
    box-shadow: 0 0 0 2px rgba(0,105,217,0.15);
    outline: none;
}

.psc-checkbox-row .psc-field {
    flex: 1 1 50%;
    flex-direction: row;
    align-items: center;
}

.psc-checkbox-row label {
    font-size: 15px;
    font-weight: 500;
}

.psc-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* ----------------------------
   Results Box
----------------------------- */
.psc-results {
    border: 1px solid #cfd4dc;
    border-radius: 6px;
    background: #f8f9fc;
    padding: 18px;
    margin-top: 10px;
}

.psc-results-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.psc-results-row .psc-field {
    flex: 1 1 calc(33% - 20px);
}

/* Total Salary */
.psc-total-field {
    flex: 1 1 100%;
}

#psc-total-salary {
    font-weight: 700;
    font-size: 18px;
    background: #fff;
}

/* ----------------------------
   Section Titles / Separator
----------------------------- */
.psc-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 18px 0 10px;
}

.psc-section-separator {
    border: 0;
    border-top: 1px solid #e4e7ec;
    margin: 18px 0 10px;
}

/* ----------------------------
   Button
----------------------------- */
.psc-footer {
    margin-top: 25px;
    text-align: left;
}

.psc-job-alerts-btn {
    display: inline-block;
    background: #ffc20e;
    color: #000;
    padding: 12px 26px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.psc-job-alerts-btn:hover {
    background: #e0a90d;
    transform: translateY(-1px);
}

/* ----------------------------
   Mobile Responsive
----------------------------- */
@media (max-width: 640px) {
    #psc-calculator {
        padding: 20px;
    }

    .psc-field {
        flex: 1 1 100%;
    }

    .psc-results-row .psc-field {
        flex: 1 1 100%;
    }

    .psc-job-alerts-btn {
        width: 100%;
        text-align: center;
    }
}