/* =====================================================================
   Arrtha Motors – Careers & Opportunities Stylesheet
   Modern, Professional, High-Converting Talent Acquisition Experience
   ===================================================================== */

/* Page Header & Breadcrumb */
.cr-page-header {
    background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 60%, #172554 100%);
    padding: 65px 0 55px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cr-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(171, 23, 231, 0.22) 0%, transparent 65%);
    pointer-events: none;
}

.cr-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    font-size: 13px;
}

.cr-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
}

.cr-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}

.cr-breadcrumb a:hover {
    color: #0f172a;
}

.cr-breadcrumb .separator {
    font-size: 10px;
    color: #94a3b8;
}

.cr-breadcrumb .active {
    color: #9c27b0;
    font-weight: 700;
}

.cr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.cr-title {
    font-family: var(--display, 'Archivo', sans-serif);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.cr-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 26px;
}

.cr-header-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cr-btn-primary {
    background: linear-gradient(135deg, rgb(171, 23, 231) 0%, #8e0fc1 100%);
    color: #ffffff !important;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(171, 23, 231, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(171, 23, 231, 0.5);
    color: #ffffff !important;
}

.cr-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cr-btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* =====================================================================
   CULTURE & VALUE PILLARS
   ===================================================================== */
.cr-pillars-section {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.cr-sec-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 50px;
}

.cr-sec-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgb(171, 23, 231);
    background: rgba(171, 23, 231, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.cr-sec-title {
    font-family: var(--display, 'Archivo', sans-serif);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
}

.cr-sec-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.cr-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.cr-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.cr-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(171, 23, 231, 0.1);
    color: rgb(171, 23, 231);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.cr-pillar-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.cr-pillar-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================================
   OPEN POSITIONS JOB BOARD
   ===================================================================== */
.cr-jobs-section {
    padding: 85px 0 95px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.cr-job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cr-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.cr-job-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cr-dept-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
}

.cr-dept-sales {
    background: #fee2e2;
    color: #b91c1c;
}

.cr-dept-service {
    background: #ede9fe;
    color: #7c3aed;
}

.cr-dept-marketing {
    background: #e0f2fe;
    color: #0284c7;
}

.cr-dept-admin {
    background: #fef3c7;
    color: #b45309;
}

.cr-job-type {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}

.cr-job-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.cr-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.cr-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cr-job-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.cr-job-reqs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cr-job-reqs li {
    font-size: 12.5px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.cr-job-reqs li i {
    color: #10b981;
    font-size: 11px;
    margin-top: 3px;
}

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

.cr-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cr-apply-btn:hover {
    background: #334155;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* =====================================================================
   APPLICATION FORM SECTION (Matching Reference Theme)
   ===================================================================== */
.cr-application-section {
    padding: 85px 0 95px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.cr-form-card {
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cr-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 26px;
}

.cr-field {
    margin-bottom: 4px;
}

.cr-field-full {
    grid-column: 1 / -1;
}

.cr-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}

.cr-field input,
.cr-field select,
.cr-field textarea {
    width: 100%;
    padding: 9px 14px;
    font-size: 13.5px;
    color: #111111;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.cr-field input,
.cr-field select {
    height: 44px;
}

.cr-field textarea {
    min-height: 95px;
    resize: vertical;
    line-height: 1.5;
}

.cr-field input::placeholder,
.cr-field textarea::placeholder {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}

.cr-field input:focus,
.cr-field select:focus,
.cr-field textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.cr-select-wrap {
    position: relative;
    width: 100%;
}

.cr-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 36px;
    cursor: pointer;
}

.cr-select-wrap .cr-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    font-size: 11px;
}

.cr-action {
    margin-top: 24px;
    text-align: center;
}

.cr-submit-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 38px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    text-align: center;
}

.cr-submit-btn:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.cr-submit-btn:active {
    transform: translateY(0);
}

/* File Upload Component */
.cr-file-upload-box {
    position: relative;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    background-color: #f8fafc;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cr-file-upload-box:hover,
.cr-file-upload-box.dragover {
    border-color: rgb(171, 23, 231);
    background-color: rgba(171, 23, 231, 0.04);
}

.cr-file-upload-box input[type="file"] {
    width: 100%;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
}

.cr-upload-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(171, 23, 231, 0.1);
    color: rgb(171, 23, 231);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.cr-file-upload-box:hover .cr-upload-icon {
    transform: scale(1.1);
}

.cr-upload-text .cr-upload-main {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.cr-upload-text .cr-upload-sub {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.cr-upload-browse-btn {
    display: inline-block;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    pointer-events: none;
}

.cr-file-chosen {
    margin-top: 10px;
    padding: 10px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #1e293b;
}

.cr-file-chosen .remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-left: auto;
    padding: 2px 6px;
}

.cr-file-chosen .remove-btn:hover {
    text-decoration: underline;
}

/* =====================================================================
   HIRING PROCESS STEPS
   ===================================================================== */
.cr-process-section {
    padding: 85px 0 95px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.cr-step-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.cr-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(171, 23, 231) 0%, #8e0fc1 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(171, 23, 231, 0.3);
}

.cr-step-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.cr-step-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* =====================================================================
   PERKS & BENEFITS
   ===================================================================== */
.cr-perks-section {
    padding: 80px 0;
    background: #ffffff;
}

.cr-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.cr-perk-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ede9fe;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cr-perk-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.cr-perk-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .cr-form-card {
        padding: 24px 18px;
    }

    .cr-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cr-submit-btn {
        width: 100%;
    }
}