/* ==========================================================================
   SBR Machines Pvt. Ltd. - Careers Page Stylesheet
   ========================================================================== */

.careers-vacancies-section {
    padding: 60px 0 40px;
    background: #ffffff;
}

.careers-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.careers-section-header h2 {
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.careers-section-header h2 span {
    color: #EB5724;
}

.jobs-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.job-filter-btn {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 18px;
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.job-filter-btn:hover {
    border-color: #EB5724;
    color: #EB5724;
    background: #FFF1EC;
}

.job-filter-btn.active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.vacancy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.03);
}

.vacancy-card:hover {
    border-color: #EB5724;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(235, 87, 36, 0.09);
}

.vacancy-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.vacancy-dept {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF1EC;
    color: #EB5724;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 50px;
}

.vacancy-type {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 50px;
}

.vacancy-title {
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.35;
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 16px;
}

.vacancy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vacancy-meta i {
    color: #EB5724;
}

.vacancy-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.vacancy-exp {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.btn-apply-role {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 9px 16px;
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-apply-role:hover {
    background: #EB5724;
}

/* Career Form Section (#form1 Styling) */
.careers-apply-section {
    padding: 56px 0 80px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.career-simple-form-wrap {
    max-width: 880px;
    margin: 0 auto;
}

.career-simple-form-wrap .contact-form-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 40px 38px;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.career-form-label {
    display: block;
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #374151;
    margin-bottom: 7px;
}

.career-form-label span {
    color: #EB5724;
}

#form1 .career-input-wrap {
    position: relative;
}

#form1 .career-input-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s ease;
}

#form1 input[type="text"],
#form1 input[type="number"],
#form1 input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 10px 15px 10px 42px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14.5px;
    color: #111827;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#form1 input[type="text"]::placeholder,
#form1 input[type="number"]::placeholder,
#form1 input[type="email"]::placeholder {
    color: #94a3b8;
}

#form1 input[type="text"]:focus,
#form1 input[type="number"]:focus,
#form1 input[type="email"]:focus {
    background: #ffffff;
    border-color: #EB5724;
    box-shadow: 0 0 0 4px rgba(235, 87, 36, 0.12);
    outline: none;
}

#form1 .career-input-wrap:focus-within i {
    color: #EB5724;
}

/* Remove number input spinner arrows for cleaner phone input */
#form1 input[type="number"]::-webkit-outer-spin-button,
#form1 input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#form1 input[type="number"] {
    -moz-appearance: textfield;
}

/* Resume Upload Box */
#form1 .career-resume-row {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 4px 0 0;
    align-items: center;
    transition: all 0.25s ease;
}

#form1 .career-resume-row:hover {
    border-color: #EB5724;
    background: #FFF1EC;
}

#form1 .textheading {
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

#form1 .textheading::before {
    content: '\f15c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #EB5724;
    font-size: 16px;
}

#form1 input[type="file"] {
    width: 100%;
    font-size: 13.5px;
    color: #334155;
    cursor: pointer;
}

#form1 input[type="file"]::file-selector-button {
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    margin-right: 14px;
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

#form1 input[type="file"]::file-selector-button:hover {
    background: #EB5724;
}

/* Submit Button Row */
#form1 .career-submit-row {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    align-items: center;
}

#form1 .submit {
    width: 100%;
    background: linear-gradient(135deg, #EB5724 0%, #d84817 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-family: var(--accent-font, 'Onest', sans-serif);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(235, 87, 36, 0.25);
    transition: all 0.25s ease;
}

#form1 .submit:hover {
    background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
    transform: translateY(-2px);
}

.career-hr-strip {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13.5px;
    color: #475569;
}

.career-hr-strip a {
    color: #EB5724;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 767px) {
    .career-simple-form-wrap .contact-form-box {
        padding: 26px 20px;
    }

    #form1 .textheading {
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .careers-vacancies-section,
    .careers-apply-section {
        padding: 40px 0;
    }

    .careers-section-header h2 {
        font-size: 25px;
    }
}
