/* ==========================================================
   ASIA JOB PLACEMENT - APPLY JOB PAGE STYLES (apply-job.css)
   Pixel-perfect match to reference design with modern UX
   ========================================================== */

.apply-job-body {
    background-color: #f4f7fb;
    min-height: 100vh;
}

.apply-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

/* Breadcrumb Bar */
.apply-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 20px;
}

.apply-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.apply-breadcrumb a:hover {
    color: var(--primary, #1a56db);
}

.apply-breadcrumb .sep {
    color: #94a3b8;
    font-size: 11px;
}

.apply-breadcrumb .current {
    color: var(--primary, #1a56db);
    font-weight: 600;
}

/* 2-Column Main Layout Grid */
.apply-layout-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}

/* ==========================================================
   LEFT COLUMN - JOB SUMMARY SIDEBAR
   ========================================================== */
.apply-job-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 80px;
}

.sidebar-job-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.sidebar-job-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    overflow: hidden;
}

.sidebar-job-meta-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar-job-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.sidebar-job-company {
    font-size: 14.5px;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 6px;
}

.sidebar-job-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sidebar-tag {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.sidebar-tag-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.sidebar-tag-gray {
    background: #f1f5f9;
    color: #475569;
}

.sidebar-tag-salary {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

/* Metadata List */
.sidebar-meta-list {
    list-style: none;
    padding: 0 0 18px;
    margin: 0 0 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-meta-list li {
    font-size: 13.5px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-meta-list li i {
    width: 16px;
    color: #94a3b8;
    text-align: center;
}

/* Sidebar Section Titles & Text */
.sidebar-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.sidebar-desc-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 18px;
}

.sidebar-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-bullets-list li {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    position: relative;
    padding-left: 18px;
}

.sidebar-bullets-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--primary, #1a56db);
    border-radius: 50%;
}

.btn-back-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back-details:hover {
    border-color: var(--primary, #1a56db);
    color: var(--primary, #1a56db);
    background: #f8fafc;
}

/* ==========================================================
   GENERAL CANDIDATE REGISTRATION SIDEBAR (When no job is mentioned)
   ========================================================== */
.general-desk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.desk-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.desk-icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.desk-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ea580c;
    background: #fff7ed;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.desk-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.desk-sub {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0;
}

.desk-notice-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #ea580c;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #475569;
}

.desk-notice-box strong {
    color: #0f172a;
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.desk-notice-box p {
    margin: 0;
}

.desk-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.desk-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.4;
}

.desk-benefits-list li i {
    font-size: 15px;
    margin-top: 2px;
    min-width: 16px;
}

.desk-benefits-list li strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}

.desk-benefits-list li span {
    color: #64748b;
    font-size: 12px;
}

.desk-helpline-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 4px;
}

.desk-helpline-box .helpline-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.desk-helpline-box .helpline-title i {
    color: #ea580c;
}

.desk-helpline-box .helpline-numbers {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.desk-helpline-box .helpline-numbers a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s;
}

.desk-helpline-box .helpline-numbers a:hover {
    color: #ea580c;
}

.desk-helpline-box .helpline-timing {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #1e293b;
}

/* ==========================================================
   RIGHT COLUMN - MULTI-STEP FORM CARD
   ========================================================== */
.apply-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px 36px 40px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.form-header-group {
    margin-bottom: 28px;
}

