/* ================================================= */
/* TUYỂN DỤNG - STYLESHEET CHO TRANG TUYỂN DỤNG NHÂN LAB */
/* ================================================= */

.recruitment-page {
    background-color: var(--bg-light);
}

/* 1. Hero Section */
.recruitment-hero {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: var(--white);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.recruitment-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(128, 195, 66, 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.recruitment-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.recruitment-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(128, 195, 66, 0.2);
    border: 1px solid rgba(128, 195, 66, 0.4);
    color: var(--green-light);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.recruitment-hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.recruitment-hero-content h1 span {
    color: var(--green-primary);
}

.recruitment-hero-desc {
    font-size: 17px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 32px;
}

.recruitment-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.recruitment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.recruitment-btn--primary {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(94, 155, 47, 0.3);
}

.recruitment-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(94, 155, 47, 0.45);
}

.recruitment-btn--outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.recruitment-btn--outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.recruitment-hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.recruitment-hero-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--green-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.recruitment-quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quick-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-stat-item strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
}

.quick-stat-item span {
    font-size: 13px;
    color: #9ca3af;
}

/* 2. Culture & Benefits */
.recruitment-culture {
    padding: 80px 0;
    background: var(--white);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.culture-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--green-primary);
}

.culture-icon {
    width: 56px;
    height: 56px;
    background: rgba(128, 195, 66, 0.15);
    color: var(--green-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.culture-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.55;
}

/* ================================================= */
/* 3. PHIẾU DỰ TUYỂN NHÂN SỰ (FORM 3 BƯỚC CHI TIẾT) */
/* ================================================= */
.form-container-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(17, 24, 39, 0.08);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-top: 40px;
}

/* Form Header Banner */
.form-header {
    background: linear-gradient(135deg, #164e32 0%, #064e3b 100%);
    color: var(--white);
    padding: 32px 40px;
    position: relative;
}

.form-header-meta {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #a7f3d0;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-family: monospace;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    color: var(--white);
}

.form-header-company {
    font-size: 14px;
    font-weight: 700;
    color: #6ee7b7;
    margin-bottom: 16px;
}

.form-header-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: #d1fae5;
}

.form-header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-header-note {
    font-size: 12px;
    font-style: italic;
    color: #a7f3d0;
    margin-top: 14px;
}

/* 3-Step Progress Bar */
.form-step-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.step-tab {
    padding: 18px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.step-tab.step-active {
    color: var(--green-dark);
    border-bottom-color: var(--green-primary);
    background: var(--white);
    font-weight: 700;
}

/* Form Inner Body */
.form-body {
    padding: 40px;
}

/* Form Section Title */
.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    margin-top: 12px;
}

.form-section-header:first-child {
    margin-top: 0;
}

.section-num-badge {
    width: 26px;
    height: 26px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

/* Position Highlight Box */
.position-select-box {
    background: rgba(128, 195, 66, 0.08);
    border: 2px solid var(--green-primary);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 32px;
}

.position-select-box label {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.position-select-box label span {
    color: #ef4444;
}

.position-select-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--green-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--white);
    outline: none;
    box-shadow: 0 4px 12px rgba(128, 195, 66, 0.12);
}

/* Form Layout Grids */
.form-grid-1 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.form-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-field label span {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(128, 195, 66, 0.15);
}

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

/* Address Card Component */
.address-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.address-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.address-box-header label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}

.address-toggle-btn {
    font-size: 12px;
    color: var(--green-dark);
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* Family & Experience Rows */
.row-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

/* Technical Self-Evaluation Table */
.table-scroll-hint {
    display: none;
}

.skills-table-wrap {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.skills-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.skills-table th {
    background: #f3f4f6;
    color: var(--text-dark);
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid var(--border);
}

.skills-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.skills-table tr:nth-child(even) td {
    background: #fafafa;
}

.skills-table input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--green-primary);
}

/* Rule Banner */
.rule-banner {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 20px;
}

.rule-banner p {
    margin-bottom: 4px;
}

.rule-banner p:last-child {
    margin-bottom: 0;
}

/* Productivity Commitment Section */
.commit-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.commit-box h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 14px;
}

