/* =============================================================================
   Slim Plumbing Careers — Frontend Styles
   ============================================================================= */

/* --------------------------------------------------------------------------
   Benefits Section
   -------------------------------------------------------------------------- */
.spc-benefits {
    margin: 2rem 0;
}

.spc-benefits__inner {
    background: #f4f6f8;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    padding: 2rem 2.5rem;
    max-width: 680px;
}

.spc-benefits__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #333;
}

.spc-benefits__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spc-benefits__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #e0e4e8;
}

.spc-benefits__item:last-child {
    border-bottom: none;
}

.spc-benefits__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Form Wrapper
   -------------------------------------------------------------------------- */
.spc-form-wrap {
    max-width: 860px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9375rem;
    color: #333;
}

/* --------------------------------------------------------------------------
   Success & Error Banners
   -------------------------------------------------------------------------- */
.spc-success-banner {
    background: #1e7e34;
    color: #fff;
    padding: 1.1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.spc-error-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 0.9rem 1.25rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.spc-section-header {
    background: #333;
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 1rem;
    margin: 2rem 0 1rem;
    border-radius: 3px;
}

.spc-subsection-header {
    background: #666;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.85rem;
    margin: 1.4rem 0 0.75rem;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Field Layout
   -------------------------------------------------------------------------- */
.spc-field {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.spc-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 0;
}

.spc-row--2 {
    grid-template-columns: repeat(2, 1fr);
}

.spc-row--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* --------------------------------------------------------------------------
   Labels
   -------------------------------------------------------------------------- */
.spc-field > label,
.spc-field label:not(.spc-radio-label):not(.spc-checkbox-label) {
    font-weight: 600;
    font-size: 0.875rem;
    color: #222;
    margin-bottom: 0.3rem;
    display: block;
}

.spc-required {
    color: #c0392b;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Text Inputs & Textareas
   -------------------------------------------------------------------------- */
.spc-form input[type="text"],
.spc-form input[type="email"],
.spc-form input[type="tel"],
.spc-form input[type="password"],
.spc-form textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.spc-form input[type="text"]:focus,
.spc-form input[type="email"]:focus,
.spc-form input[type="tel"]:focus,
.spc-form textarea:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.12);
    outline: none;
}

.spc-form input[readonly] {
    background: #f0f0f0;
    color: #666;
    cursor: not-allowed;
}

.spc-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* --------------------------------------------------------------------------
   Radio Buttons
   -------------------------------------------------------------------------- */
.spc-radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
}

.spc-radio-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
}

.spc-radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #333;
}

/* --------------------------------------------------------------------------
   Checkbox
   -------------------------------------------------------------------------- */
.spc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
    line-height: 1.4;
}

.spc-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #333;
}

/* --------------------------------------------------------------------------
   Disclaimer Block
   -------------------------------------------------------------------------- */
.spc-disclaimer {
    background: #f8f8f8;
    border-left: 4px solid #555;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #444;
    border-radius: 0 4px 4px 0;
}

/* --------------------------------------------------------------------------
   Notes
   -------------------------------------------------------------------------- */
.spc-note {
    font-size: 0.85rem;
    color: #666;
    margin: -0.25rem 0 0.75rem;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Inline Field Errors
   -------------------------------------------------------------------------- */
.spc-field-error {
    color: #c0392b;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   reCAPTCHA
   -------------------------------------------------------------------------- */
.spc-recaptcha-wrap {
    margin: 1.5rem 0;
}

.spc-recaptcha-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #5d4037;
}

/* --------------------------------------------------------------------------
   Submit Button
   -------------------------------------------------------------------------- */
.spc-submit-wrap {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ddd;
}

.spc-submit-btn {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.1s;
}

.spc-submit-btn:hover {
    background: #111;
}

.spc-submit-btn:active {
    transform: translateY(1px);
}

.spc-submit-btn:focus {
    outline: 3px solid rgba(51, 51, 51, 0.4);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Responsive — Tablet & Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
    .spc-row--2,
    .spc-row--3 {
        grid-template-columns: 1fr;
    }

    .spc-benefits__inner {
        padding: 1.25rem 1.25rem;
    }

    .spc-form-wrap {
        margin: 1rem;
    }

    .spc-submit-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .spc-section-header,
    .spc-subsection-header {
        font-size: 0.75rem;
    }
}