.apply-main-heading {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.apply-main-subtitle {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================
   STEPPER PROGRESS BAR (4 Steps)
   ========================================================== */
.apply-stepper-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 34px;
    padding: 0 10px;
}

.stepper-progress-line {
    position: absolute;
    top: 17px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.stepper-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary, #1a56db);
    width: 0%;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.step-node.active .step-circle {
    background: var(--primary, #1a56db);
    border-color: var(--primary, #1a56db);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.15);
}

.step-node.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.step-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.step-node.active .step-title {
    color: #0f172a;
    font-weight: 700;
}

.step-node.completed .step-title {
    color: #10b981;
}

/* ==========================================================
   FORM BODY & FLOATING WIDGET LAYOUT
   ========================================================== */
.form-content-area {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    align-items: start;
    position: relative;
}

/* Step Panes */
.form-step-pane {
    display: none;
}

.form-step-pane.active {
    display: block;
    animation: fadeInStep 0.25s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-subheading {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
}

/* Form Grid */
.apply-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.apply-field-col-2 {
    grid-column: span 2;
}

.apply-input-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.apply-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.apply-label .required {
    color: #ef4444;
}

.apply-input,
.apply-select,
.apply-textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

.apply-input:focus,
.apply-select:focus,
.apply-textarea:focus {
    background: #ffffff;
    border-color: var(--primary, #1a56db);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.apply-textarea {
    height: 90px;
    padding: 12px 14px;
    resize: vertical;
}

/* Phone input with country code dropdown */
.phone-input-combo {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.phone-input-combo:focus-within {
    background: #ffffff;
    border-color: var(--primary, #1a56db);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.phone-code-select {
    height: 44px;
    background: transparent;
    border: none;
    border-right: 1px solid #e2e8f0;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    outline: none;
    cursor: pointer;
}

.phone-number-field {
    flex: 1;
    height: 44px;
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}

/* Form Action Buttons Bar */
.form-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 14px;
}

.btn-step-save {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: var(--primary, #1a56db);
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-step-save:hover {
    background: rgba(26, 86, 219, 0.05);
    border-color: var(--primary, #1a56db);
}

.btn-step-next,
.btn-step-submit {
    background: var(--primary, #1a56db);
    color: #ffffff;
    border: none;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
}

.btn-step-next:hover,
.btn-step-submit:hover {
    background: #1e429f;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26, 86, 219, 0.35);
}

.btn-step-prev {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-step-prev:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ==========================================================
   FLOATING CHECKLIST WIDGET & ILLUSTRATION (Right of form)
   ========================================================== */
.apply-side-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* Checklist Card */
.apply-checklist-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
}

.checklist-item.active {
    color: #0f172a;
    font-weight: 600;
}

.checklist-icon-box {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.checklist-icon-edit {
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 6px;
}

.checklist-icon-done {
    background: #d1fae5;
    color: #10b981;
}

.checklist-icon-pending {
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 700;
    font-size: 11px;
}

/* Illustration Container */
.apply-illustration-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 0;
}

.apply-vector-svg {
    max-width: 220px;
    height: auto;
}

/* Resume Upload Drag & Drop Area (Step 2) */
.resume-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 34px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.resume-drop-zone:hover,
.resume-drop-zone.dragover {
    border-color: var(--primary, #1a56db);
    background: #eff6ff;
}

.resume-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--primary, #1a56db);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.resume-prompt-text {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px;
}

.resume-help-text {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.selected-file-display {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.selected-file-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
}

/* ==========================================================
   SUCCESS MODAL
   ========================================================== */
.apply-success-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2100;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.apply-success-modal.active {
    display: flex;
}

.success-dialog-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: popUp 0.3s ease-out forwards;
}

@keyframes popUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #d1fae5;
    color: #10b981;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.success-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.success-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 24px;
}

.btn-success-close {
    background: var(--primary, #1a56db);
    color: #ffffff;
    border: none;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* ==========================================================
   SMART RESUME AUTO-FILL PARSER (100% Free Client-Side)
   ========================================================== */
.smart-autofill-box {
    border: 1.5px solid #c7d2fe;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.smart-autofill-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.smart-autofill-badge {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.smart-free-tag {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.smart-autofill-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.smart-autofill-title i {
    color: #6366f1;
}

.smart-autofill-sub {
    font-size: 13px;
    color: #475569;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.smart-upload-zone {
    border: 2px dashed #a5b4fc;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.smart-upload-zone:hover,
.smart-upload-zone.dragover {
    border-color: #4f46e5;
    background: #eef2ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

.smart-upload-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.smart-upload-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.smart-upload-zone:hover .smart-upload-icon-circle,
.smart-upload-zone.dragover .smart-upload-icon-circle {
    transform: scale(1.08);
    background: #4f46e5;
    color: #ffffff;
}

.smart-upload-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.smart-upload-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.smart-btn-action {
    font-size: 14.5px;
    font-weight: 700;
    color: #4338ca;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.smart-drag-hint {
    font-size: 12.5px;
    color: #64748b;
}

.smart-supported-types {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.type-pill {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.type-size {
    font-size: 11px;
    color: #94a3b8;
}

/* Scanning Indicator */
.smart-parsing-indicator {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    animation: fadeIn 0.3s ease;
}

.smart-parsing-indicator[style*="display:none"],
.smart-parsing-indicator[style*="display: none"] {
    display: none !important;
}

.parsing-spinner {
    font-size: 24px;
    color: #4f46e5;
}

.parsing-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e1b4b;
    display: block;
}

.parsing-sub {
    font-size: 12px;
    color: #4338ca;
    margin: 2px 0 0 0;
}

/* Success Card */
.smart-success-box {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 14px;
    animation: fadeIn 0.3s ease;
}

.smart-success-box[style*="display:none"],
.smart-success-box[style*="display: none"] {
    display: none !important;
}

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

.success-badge-title {
    color: #15803d;
    font-weight: 700;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-reupload-cv {
    background: #ffffff;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-reupload-cv:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.success-extracted-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.extracted-chip {
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    color: #166534;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.extracted-chip .chip-label {
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10.5px;
}

.extracted-chip .chip-val {
    font-weight: 700;
    color: #0f172a;
}

.success-footer-note {
    font-size: 12px;
    color: #166534;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* OR Divider */
.step-divider-or {
    position: relative;
    text-align: center;
    margin: 24px 0 22px;
}

.step-divider-or::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.step-divider-or span {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 3px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Input Auto-Filled State */
.apply-input.is-autofilled,
.apply-select.is-autofilled,
.phone-number-field.is-autofilled,
.apply-textarea.is-autofilled {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
    transition: all 0.3s ease;
}

.autofill-field-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 12px;
    margin-left: 8px;
    animation: fadeInBadge 0.3s ease;
}

@keyframes fadeInBadge {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.resume-sync-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* ==========================================================
   MOBILE RESPONSIVENESS
   ========================================================== */
@media (max-width: 1040px) {
    .apply-layout-grid {
        grid-template-columns: 1fr;
    }

    .apply-job-sidebar {
        position: static;
    }

    .form-content-area {
        grid-template-columns: 1fr;
    }

    .apply-side-widget {
        display: none;
    }
}

@media (max-width: 640px) {
    .apply-container {
        padding: 14px 12px 40px;
    }

    .apply-form-card {
        padding: 24px 18px 28px;
        border-radius: 16px;
    }

    .apply-main-heading {
        font-size: 20px;
    }

    .apply-fields-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .apply-field-col-2 {
        grid-column: span 1;
    }

    .apply-stepper-bar {
        padding: 0;
    }

    .step-title {
        font-size: 11px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .form-actions-row {
        flex-direction: column-reverse;
        width: 100%;
    }

    .btn-step-save,
    .btn-step-next,
    .btn-step-prev,
    .btn-step-submit {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Smart Auto-Fill Mobile Adjustments */
    .smart-autofill-box {
        padding: 16px 14px;
        border-radius: 14px;
        margin-bottom: 20px;
    }

    .smart-autofill-title {
        font-size: 15px;
    }

    .smart-upload-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .smart-upload-action {
        justify-content: center;
    }

    .smart-supported-types {
        justify-content: center;
    }

    .success-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