/* Expectations Grid */
.expectations-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.expectations-box h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.expectation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.expectation-input {
    width: 50px;
    padding: 6px;
    text-align: center;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* Checkbox Grid for Sources */
.source-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    font-size: 13px;
}

.source-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.source-item input {
    accent-color: var(--green-primary);
    width: 16px;
    height: 16px;
}

/* Commitment Box */
.declaration-box {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.declaration-box h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.declaration-box p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Form Action Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-prev {
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-prev:hover {
    background: #f3f4f6;
}

.btn-next {
    padding: 12px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(94, 155, 47, 0.25);
}

.btn-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(94, 155, 47, 0.35);
}

.btn-submit-final {
    padding: 14px 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(94, 155, 47, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.btn-submit-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(94, 155, 47, 0.45);
}

.hidden {
    display: none !important;
}

/* CCCD Upload Boxes */
.cccd-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 14px;
}

.cccd-upload-box {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.cccd-upload-box:hover {
    border-color: var(--green-primary);
    background: rgba(128, 195, 66, 0.05);
}

.cccd-upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.cccd-upload-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cccd-upload-sub {
    font-size: 12px;
    color: var(--text-gray);
}

.cccd-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.cccd-preview-wrap {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: none;
    margin-top: 10px;
}

.cccd-preview-wrap.active {
    display: block;
}

.cccd-preview-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.cccd-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 38, 38, 0.9);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Rules */
@media screen and (max-width: 991px) {
    .recruitment-hero {
        padding: 50px 0 40px;
    }

    .recruitment-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .recruitment-hero-content {
        text-align: center;
    }

    .recruitment-hero-content h1 {
        font-size: 34px;
    }

    .recruitment-hero-actions {
        justify-content: center;
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .recruitment-apply-section {
        padding: 40px 0 60px !important;
    }

    .form-header-contact {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-grid-4, .form-grid-3, .form-grid-2, .cccd-upload-grid {
        grid-template-columns: 1fr;
    }

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

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

@media screen and (max-width: 640px) {
    .recruitment-hero {
        padding: 40px 0 32px;
    }

    .recruitment-hero::before {
        width: 260px;
        height: 260px;
        right: -10%;
        top: -10%;
    }

    .recruitment-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .recruitment-hero-content {
        text-align: left;
    }

    .recruitment-hero-badge {
        font-size: 11.5px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .recruitment-hero-content h1 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .recruitment-hero-desc {
        font-size: 14.5px;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .recruitment-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .recruitment-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 13px 20px;
        font-size: 14px;
    }

    .recruitment-hero-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .recruitment-hero-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .recruitment-quick-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quick-stat-item {
        padding: 12px 10px;
    }

    .quick-stat-item strong {
        font-size: 22px;
    }

    .quick-stat-item span {
        font-size: 11.5px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .culture-card {
        padding: 22px 18px;
    }

    .form-container-card {
        border-radius: 18px;
    }

    .form-header {
        padding: 22px 16px;
    }

    .form-header-meta {
        font-size: 11.5px;
    }

    .form-header h2 {
        font-size: 21px;
    }

    .form-header-company {
        font-size: 13.5px;
    }

    .form-header-contact-item {
        font-size: 12px;
    }

    .form-body {
        padding: 20px 14px;
    }

    .form-step-nav {
        grid-template-columns: 1fr;
    }

    .step-tab {
        padding: 12px;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }

    .step-tab.step-active {
        border-left: 4px solid var(--green-primary);
        border-bottom: 1px solid var(--border);
    }

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

    .source-grid {
        grid-template-columns: 1fr;
    }

    .expectations-box .grid {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================= */
/* UX/UI 2026 - MODAL THÀNH CÔNG & HỆ THỐNG THÔNG BÁO HIỆN ĐẠI */
/* ================================================= */

/* 1. Backdrop Glassmorphism */
.nl-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 26, 0.72);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.nl-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* 2. Confetti Canvas */
.nl-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000000;
}

/* 3. Modal Container (2026 Card Aesthetic) */
.nl-modal-container {
    background: linear-gradient(180deg, #ffffff 0%, #fafdf8 60%, #f4f9f0 100%);
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 28px;
    border: 1px solid rgba(128, 195, 66, 0.35);
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 15px 40px rgba(128, 195, 66, 0.15);
    position: relative;
    z-index: 1000001;
    padding: 34px 30px 28px;
    text-align: center;
    transform: scale(0.85) translateY(24px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.nl-modal-backdrop.active .nl-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Ambient Top Light Beam */
.nl-modal-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 140px;
    background: radial-gradient(ellipse at top, rgba(128, 195, 66, 0.28) 0%, rgba(128, 195, 66, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Nút đóng nhanh */
.nl-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.nl-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg);
}

/* 4. Animated Hero Checkmark */
.nl-success-icon-wrap {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.nl-icon-ripple {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128, 195, 66, 0.3) 0%, rgba(128, 195, 66, 0) 70%);
    animation: nlPulseRipple 2.2s infinite ease-in-out;
}

@keyframes nlPulseRipple {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.28); opacity: 0.25; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.nl-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(128, 195, 66, 0.15) 0%, rgba(94, 155, 47, 0.22) 100%);
    border: 2px solid rgba(128, 195, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(128, 195, 66, 0.25);
}

.nl-svg-checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 3.5;
    stroke: #5E9B2F;
    stroke-miterlimit: 10;
}

.nl-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3.5;
    stroke: #80C342;
    fill: none;
    animation: nlStrokeCircle 0.65s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.nl-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #5E9B2F;
    animation: nlStrokeCheck 0.45s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes nlStrokeCircle {
    100% { stroke-dashoffset: 0; }
}

@keyframes nlStrokeCheck {
    100% { stroke-dashoffset: 0; }
}

/* Sparkles decorations */
.nl-sparkle {
    position: absolute;
    pointer-events: none;
    font-size: 15px;
    animation: nlSparkleFloat 2s ease-in-out infinite;
}
.nl-sparkle-1 { top: -2px; left: 6px; color: #F59E0B; animation-delay: 0.2s; }
.nl-sparkle-2 { top: 8px; right: 4px; color: #80C342; animation-delay: 0.6s; }
.nl-sparkle-3 { bottom: 2px; left: 10px; color: #10B981; animation-delay: 1.1s; }

@keyframes nlSparkleFloat {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-6px) scale(1.25) rotate(18deg); opacity: 1; }
}

/* 5. Status Pill */
.nl-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(128, 195, 66, 0.15);
    border: 1px solid rgba(128, 195, 66, 0.35);
    color: #44741e;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.nl-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #80C342;
    box-shadow: 0 0 0 0 rgba(128, 195, 66, 0.7);
    animation: nlBeaconPulse 1.8s infinite;
}

@keyframes nlBeaconPulse {
    0% { box-shadow: 0 0 0 0 rgba(128, 195, 66, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(128, 195, 66, 0); }
    100% { box-shadow: 0 0 0 0 rgba(128, 195, 66, 0); }
}

/* 6. Typography */
.nl-modal-title {
    font-size: 26px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.nl-modal-desc {
    font-size: 14.5px;
    color: #4B5563;
    line-height: 1.55;
    margin-bottom: 20px;
    padding: 0 8px;
}

.nl-highlight-name {
    color: #2F6F12;
    font-weight: 700;
}

/* 7. Digital Receipt Card 2026 */
.nl-receipt-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7faf4 100%);
    border: 1px solid rgba(128, 195, 66, 0.3);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 18px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.nl-receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(128, 195, 66, 0.35);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.nl-receipt-brand {
    display: flex;
    flex-direction: column;
}

.nl-receipt-logo-text {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: #5E9B2F;
}

.nl-receipt-sub {
    font-size: 10.5px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nl-receipt-code {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    background: rgba(128, 195, 66, 0.15);
    color: #3b6c19;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(128, 195, 66, 0.3);
}

.nl-receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.nl-receipt-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nl-receipt-item.full-width {
    grid-column: span 2;
}

.nl-receipt-label {
    font-size: 11.5px;
    color: #6B7280;
    font-weight: 600;
}

.nl-receipt-val {
    font-size: 13.5px;
    color: #111827;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.nl-receipt-storage-status {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(128, 195, 66, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 11.5px;
    color: #2e5a14;
    font-weight: 700;
    background: rgba(128, 195, 66, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
}

.nl-storage-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nl-storage-divider {
    width: 1px;
    height: 14px;
    background: rgba(128, 195, 66, 0.4);
}

/* 8. Recruitment Roadmap Tracker */
.nl-next-steps {
    margin-bottom: 18px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 14px 16px;
    text-align: left;
}

.nl-steps-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.nl-steps-track {
    display: grid;
    grid-template-columns: 1fr auto 1.1fr auto 1fr;
    align-items: center;
    gap: 6px;
}

.nl-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.nl-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.nl-step-done .nl-step-icon {
    background: #80C342;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(128, 195, 66, 0.4);
}

.nl-step-current .nl-step-icon {
    background: #F59E0B;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.nl-step-future .nl-step-icon {
    background: #F3F4F6;
    color: #9CA3AF;
    border: 1px solid #E5E7EB;
}

.nl-step-info strong {
    display: block;
    font-size: 11px;
    color: #111827;
    line-height: 1.2;
}

.nl-step-info span {
    font-size: 9.5px;
    color: #6B7280;
}

.nl-step-connector {
    height: 2px;
    flex: 1;
    background: #E5E7EB;
    min-width: 14px;
    margin-bottom: 16px;
}

.nl-connector-done {
    background: linear-gradient(90deg, #80C342, #F59E0B);
}

/* 9. Support Hotline Bar */
.nl-support-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #4B5563;
    background: rgba(0, 0, 0, 0.03);
    padding: 9px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.nl-support-note a {
    color: #5E9B2F;
    text-decoration: underline;
    font-weight: 700;
}

/* 10. Action Buttons */
.nl-modal-actions {
    display: flex;
    gap: 12px;
}

.nl-btn-primary {
    flex: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #80C342 0%, #5E9B2F 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(94, 155, 47, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(94, 155, 47, 0.45);
    color: #ffffff;
}

.nl-btn-secondary {
    flex: 1;
    padding: 13px 18px;
    background: #F3F4F6;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nl-btn-secondary:hover {
    background: #E5E7EB;
    color: #111827;
}

/* 11. Spinner for Submit Button */
.nl-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: nlSpin 0.75s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes nlSpin {
    to { transform: rotate(360deg); }
}

/* 12. Toast Notification System */
.nl-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000002;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.nl-toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 5px solid #80C342;
    animation: nlToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s ease;
}

.nl-toast.warning {
    border-left-color: #F59E0B;
}

.nl-toast.error {
    border-left-color: #EF4444;
}

.nl-toast.hiding {
    opacity: 0;
    transform: translateX(40px);
}

.nl-toast-icon {
    font-size: 20px;
    line-height: 1;
}

.nl-toast-content {
    flex: 1;
}

.nl-toast-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.nl-toast-msg {
    font-size: 12.5px;
    color: #4B5563;
    line-height: 1.4;
}

@keyframes nlToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 13. Confirmation Dialog System (Thay thế confirm() trình duyệt) */
.nl-confirm-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 26, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000003;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nl-confirm-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.nl-confirm-box {
    background: #ffffff;
    max-width: 440px;
    width: 100%;
    border-radius: 20px;
    padding: 26px 24px 22px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nl-confirm-backdrop.active .nl-confirm-box {
    transform: scale(1);
}

.nl-confirm-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.nl-confirm-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.nl-confirm-message {
    font-size: 13.5px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 20px;
}

.nl-confirm-actions {
    display: flex;
    gap: 10px;
}

.nl-confirm-btn-cancel {
    flex: 1;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    background: #F3F4F6;
    color: #374151;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
}

.nl-confirm-btn-ok {
    flex: 1.2;
    padding: 11px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #80C342 0%, #5E9B2F 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(94, 155, 47, 0.3);
}

/* Responsive Modal Rules */
@media screen and (max-width: 640px) {
    .nl-modal-container {
        padding: 26px 18px 22px;
        border-radius: 22px;
    }
    .nl-modal-title {
        font-size: 22px;
    }
    .nl-receipt-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .nl-receipt-card {
        padding: 14px;
    }
    .nl-modal-actions {
        flex-direction: column-reverse;
    }
    .nl-toast-container {
        left: 16px;
        right: 16px;
        top: 16px;
    }
    .nl-toast {
        min-width: 0;
        width: 100%;
    }
}
