:root{
    --primary:#006494;
    --success:#22C55E;
    --warning:#F59E0B;
    --error:#EF4444;
    --background:#F8FBFC;
    --surface:#FFFFFF;
    --border:#DCE5EC;
    --textPrimary:#13293D;
    --textSecondary:#64748B;

    --radius-sm:10px;
    --radius-md:10px;
    --radius-lg:22px;
    --radius-xl:30px;
}
.custom-table thead th {
    white-space: nowrap;
}
/* Remove DataTables sort arrows */
table.dataTable thead .sorting::before,
table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::before,
table.dataTable thead .sorting_desc::after {
    display: none !important;
    content: "" !important;
}
.treeview-menu {
    display: none;
    list-style: none;
    padding-left: 18px;
}

.treeview.active > .treeview-menu {
    display: block;
}

.tree-arrow {
    float: right;
    transition: .3s;
    margin-top: 4px;
}

    .tree-arrow.rotate {
        transform: rotate(-90deg);
    }

.treeview-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--sidebar-text);
    text-decoration: none;
}

    .treeview-menu li a:hover {
        color: var(--content-bg);
    }

.treeview-menu li {
    margin: 2px 0;
}

.treeview.active > a {
    background: var(--sidebar-active-bg);
    color: var(--content-bg);
}

/*=========================================
TABLE VIEW TOGGLE
=========================================*/

.table-view-toggle {
    display: flex;
    align-items: center;
    background: var(--table-header-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
}

.view-btn {
    width: 46px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
    cursor: pointer;
}

    .view-btn i {
        font-size: 18px;
    }

    .view-btn:hover {
        background: var(--table-header-bg);
        color: var(--primary);
    }

    .view-btn.active {
        background: var(--primary);
        color: var(--content-bg);
    }

    .view-btn:first-child {
        border-right: 1px solid var(--border-color);
    }

/*=========================================
DELETE MODAL
=========================================*/

.delete-modal {
    border: none;
    border-radius: 24px;
    overflow: hidden;
}

.delete-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: var(--danger-soft-bg);
    color: var(--danger-color);
    display: flex;
    align-items: center;
    justify-content: center;
}



.delete-modal h4 {
    color: var(--text-primary);
}

.delete-modal p {
    font-size: 15px;
}

.delete-modal .table-btn {
    min-width: 140px;
}
/*=========================================
NEW HTML5 INPUTS
=========================================*/

/* Search Input */
input[type="search"] {
    height: 42px;
    border-radius: 14px;
    padding: 16px 18px;
}

    input[type="search"]::-webkit-search-cancel-button {
        cursor: pointer;
    }


/* Date / Time / Month / Week */

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"] {
    border-radius: 10px;
}


/* Color Picker */

input[type="color"] {
    width: 72px;
    height: 54px;
    padding: 4px;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid var(--input-border);
    background: var(--content-bg);
}

    input[type="color"]::-webkit-color-swatch {
        border: none;
        border-radius: 10px;
    }

    input[type="color"]::-webkit-color-swatch-wrapper {
        padding: 0;
    }

/*==================================================
    MODERN DEPARTMENT CARD
==================================================*/

.aggregator-card {
    --brand-color: var(--primary-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 240px;
    border-radius: 18px;
    padding: 20px;
    overflow: hidden;
    transition: all .30s ease;
    box-shadow: 0 8px 25px var(--card-shadow);
}

    .aggregator-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: var(--brand-color);
    }

    .aggregator-card:hover {
        transform: translateY(-5px);
        border-color: var(--brand-color);
        box-shadow: 0 16px 40px var(--card-shadow-hover);
    }

/*==================================================
    HEADER
==================================================*/

.department-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.department-info {
    flex: 1;
    min-width: 0;
}

.aggregator-company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 3px;
}

.aggregator-company-meta {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/*==================================================
    LOGO
==================================================*/

.aggregator-company-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--content-bg);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 18px var(--shadow-sm);
}

    .aggregator-company-logo img,
    .department-logo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



/* ===========================
      DELETE MODAL
    =========================== */

#deleteDepartmentModal {
    z-index: 99999 !important;
}

    #deleteDepartmentModal .modal-dialog {
        max-width: 520px;
        z-index: 100000;
        pointer-events: auto !important;
    }

    #deleteDepartmentModal .modal-content {
        border: none;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
        pointer-events: auto !important;
        position: relative;
    }

    #deleteDepartmentModal .modal-body {
        padding: 3rem;
        position: relative;
        z-index: 2;
    }

.modal-backdrop {
    z-index: 99998 !important;
}

/* ===========================
                                   DELETE ICON
                                =========================== */

.delete-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--danger-soft-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .delete-icon i {
        font-size: 48px;
        color: var(--danger-color);
    }

/* ===========================
                                   TEXT
                                =========================== */

#deleteDepartmentModal h4 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

#deleteDepartmentModal p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

#deleteDepartmentName {
    color: var(--text-primary);
    font-weight: 700;
}

/* ===========================
                                   BUTTONS
                                =========================== */

#deleteDepartmentModal .table-btn {
    min-width: 150px;
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 100001;
}

#confirmDeleteBtn {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* ===========================
                                   FIX FOR TABLE OVERLAY
                                =========================== */

.table-card {
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.custom-scroll-table {
    overflow-x: auto !important;
}

.modal,
.modal-dialog,
.modal-content,
.modal-body {
    pointer-events: auto !important;
}

.department-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.table-department-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.table-department-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--content-bg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}
/*==================================================
    STATUS
==================================================*/

.badge.green,
.badge.red {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 30px;
}

.badge.green {

    border: 1px solid var(--success-light-border);
}

.badge.red {

    border: 1px solid var(--danger-light-border);
}

/*==================================================
    CARD DETAILS
==================================================*/

.department-details {
    margin-top: 18px;
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    transition: all .25s ease;
    overflow: hidden;
}

    .detail-item:hover {
        background: var(--content-bg);
        border-color: var(--brand-color);
        transform: translateY(-2px);
    }

    .detail-item i {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--icon-soft-bg);
        color: var(--brand-color);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 15px;
    }

    .detail-item div {
        min-width: 0;
        flex: 1;
    }

    .detail-item small {
        display: block;
        font-size: 11px;
        color: var(--text-muted);
        margin-bottom: 2px;
        font-weight: 500;
    }

    .detail-item span {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-primary);
        overflow: hidden;
        text-overflow: ellipsis;
        var(--content-bg)-space: nowrap;
    }


/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width:768px) {

    .aggregator-card {
        padding: 18px;
        min-height: auto;
    }

    .aggregator-company-logo {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .aggregator-company-name {
        font-size: 16px;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }

    .detail-item {
        padding: 10px;
    }

        .detail-item span {
            font-size: 12px;
        }
}

.foodcourt-info-list {
    flex: 1;
    margin: 12px 0 0px;
}

    .foodcourt-info-list div {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-light);
        color: var(--text-primary);
        font-size: 14px;
    }

        .foodcourt-info-list div:last-child {
            border-bottom: none;
        }

    .foodcourt-info-list i {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: var(--icon-soft-bg-light);
        color: var(--brand-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .foodcourt-info-list span,
    .foodcourt-info-list div > *:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        var(--content-bg)-space: nowrap;
    }

/*==================================================
    ACTION BUTTONS
==================================================*/

.action-group,
.aggregator-card .d-flex.justify-content-end {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/*.action_icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .25s ease;
}

    .action_icon:hover {
        background: var(--brand-color);
        border-color: var(--brand-color);
        color: var(--content-bg);
        transform: translateY(-2px);
    }*/

  /*  .action_icon.text-danger:hover {
        background: var(--danger-color);
        border-color: var(--danger-color);
        color: var(--content-bg);
    }*/

/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width: 768px) {

    .aggregator-card {
        min-height: auto;
        padding: 16px;
    }

    .aggregator-company-logo {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .aggregator-company-name {
        font-size: 16px;
    }

    .foodcourt-info-list div {
        font-size: 13px;
    }

    .badge.green,
    .badge.red {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/*==============================
    3 DOT MENU
===============================*/

.card-menu-btn {
    width: 34px;
    height: 34px;
    border: none;
    outline: none;
    background: var(--table-header-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: .25s;
    cursor: pointer;
}

    .card-menu-btn:hover {
        background: var(--brand-color);
        color: var(--content-bg);
    }

    .card-menu-btn i {
        font-size: 18px;
    }

/*==============================
    DROPDOWN
===============================*/

.card-action-menu {
    min-width: 170px;
    border: none;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 15px 35px var(--shadow-md);
    animation: fadeIn .18s ease;
}

    .card-action-menu .dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 500;
        transition: .2s;
    }

        .card-action-menu .dropdown-item i {
            font-size: 15px;
            width: 18px;
        }

        .card-action-menu .dropdown-item:hover {
            background: var(--table-header-bg);
            color: var(--brand-color);
        }

        .card-action-menu .dropdown-item.text-danger:hover {
            background: var(--danger-soft-bg);
            color: var(--danger-color);
        }

/* Range Slider */

.form-range {
    height: 8px;
    cursor: pointer;
}

    .form-range::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
        background: var(--primary);
        border: none;
        transition: .25s;
    }

        .form-range::-webkit-slider-thumb:hover {
            transform: scale(1.15);
        }

    .form-range::-moz-range-thumb {
        width: 18px;
        height: 18px;
        background: var(--primary);
        border: none;
    }

#rangeValue {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}


/* Readonly */

input[readonly],
textarea[readonly] {
    background: var(--table-header-bg);
    cursor: not-allowed;
}


/* Disabled */

input:disabled,
textarea:disabled,
select:disabled {
    background: var(--border-light);
    opacity: .7;
}


/* Reset Button */

input[type="reset"] {
    min-width: 120px;
}


/* File Upload */

.generic-file {
    height: 54px;
    border-radius: 14px;
}


/* Multiple Select */

select[multiple] {
    min-height: 140px;
    padding: 10px;
}

    select[multiple] option {
        padding: 8px;
    }


/* Radio & Checkbox */

.form-check-input {
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }

.form-check-label {
    cursor: pointer;
}


/* Search Input Group */

.search-group {
    position: relative;
}

    .search-group i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
    }

    .search-group input {
        padding-left: 42px;
    }


/* OTP */

.otp-input {
    width: 54px;
    height: 54px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}


/* Rating */

.rating-stars i {
    font-size: 22px;
    color: var(--border-color);
    cursor: pointer;
    transition: .25s;
}

    .rating-stars i:hover,
    .rating-stars i.active {
        color: var(--warning-color);
    }


/* Character Counter */

.character-counter {
    text-align: right;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}


/* Progress */

.progress {
    height: 8px;
    border-radius: 20px;
    overflow: hidden;
}


/* Rich Text */

.tox-tinymce,
.ck-editor__editable {
    border-radius: 14px !important;
}


/* Drag Upload */

.upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: .3s;
    text-align: center;
}

    .upload-dropzone:hover {
        border-color: var(--primary);
        background: var(--table-row-hover);
    }


/* Hidden Input */

input[type="hidden"] {
    display: none;
}


/* Mobile */

@media(max-width:768px) {

    input[type="color"] {
        width: 100%;
    }

    .otp-input {
        width: 44px;
        height: 44px;
    }
}

.generic-card {
    margin-bottom: 32px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--card-shadow);
}

.generic-card-header {
    padding: 22px 28px;
    border-radius: 10px;
    background: var(--table-header-bg);
    border-bottom: 1px solid var(--border-color);
}

.generic-card-body {
    padding: 25px;
}

.generic-row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 12px;
}

.generic-form-group {
    position: relative;
}

    .generic-form-group label {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-primary);
    }

.generic-input,
.generic-select,
.generic-textarea {
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--input-border);
    padding: 10px 18px;
    transition: .25s ease;
}

.generic-textarea {
    min-height: 120px;
}

    .generic-input:focus,
    .generic-select:focus,
    .generic-textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px var(--primary-shadow);
    }

.section-icon {
    border: 1px solid var(--primary); width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--table-header-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

#imagePreview {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border: 4px solid var(--content-bg);
    box-shadow: 0 10px 25px var(--shadow-sm);
}

.input-group-text {
    border-radius: 14px 0 0 14px;
    background: var(--table-header-bg);
    font-weight: 600;
}

.input-group .generic-input {
    border-radius: 0 14px 14px 0;
}

.generic-switch {
    display: flex;
    gap: 12px;
    align-items: center;
    height: 54px;
}

    .generic-switch label {
        margin: 0;
        font-weight: 600;
    }

.text-danger {
    color: var(--danger-color) !important;
}

.generic-form-group label span {
    margin-left: 4px;
}

.form-action-bar {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: var(--content-bg);
    border-top: 1px solid var(--border-color);
    padding: 18px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.generic-card {
    transition: .25s ease;
}

    .generic-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(0,0,0,.06);
    }

.profile-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}
/* Color Picker */
.form-control-color {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    background: var(--content-bg);
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
}

    /* Remove default padding */
    .form-control-color::-webkit-color-swatch-wrapper {
        padding: 6px;
    }

    /* Inner color */
    .form-control-color::-webkit-color-swatch {
        border: none;
        border-radius: 10px;
    }

    /* Firefox */
    .form-control-color::-moz-color-swatch {
        border: none;
        border-radius: 10px;
    }

.profile-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: var(--content-bg);
    border: 1px solid var(--input-border);
    padding: 4px;
    box-shadow: 0 10px 25px var(--shadow-sm);
}
.bi-camera-fill {
    color: var(--content-bg);
}

.upload-icon {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--content-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid var(--content-bg);
    transition: .3s;
    text-decoration: none;
}

    .upload-icon:hover {
        transform: scale(1.08);
    }

    .upload-icon i {
        font-size: 16px;
    }

.profile-upload h6 {
    font-weight: 600;
    color: var(--text-primary);
}

.password-group .generic-input {
    height: 52px;
    border-radius: 12px 0 0 12px;
    border-right: 0;
    box-shadow: none;
}

.password-toggle {
    width: 54px;
    position: absolute !important;
    border-left: 0;
    border-radius: 0 10px 10px 0;
    color: var(--text-secondary);
    display: flex;
    height: 54px;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

/*    .password-toggle:hover {
        background: #EFF6FF;
        color: var(--primary);
    }*/

.password-group:focus-within .generic-input,
.password-group:focus-within .password-toggle {
    border-color: var(--primary);
}

.password-toggle i {
    font-size: 18px;
}

.offcanvas {
    box-shadow: -8px 0 30px var(--shadow-md);
}

.offcanvas-backdrop {
    display: none !important;
}
/* Experience Input Only */
.experience-group .form-control {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    height: 52px;
}

.experience-group .experience-addon {
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--table-header-bg);
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.experience-group:focus-within .form-control,
.experience-group:focus-within .experience-addon {
    border-color: var(--primary-color);
}
.quick-action {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 16px;
    text-decoration: none;
    transition: all .3s ease;
    height: 100%;
    box-shadow: 0 8px 20px var(--card-shadow);
}

    .quick-action:hover {
        transform: translateY(-4px);
        border-color: var(--warning-color);
        box-shadow: 0 16px 35px var(--card-shadow-hover);
    }

.quick-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warning-soft-bg);
    color: var(--warning-color);
    font-size: 22px;
    flex-shrink: 0;
}

.quick-action-content h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-action-content p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.card-mini {
    border: 1px solid;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all .3s ease;
    box-shadow: 0 8px 24px var(--card-shadow);
}

    .card-mini:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px var(--card-shadow-hover);
        border-color: var(--warning-light-border);
    }

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary)000;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

    .stat-number.fs-3 {
        font-size: 32px;
    }

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--warning-soft-bg);
    color: var(--warning-color);
    font-size: 18px;
    flex-shrink: 0;
}

.icon-warning-soft {
    background: var(--warning-soft-bg);
    color: var(--warning-color);
}

#liveTime {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

#liveDay {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

#liveDate {
    font-size: 14px;
    color: var(--text-secondary);
}
@media(max-width:768px) {

    .page-header-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

        .page-header-actions .btn {
            width: 100%;
        }
}

@media(max-width:767px) {

    .table-view-toggle {
        width: 100%;
    }

    .view-btn {
        flex: 1;
    }
}
/* =========================================
RESPONSIVE
========================================= */

@media(max-width:991px) {
    .aggregator-modal .modal-dialog {
        max-width: 95%;
    }

    .aggregator-modal-header {
        padding: 20px;
    }

    .aggregator-modal-body {
        padding: 20px;
    }

    .aggregator-modal-footer {
        padding: 20px;
        flex-wrap: wrap;
    }

    .aggregator-modal-title {
        font-size: 24px;
    }
}

@media(max-width:767px) {
    .fd-card {
        padding: 20px;
        border-radius: 22px;
    }

        .fd-card .card-title {
            font-size: 22px;
        }

        .fd-card .fd-chip {
            padding: 18px !important;
        }

            .fd-card .fd-chip h6 {
                font-size: 16px;
            }

            .fd-card .fd-chip p {
                font-size: 13px;
            }

    .foodcourt-stats {
        grid-template-columns: 1fr;
    }

    .aggregator-company-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .aggregator-company-left {
        align-items: flex-start;
    }

    .aggregator-modal-header {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .aggregator-modal-body {
        padding: 20px;
    }

    .aggregator-card {
        padding: 18px;
    }

    .aggregator-modal-footer {
        padding: 20px;
        flex-direction: column;
    }

        .aggregator-modal-footer .btn {
            width: 100%;
        }

    .aggregator-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .aggregator-section-title {
        font-size: 16px;
    }

    .aggregator-input {
        height: 48px;
    }

    .aggregator-btn {
        width: 100%;
    }
}


/*==================================================
   Employee Overview
        ==================================================*/
.employee-overview {
    background: var(--layout-bg);
    padding: 20px;
}

/*==================================================
        Header
        ==================================================*/

.overview-header {
    background: var(--content-bg);
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px var(--shadow-sm);
}

.overview-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/*==================================================
        Main Layout
        ==================================================*/

.overview-wrapper {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 20px;
    height: calc(100vh - 170px);
}

/*==================================================
        Left Panel
        ==================================================*/

.left-panel {
    overflow-y: auto;
    padding-right: 6px;
}

    .left-panel::-webkit-scrollbar {
        width: 6px;
    }

    .left-panel::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 20px;
    }

/*==================================================
        Right Panel
        ==================================================*/

.right-panel {
    overflow: hidden;
}

/*==================================================
        Cards
        ==================================================*/

.overview-card {
    background: var(--content-bg);
    border-radius: 14px;
    box-shadow: 0 2px 10px var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 18px;
}

.overview-card-header {
    background: var(--table-header-bg);
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.overview-card-body {
    padding: 18px;
}

/*==================================================
        Profile Card
        ==================================================*/

.profile-card {
    text-align: center;
}

.employee-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--content-bg);
    box-shadow: 0 6px 18px var(--shadow-lg);
}

.employee-photo-placeholder {
    width: 130px;
    height: 130px;
    margin: auto;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--content-bg);
    font-size: 42px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-info {
    margin-top: 20px;
    text-align: left;
}

    .profile-info div {
        padding: 7px 0;
        color: var(--text-secondary);
        font-size: 14px;
    }
/*==================================================
        Information Rows
        ==================================================*/

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

    .info-row:last-child {
        border-bottom: none;
    }

    .info-row label {
        width: 42%;
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-secondary);
    }

    .info-row span,
    .info-row a {
        width: 58%;
        text-align: right;
        font-size: 14px;
        color: var(--text-primary);
        word-break: break-word;
    }

    .info-row a {
        color: var(--primary-color);
        text-decoration: none;
    }

        .info-row a:hover {
            text-decoration: underline;
        }

/*==================================================
        Favorite Color
        ==================================================*/

.color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: inline-block;
}

/*==================================================
        Rating Stars
        ==================================================*/

.bi-star-fill {
    color: var(--warning-color);
}

.bi-star {
    color: var(--border-color);
}

/*==================================================
        Resume Card
        ==================================================*/

.resume-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.resume-body {
    flex: 1;
    background: var(--table-header-bg);
    overflow: hidden;
}

.resume-frame {
    width: 100%;
    height: calc(100vh - 250px);
    border: none;
    background: var(--content-bg);
}

.resume-empty {
    height: calc(100vh - 250px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/*==================================================
        Skills & Biography
        ==================================================*/

.overview-card-body p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
}

/*==================================================
        Documents
        ==================================================*/

.overview-card img {
    transition: .3s;
}

    .overview-card img:hover {
        transform: scale(1.03);
    }

.overview-card h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

/*==================================================
        Buttons
        ==================================================*/

.btn-primary {
    border-radius: 8px;
}

.btn-warning {
    border-radius: 8px;
}

.btn-outline-primary {
    border-radius: 8px;
}

/*==================================================
        Badges
        ==================================================*/

.badge {
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 30px;
}

/*==================================================
        Icons
        ==================================================*/

/* Modal should stay above everything */
#deleteEmployeeModal {
    z-index: 1055;
}

/* Backdrop should be behind the modal but above the page */
.modal-backdrop {
    z-index: 1050 !important;
}

/* Push the page behind the backdrop */
.content-wrapper {
    position: relative;
    z-index: auto !important;
}

.profile-info i {
    width: 18px;
    color: var(--primary-color);
}


/*==================================================
Responsive Design
==================================================*/

@media (max-width:1400px) {

    .overview-wrapper {
        grid-template-columns: 380px 1fr;
    }
}

@media (max-width:1200px) {

    .overview-wrapper {
        grid-template-columns: 350px 1fr;
    }

    .employee-photo,
    .employee-photo-placeholder {
        width: 110px;
        height: 110px;
    }
}

@media (max-width:991px) {

    .overview-wrapper {
        display: block;
        height: auto;
    }

    .left-panel {
        height: auto;
        overflow: visible;
        margin-bottom: 20px;
    }

    .right-panel {
        height: 700px;
    }

    .resume-frame {
        height: 650px;
    }
}

@media (max-width:768px) {

    .overview-header {
        padding: 15px;
    }

    .overview-title {
        font-size: 20px;
    }

    .employee-photo,
    .employee-photo-placeholder {
        width: 90px;
        height: 90px;
        font-size: 32px;
    }

    .info-row {
        flex-direction: column;
        gap: 6px;
    }

        .info-row label,
        .info-row span,
        .info-row a {
            width: 100%;
            text-align: left;
        }
}

/*==================================================
Scroll Bar
==================================================*/

.left-panel::-webkit-scrollbar {
    width: 7px;
}

.left-panel::-webkit-scrollbar-track {
    background: var(--border-light);
}

.left-panel::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 20px;
}

    .left-panel::-webkit-scrollbar-thumb:hover {
        background: var(--scrollbar-thumb-hover);
    }

/*==================================================
Hover Effects
==================================================*/

.overview-card {
    transition: .25s ease;
}

    .overview-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px var(--shadow-sm);
    }

.profile-card {
    background: linear-gradient(180deg,var(--content-bg),var(--table-header-bg));
}

/*==================================================
Images
==================================================*/

.overview-card img {
    border-radius: 10px;
}

    .overview-card img:hover {
        transform: scale(1.03);
    }

/*==================================================
Resume
==================================================*/

.resume-card {
    height: 100%;
}

.resume-body {
    height: calc(100vh - 240px);
}

.resume-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--content-bg);
}

/*==================================================
Buttons
==================================================*/

.btn {
    border-radius: 10px;
    font-weight: 500;
}

/*==================================================
Badge
==================================================*/

.badge {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 30px;
}

/*==================================================
Shadow
==================================================*/

.shadow-soft {
    box-shadow: 0 8px 24px var(--shadow-sm);
}

/*==================================================
Print
==================================================*/

@media print {

    .overview-header .btn {
        display: none;
    }

    .left-panel {
        width: 35%;
    }

    .right-panel {
        width: 65%;
    }
}

/*==================================================
Animation
==================================================*/

.employee-overview {
    animation: fadeIn .35s ease;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ======================================================
   ACCESS DENIED PAGE
====================================================== */

.access-denied-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--background);
    padding: 30px;
}

    /* Floating Background */

    .access-denied-page::before,
    .access-denied-page::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        z-index: 0;
        animation: floatBubble 8s ease-in-out infinite;
    }

    .access-denied-page::before {
        width: 320px;
        height: 320px;
        background: var(--primary-soft-bg);
        top: -120px;
        left: -100px;
    }

    .access-denied-page::after {
        width: 260px;
        height: 260px;
        background: var(--success-soft-bg);
        bottom: -120px;
        right: -80px;
        animation-delay: 2s;
    }

/* Card */

.access-denied-card {
    position: relative;
    z-index: 5;
    max-width: 620px;
    width: 100%;
    padding: 55px;
    border-radius: 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px var(--card-shadow-hover);
    text-align: center;
    animation: fadeUp .8s ease;
}

/* Shield */

.access-shield {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

    .access-shield i {
        font-size: 120px;
        color: var(--primary);
        animation: shieldFloat 3s ease-in-out infinite;
    }

.access-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--content-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px var(--shadow-md);
    animation: pulseLock 2s infinite;
}

    .access-lock i {
        font-size: 24px;
        color: var(--primary);
    }

/* Badge */

.access-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--warning-soft-bg);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 18px;
}

/* Title */

.access-code {
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 12px;
}

.access-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--textPrimary);
    margin-bottom: 15px;
}

.access-description {
    max-width: 500px;
    margin: auto;
    font-size: 16px;
    color: var(--textSecondary);
    line-height: 1.8;
}

/* Buttons */

.access-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

    .access-actions .table-btn {
        min-width: 180px;
    }

/* Animations */

@keyframes shieldFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes pulseLock {

    0% {
        transform: translate(-50%,-50%) scale(1);
    }

    50% {
        transform: translate(-50%,-50%) scale(1.12);
    }

    100% {
        transform: translate(-50%,-50%) scale(1);
    }
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBubble {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }
}

/* Responsive */

@media(max-width:768px) {

    .access-denied-card {
        padding: 35px 25px;
    }

    .access-code {
        font-size: 68px;
    }

    .access-title {
        font-size: 26px;
    }

    .access-actions {
        flex-direction: column;
    }

        .access-actions .table-btn {
            width: 100%;
        }
}



:root {
    --primary: #F97316;
    --primary-dark: #EA580C;
    --background: #FCFAF6;
    --surface: var(--content-bg);
    --border: var(--border-color);
    --text: var(--text-primary);
    --text-light: var(--text-secondary);
    --shadow: 0 25px 60px var(--card-shadow-hover);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins",sans-serif;
    background: var(--background);
    overflow: hidden;
}

/* Background */

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

    .circle:nth-child(1) {
        width: 320px;
        height: 320px;
        background: var(--primary-soft-bg);
        top: -120px;
        left: -80px;
    }

    .circle:nth-child(2) {
        width: 240px;
        height: 240px;
        background: var(--primary-soft-bg-light);
        bottom: -80px;
        right: -80px;
        animation-delay: 2s;
    }

    .circle:nth-child(3) {
        width: 120px;
        height: 120px;
        background: var(--primary-soft-bg);
        top: 15%;
        right: 18%;
        animation-delay: 1s;
    }

/* Layout */

.wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
    z-index: 5;
}

.card403 {
    width: 100%;
    max-width: 650px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 55px;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fadeUp .8s;
}

/* Shield */

.shield {
    position: relative;
    width: 150px;
    height: 150px;
    margin: auto;
}

.shield-icon {
    font-size: 130px;
    color: var(--primary);
    animation: shield 3s ease-in-out infinite;
}

.lock {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 58px;
    height: 58px;
    background: var(--content-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px var(--shadow-lg);
    animation: pulse 2s infinite;
}

    .lock i {
        color: var(--primary);
        font-size: 24px;
    }

/* Badge */

.badge403 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--warning-soft-bg);
    color: var(--primary);
    font-weight: 600;
    margin: 25px 0;
}

/* Text */

.code {
    font-size: 92px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.title {
    font-size: 34px;
    font-weight: 700;
    margin-top: 15px;
    color: var(--text);
}

.description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 20px auto 35px;
    max-width: 480px;
}

/* Buttons */

.btn-group403 {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn403 {
    min-width: 180px;
    height: 54px;
    border: none;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.primary-btn {
    background: var(--primary);
    color: var(--content-bg);
}

    .primary-btn:hover {
        background: var(--primary-dark);
        color: var(--content-bg);
        transform: translateY(-3px);
    }

.secondary-btn {
    background: var(--content-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

    .secondary-btn:hover {
        background: var(--table-header-bg);
        transform: translateY(-3px);
    }

/* Animations */

@keyframes shield {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,100% {
        transform: translate(-50%,-50%) scale(1);
    }

    50% {
        transform: translate(-50%,-50%) scale(1.12);
    }
}

@keyframes float {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media(max-width:768px) {

    .card403 {
        padding: 35px 25px;
    }

    .code {
        font-size: 70px;
    }

    .title {
        font-size: 28px;
    }

    .btn-group403 {
        flex-direction: column;
    }

    .btn403 {
        width: 100%;
    }
}
/*==========================================================
    APPLY PAGE
==========================================================*/

.apply-page {
    max-width: 850px;
    margin: 40px auto 70px;
    padding: 0 20px;
}

.apply-form {
    width: 100%;
}

/*==========================================================
    COMPANY HEADER
==========================================================*/

.apply-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 35px;
    padding: 28px 34px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

    .apply-header::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
        background: var(--primary);
    }

/*==========================================================
    COMPANY LOGO
==========================================================*/

.company-logo {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: .35s;
}

    .company-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
    }

    .company-logo i {
        font-size: 40px;
        color: var(--primary);
    }

.apply-header:hover .company-logo {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--primary-shadow);
}

/*==========================================================
    COMPANY DETAILS
==========================================================*/

.company-details {
    flex: 1;
}

    .company-details h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        color: var(--heading-color);
    }

    .company-details p {
        margin-top: 8px;
        margin-bottom: 0;
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.6;
    }

/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:768px) {

    .apply-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .company-logo {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .company-details h2 {
        font-size: 22px;
    }
}

/*==========================================================
    GLOBAL TYPOGRAPHY
==========================================================*/

.apply-page h1,
.apply-page h2,
.apply-page h3,
.apply-page h4,
.apply-page h5,
.apply-page h6 {
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0;
}

.apply-page p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.apply-page label {
    color: var(--heading-color);
    font-weight: 600;
}

.apply-page a {
    color: var(--primary);
    text-decoration: none;
    transition: .25s;
}

    .apply-page a:hover {
        color: var(--primary);
        text-decoration: underline;
    }

/*==========================================================
    SECTION SPACING
==========================================================*/

.apply-page .mb-4 {
    margin-bottom: 1.75rem !important;
}

.apply-page .mt-4 {
    margin-top: 1.75rem !important;
}

.apply-page .mt-5 {
    margin-top: 3rem !important;
}

/*==========================================================
    JOB SECTION
==========================================================*/

.apply-page .job-section {
    margin-bottom: 28px;
}

.apply-page .job-section-head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.apply-page .job-section-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-soft-bg);
    color: var(--primary);
    font-size: 22px;
    box-shadow: var(--shadow-sm);
}

    .apply-page .job-section-icon i {
        font-size: 22px;
    }

.apply-page .job-section-title {
    margin: 0;
    color: var(--heading-color);
    font-size: 1.35rem;
    font-weight: 700;
}

.apply-page .job-section-sub {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.6;
}

/*==========================================================
    COMMON CARD
==========================================================*/

.apply-page .setting-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

    .apply-page .setting-card:hover {
        transform: translateY(-3px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

/*==========================================================
    DIVIDER
==========================================================*/

.apply-page hr {
    border-color: var(--divider-color);
    opacity: 1;
}

/*==========================================================
    BOOTSTRAP ROW
==========================================================*/

.apply-page .row.g-4 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}

/*==========================================================
    TEXT COLORS
==========================================================*/

.apply-page .text-muted {
    color: var(--text-secondary) !important;
}

.apply-page .text-primary {
    color: var(--primary) !important;
}

.apply-page .text-danger {
    font-weight: 700;
}

/*==========================================================
    SCROLLBAR
==========================================================*/

.apply-page ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.apply-page ::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.18);
    border-radius: 20px;
}

    .apply-page ::-webkit-scrollbar-thumb:hover {
        background: rgba(0,0,0,.28);
    }

/*==========================================================
    MOBILE
==========================================================*/

@media (max-width:991px) {

    .apply-page {
        padding: 0 15px;
    }

        .apply-page .job-section-head {
            align-items: flex-start;
        }

        .apply-page .job-section-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
            font-size: 20px;
        }

        .apply-page .job-section-title {
            font-size: 1.2rem;
        }

        .apply-page .setting-card {
            padding: 22px;
        }

        .apply-page .row.g-4 {
            --bs-gutter-x: 1.25rem;
            --bs-gutter-y: 1.25rem;
        }
}

@media (max-width:576px) {

    .apply-page {
        margin: 20px auto 40px;
    }

        .apply-page .job-section-head {
            gap: 14px;
        }

        .apply-page .job-section-icon {
            width: 46px;
            height: 46px;
            min-width: 46px;
            border-radius: 14px;
        }

        .apply-page .job-section-title {
            font-size: 1.05rem;
        }

        .apply-page .job-section-sub {
            font-size: .85rem;
        }

        .apply-page .setting-card {
            padding: 18px;
            border-radius: 16px;
        }
}
/*==========================================================
    JOB SUMMARY
==========================================================*/

.apply-page .job-summary {
    margin-bottom: 35px;
}

    .apply-page .job-summary > .job-section {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 22px;
        padding: 35px;
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }

        .apply-page .job-summary > .job-section::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 5px;
            background: var(--primary);
        }

    .apply-page .job-summary .job-section-head {
        margin-bottom: 1.5rem;
    }

/*==========================================================
    JOB INFO BADGES
==========================================================*/

.apply-page .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: auto !important;
    padding: .70rem 1rem;
    border-radius: 999px !important;
    font-size: .82rem;
    font-weight: 600;
    transition: .25s;
    border: 1px solid var(--border-color) !important;
    background: var(--card-bg) !important;
    color: var(--heading-color) !important;
}

    .apply-page .badge i {
        color: var(--primary);
        font-size: .9rem;
    }

    .apply-page .badge:hover {
        background: var(--primary-soft-bg) !important;
        border-color: var(--primary) !important;
        transform: translateY(-2px);
    }

/*==========================================================
    JOB DESCRIPTION CARD
==========================================================*/

.apply-page .job-description {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: .95rem;
}

    .apply-page .job-description p {
        margin-bottom: 1rem;
    }

    .apply-page .job-description h1,
    .apply-page .job-description h2,
    .apply-page .job-description h3,
    .apply-page .job-description h4,
    .apply-page .job-description h5 {
        color: var(--heading-color);
        margin: 1.25rem 0 .75rem;
    }

    .apply-page .job-description ul,
    .apply-page .job-description ol {
        padding-left: 1.4rem;
        margin-bottom: 1rem;
    }

    .apply-page .job-description li {
        margin-bottom: .45rem;
    }

    .apply-page .job-description strong {
        color: var(--heading-color);
        font-weight: 700;
    }

    .apply-page .job-description table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
    }

        .apply-page .job-description table th,
        .apply-page .job-description table td {
            border: 1px solid var(--divider-color);
            padding: .75rem;
        }

/*==========================================================
    VALIDATION CARD
==========================================================*/

.apply-page .border-danger {
    border-color: #dc3545 !important;
}

.apply-page .alert {
    border-radius: 16px;
    margin: 0;
}

.apply-page .alert-danger {
    background: #fff6f6;
    color: #842029;
    border: 1px solid rgba(220,53,69,.18);
}

    .apply-page .alert-danger ul {
        margin: 0;
        padding-left: 1.25rem;
    }

    .apply-page .alert-danger li {
        margin-bottom: .45rem;
    }

/*==========================================================
    INNER SECTION CARD
==========================================================*/

.apply-page .setting-card .setting-card {
    background: var(--card-bg);
    border: 1px solid var(--divider-color);
    box-shadow: none;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: .25s;
}

    .apply-page .setting-card .setting-card:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-sm);
        transform: none;
    }

/*==========================================================
    CARD HEADERS
==========================================================*/

.apply-page .setting-card .job-section-head {
    margin-bottom: 1.5rem;
}

.apply-page .setting-card h5 {
    color: var(--heading-color);
    font-weight: 700;
}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:768px) {

    .apply-page .job-summary > .job-section {
        padding: 22px;
    }

    .apply-page .badge {
        font-size: .75rem;
        padding: .55rem .85rem;
    }

    .apply-page .job-description {
        font-size: .9rem;
    }
}

/*==========================================================
    FORM CONTROLS
==========================================================*/

.apply-page .custom-control {
    margin-bottom: 1.25rem;
}

    .apply-page .custom-control:last-child {
        margin-bottom: 0;
    }

.apply-page .form-label {
    display: block;
    margin-bottom: .65rem;
    color: var(--heading-color);
    font-weight: 600;
    font-size: .95rem;
}

    .apply-page .form-label .text-danger {
        font-size: .9rem;
        margin-left: 2px;
    }

/*==========================================================
    INPUT GROUP
==========================================================*/

.apply-page .input-group {
    border-radius: 14px;
    overflow: hidden;
    transition: all .25s ease;
}

.apply-page .input-group-text {
    background: var(--card-header-bg);
    border: 1px solid var(--input-border);
    color: var(--primary);
    min-width: 54px;
    justify-content: center;
    font-size: 1rem;
    transition: all .25s ease;
}

.apply-page .input-group:focus-within .input-group-text {
    background: var(--primary-soft-bg);
    color: var(--primary);
    border-color: var(--input-focus);
}

/*==========================================================
    INPUT
==========================================================*/

.apply-page .form-control,
.apply-page .form-select {
    height: 52px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    font-size: .95rem;
    border-radius: 14px;
    box-shadow: none;
    transition: all .25s ease;
}

.apply-page textarea.form-control {
    min-height: 170px;
    height: auto;
    resize: vertical;
    padding-top: 14px;
    line-height: 1.7;
}

.apply-page .form-control::placeholder,
.apply-page .form-select {
    color: var(--text-secondary);
}

    /*==========================================================
    FOCUS
==========================================================*/

    .apply-page .form-control:focus,
    .apply-page .form-select:focus {
        border-color: var(--input-focus);
        background: var(--card-bg);
        box-shadow: 0 0 0 .20rem rgba(var(--bs-primary-rgb),.12);
    }

        .apply-page .form-control:focus + .input-group-text {
            border-color: var(--input-focus);
        }

/*==========================================================
    FILE INPUT
==========================================================*/

.apply-page input[type=file] {
    padding: .75rem;
    cursor: pointer;
}

    .apply-page input[type=file]::file-selector-button {
        background: var(--primary);
        color: #fff;
        border: none;
        padding: .60rem 1rem;
        border-radius: 10px;
        margin-right: 14px;
        cursor: pointer;
        transition: .25s;
        font-weight: 600;
    }

        .apply-page input[type=file]::file-selector-button:hover {
            opacity: .9;
            transform: translateY(-1px);
        }

/*==========================================================
    FORM TEXT
==========================================================*/

.apply-page .form-text {
    color: var(--text-secondary);
    font-size: .82rem;
    margin-top: .55rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .apply-page .form-text i {
        color: var(--primary);
    }

/*==========================================================
    TEXTAREA
==========================================================*/

.apply-page textarea.form-control {
    border-radius: 16px;
}

/*==========================================================
    DISABLED
==========================================================*/

.apply-page .form-control:disabled,
.apply-page .form-select:disabled {
    background: var(--card-header-bg);
    cursor: not-allowed;
    opacity: .8;
}

/*==========================================================
    AUTOFILL
==========================================================*/

.apply-page input:-webkit-autofill,
.apply-page textarea:-webkit-autofill,
.apply-page select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
    -webkit-text-fill-color: var(--text-primary);
}

/*==========================================================
    INPUT HOVER
==========================================================*/

.apply-page .form-control:hover,
.apply-page .form-select:hover {
    border-color: var(--primary);
}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:768px) {

    .apply-page .form-control,
    .apply-page .form-select {
        height: 48px;
        font-size: .9rem;
    }

    .apply-page textarea.form-control {
        min-height: 150px;
    }

    .apply-page .input-group-text {
        min-width: 48px;
    }
}

/*==========================================================
    RESUME & COVER LETTER
==========================================================*/

.apply-page .setting-card .custom-control {
    position: relative;
}

.apply-page textarea.form-control {
    padding: 16px 18px;
    border-radius: 16px;
}

    .apply-page textarea.form-control::placeholder {
        color: var(--text-secondary);
    }

.apply-page input[type="file"].form-control {
    padding: 10px;
    background: var(--input-bg);
}

    .apply-page input[type="file"].form-control:hover {
        border-color: var(--primary);
    }

/*==========================================================
    SCREENING QUESTIONS
==========================================================*/

.apply-page .setting-card .setting-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--divider-color);
    border-radius: 16px;
    padding: 24px;
    transition: all .25s ease;
}

    .apply-page .setting-card .setting-card:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-sm);
    }

    .apply-page .setting-card .setting-card label {
        font-size: .96rem;
        color: var(--heading-color);
        font-weight: 600;
    }

    .apply-page .setting-card .setting-card .form-text {
        margin-top: 6px;
        color: var(--text-secondary);
    }

/*==========================================================
    QUESTION TYPE BADGE
==========================================================*/

.apply-page .bg-primary-subtle {
    background: var(--primary-soft-bg) !important;
    border: 1px solid rgba(var(--bs-primary-rgb),.20) !important;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: .78rem;
}

/*==========================================================
    QUESTION HEADER
==========================================================*/

.apply-page .setting-card .d-flex.justify-content-between {
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start !important;
}

    .apply-page .setting-card .d-flex.justify-content-between label {
        display: flex;
        align-items: center;
        gap: 6px;
    }

/*==========================================================
    MULTIPLE CHOICE
==========================================================*/

.apply-page .form-check {
    background: var(--card-bg);
    border: 1px solid var(--divider-color) !important;
    border-radius: 14px !important;
    padding: 16px 18px;
    transition: all .25s ease;
    cursor: pointer;
}

    .apply-page .form-check:hover {
        border-color: var(--primary) !important;
        background: var(--primary-soft-bg);
    }

.apply-page .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

    .apply-page .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }

.apply-page .form-check-label {
    cursor: pointer;
    color: var(--heading-color);
    font-weight: 500;
}

/*==========================================================
    QUESTION INPUTS
==========================================================*/

.apply-page .setting-card .form-control,
.apply-page .setting-card .form-select {
    border-radius: 14px;
}

.apply-page .setting-card textarea.form-control {
    min-height: 140px;
}

/*==========================================================
    FILE QUESTION
==========================================================*/

.apply-page .setting-card input[type=file] {
    background: var(--input-bg);
}

    .apply-page .setting-card input[type=file]::file-selector-button {
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: .55rem .95rem;
        margin-right: 14px;
        font-weight: 600;
        transition: .25s;
    }

        .apply-page .setting-card input[type=file]::file-selector-button:hover {
            opacity: .9;
        }

/*==========================================================
    QUESTION ICON
==========================================================*/

.apply-page .bi-question-circle {
    color: var(--primary);
    font-size: 1rem;
}

/*==========================================================
    QUESTION SPACING
==========================================================*/

.apply-page .setting-card .setting-card + .setting-card {
    margin-top: 22px;
}

/*==========================================================
    REQUIRED STAR
==========================================================*/

.apply-page .text-danger {
    font-weight: 700;
}

/*==========================================================
    MOBILE
==========================================================*/

@media(max-width:768px) {

    .apply-page .setting-card .setting-card {
        padding: 18px;
    }

    .apply-page .form-check {
        padding: 14px;
    }

    .apply-page .bg-primary-subtle {
        margin-top: 8px;
    }
}

/*==========================================================
    READY TO SUBMIT
==========================================================*/

.apply-page .setting-card:last-child {
    position: relative;
    overflow: hidden;
}

    .apply-page .setting-card:last-child::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: var(--primary);
    }

    .apply-page .setting-card:last-child .job-section-icon {
        background: var(--primary-soft-bg);
        color: var(--primary);
    }
/*==========================================================
    APPLY SUBMIT BUTTON
==========================================================*/

.apply-submit-btn {
    min-width: 220px;
    height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

    .apply-submit-btn i {
        font-size: 16px;
        line-height: 1;
    }

    /* Keep same theme on Hover, Focus & Active */

    .apply-submit-btn:hover,
    .apply-submit-btn:focus,
    .apply-submit-btn:active {
        background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 75%, white));
        color: #fff !important;
        border-color: var(--primary) !important;
        box-shadow: none !important;
        transform: none !important;
        text-decoration: none;
    }

        .apply-submit-btn:hover i,
        .apply-submit-btn:focus i,
        .apply-submit-btn:active i {
            color: #fff !important;
        }

    .apply-submit-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

@media (max-width:768px) {

    .apply-submit-btn {
        width: 100%;
    }
}

/*==========================================================
    LARGE BUTTON
==========================================================*/

.apply-page .btn-lg {
    min-height: 58px;
    padding: 1rem 2.75rem;
    font-size: 1rem;
}

/*==========================================================
    READY SECTION
==========================================================*/

.apply-page .setting-card:last-child h5 {
    color: var(--heading-color);
    font-weight: 700;
}

.apply-page .setting-card:last-child p {
    color: var(--text-secondary);
}

/*==========================================================
    ICONS
==========================================================*/

.apply-page .bi-check2-circle {
    color: var(--primary);
}

.apply-page .bi-send-fill {
    font-size: .95rem;
}

/*==========================================================
    BUTTON TRANSITIONS
==========================================================*/

.apply-page button {
    transition: all .25s ease;
}

    .apply-page button:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

/*==========================================================
    SELECTION
==========================================================*/

.apply-page ::selection {
    background: var(--primary);
    color: #fff;
}

/*==========================================================
    SMOOTH ANIMATION
==========================================================*/

.apply-page .setting-card {
    animation: fadeUp .45s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==========================================================
    TRANSITIONS
==========================================================*/

.apply-page * {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:991px) {

    .apply-page .setting-card:last-child .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .apply-page .btn-primary {
        width: 100%;
    }
}

@media(max-width:576px) {

    .apply-page .btn-lg {
        width: 100%;
        min-height: 52px;
        padding: .85rem 1.25rem;
        font-size: .95rem;
    }

    .apply-page .setting-card:last-child {
        padding: 20px;
    }

        .apply-page .setting-card:last-child .job-section-icon {
            width: 48px;
            height: 48px;
            min-width: 48px;
        }
}

/*==========================================================
    PREMIUM UI ENHANCEMENTS
==========================================================*/

/*----------------------------------------
    Premium Cards
----------------------------------------*/

.apply-page .setting-card,
.apply-page .job-summary > .job-section {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .apply-page .setting-card::after,
    .apply-page .job-summary > .job-section::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 135deg, rgba(255,255,255,.08), transparent 45% );
        opacity: 0;
        transition: .4s;
    }

    .apply-page .setting-card:hover::after,
    .apply-page .job-summary > .job-section:hover::after {
        opacity: 1;
    }

    /*----------------------------------------
    Floating Card Effect
----------------------------------------*/

    .apply-page .setting-card:hover,
    .apply-page .job-summary > .job-section:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,0,0,.08), var(--shadow-md);
    }

/*----------------------------------------
    Icon Animation
----------------------------------------*/

.apply-page .job-section-icon {
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}

.apply-page .setting-card:hover .job-section-icon,
.apply-page .job-summary:hover .job-section-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: var(--primary-shadow);
}

/*----------------------------------------
    Gradient Button
----------------------------------------*/

.apply-page .btn-primary {
    background: linear-gradient( 135deg, var(--primary), color-mix(in srgb, var(--primary) 75%, white) );
    background-size: 200% 200%;
    transition: transform .3s, box-shadow .3s, background-position .5s;
}

    .apply-page .btn-primary:hover {
        background-position: right center;
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(0,0,0,.12), var(--primary-shadow);
    }

/*----------------------------------------
    Input Hover
----------------------------------------*/

.apply-page .form-control,
.apply-page .form-select,
.apply-page .input-group-text {
    transition: all .30s ease;
}

.apply-page .custom-control:hover .form-control,
.apply-page .custom-control:hover .form-select {
    border-color: var(--primary);
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.apply-page .custom-control:hover .input-group-text {
    background: var(--primary-soft-bg);
}

/*----------------------------------------
    Badge Animation
----------------------------------------*/

.apply-page .badge {
    transition: transform .30s, box-shadow .30s, border-color .30s;
}

    .apply-page .badge:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-sm);
    }

/*----------------------------------------
    Checkbox Cards
----------------------------------------*/

.apply-page .form-check {
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

    .apply-page .form-check:hover {
        transform: translateX(6px);
        box-shadow: var(--shadow-sm);
    }

/*----------------------------------------
    Question Card Accent
----------------------------------------*/

.apply-page .setting-card .setting-card {
    position: relative;
}

    .apply-page .setting-card .setting-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 18px;
        bottom: 18px;
        width: 4px;
        border-radius: 20px;
        background: var(--primary);
        opacity: .18;
        transition: .3s;
    }

    .apply-page .setting-card .setting-card:hover::before {
        opacity: 1;
    }

/*----------------------------------------
    Glass Header
----------------------------------------*/

.apply-page .job-section-head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--divider-color);
    margin-bottom: 24px;
}

/*----------------------------------------
    Smooth Fade Animation
----------------------------------------*/

.apply-page .setting-card {
    animation: premiumFade .45s ease both;
}

@keyframes premiumFade {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*----------------------------------------
    Premium Scrollbar
----------------------------------------*/

.apply-page::-webkit-scrollbar {
    width: 10px;
}

.apply-page::-webkit-scrollbar-track {
    background: transparent;
}

.apply-page::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}

    .apply-page::-webkit-scrollbar-thumb:hover {
        opacity: .85;
    }

/*----------------------------------------
    Professional Spacing
----------------------------------------*/

.apply-page .setting-card {
    margin-bottom: 30px;
}

.apply-page .custom-control {
    margin-bottom: 24px;
}

.apply-page .job-section {
    margin-bottom: 36px;
}

/*----------------------------------------
    Mobile Polish
----------------------------------------*/

@media (max-width:768px) {

    .apply-page .setting-card:hover,
    .apply-page .job-summary > .job-section:hover {
        transform: none;
    }

    .apply-page .btn-primary {
        width: 100%;
    }
}

/*==========================================================
    PART 6B - PREMIUM MICRO INTERACTIONS
==========================================================*/

/*----------------------------------------
    Premium Card Border Glow
----------------------------------------*/

.apply-page .setting-card,
.apply-page .job-summary > .job-section {
    isolation: isolate;
}

    .apply-page .setting-card::before,
    .apply-page .job-summary > .job-section::before {
        transition: opacity .35s ease, transform .35s ease;
    }

    .apply-page .setting-card:hover::before,
    .apply-page .job-summary > .job-section:hover::before {
        transform: scaleX(1.05);
    }

    /*----------------------------------------
    Elegant Hover Overlay
----------------------------------------*/

    .apply-page .setting-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at top right, rgba(255,255,255,.10), transparent 45% );
        pointer-events: none;
        opacity: 0;
        transition: .35s;
    }

    .apply-page .setting-card:hover::after {
        opacity: 1;
    }

/*----------------------------------------
    Section Title Animation
----------------------------------------*/

.apply-page .job-section-title {
    transition: color .3s ease, transform .3s ease;
}

.apply-page .setting-card:hover .job-section-title {
    color: var(--primary);
    transform: translateX(3px);
}

/*----------------------------------------
    Icon Pulse
----------------------------------------*/

.apply-page .job-section-icon i {
    transition: transform .35s ease;
}

.apply-page .setting-card:hover .job-section-icon i {
    transform: scale(1.15);
}

/*----------------------------------------
    Premium Input Animation
----------------------------------------*/

.apply-page .form-control,
.apply-page .form-select {
    transition: border-color .3s ease, box-shadow .3s ease, transform .25s ease;
}

    .apply-page .form-control:focus,
    .apply-page .form-select:focus {
        transform: translateY(-2px);
    }

/*----------------------------------------
    Textarea Premium
----------------------------------------*/

.apply-page textarea.form-control {
    transition: border-color .3s, box-shadow .3s, min-height .25s;
}

    .apply-page textarea.form-control:focus {
        min-height: 190px;
    }

/*----------------------------------------
    File Upload Premium
----------------------------------------*/

.apply-page input[type=file] {
    transition: border-color .3s, box-shadow .3s;
}

    .apply-page input[type=file]:hover {
        box-shadow: var(--shadow-sm);
    }

/*----------------------------------------
    Question Card
----------------------------------------*/

.apply-page .setting-card .setting-card {
    overflow: hidden;
}

    .apply-page .setting-card .setting-card:hover {
        transform: translateY(-3px);
    }

/*----------------------------------------
    Checkbox Ripple
----------------------------------------*/

.apply-page .form-check {
    position: relative;
    overflow: hidden;
}

    .apply-page .form-check::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.25);
        left: 50%;
        top: 50%;
        transition: .5s;
    }

    .apply-page .form-check:hover::after {
        width: 220%;
        height: 220%;
        left: -60%;
        top: -60%;
    }

/*----------------------------------------
    Badge Shine
----------------------------------------*/

.apply-page .badge {
    overflow: hidden;
    position: relative;
}

    .apply-page .badge::after {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        transform: skewX(-25deg);
        background: rgba(255,255,255,.45);
        transition: .6s;
    }

    .apply-page .badge:hover::after {
        left: 160%;
    }

/*----------------------------------------
    Submit Button Shine
----------------------------------------*/

.apply-page .btn-primary {
    position: relative;
    overflow: hidden;
}

    .apply-page .btn-primary::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 45%;
        height: 100%;
        transform: skewX(-20deg);
        background: rgba(255,255,255,.35);
        transition: .6s;
    }

    .apply-page .btn-primary:hover::before {
        left: 150%;
    }

/*----------------------------------------
    Form Appearance
----------------------------------------*/

.apply-page .custom-control {
    animation: fadeField .45s ease both;
}

@keyframes fadeField {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*----------------------------------------
    Better Section Spacing
----------------------------------------*/

.apply-page .job-section + .setting-card {
    margin-top: 18px;
}

.apply-page .setting-card + .setting-card {
    margin-top: 24px;
}

/*----------------------------------------
    Hover Cursor
----------------------------------------*/

.apply-page .setting-card {
    cursor: default;
}

.apply-page .form-check {
    cursor: pointer;
}

/*----------------------------------------
    Responsive Polish
----------------------------------------*/

@media(max-width:768px) {

    .apply-page textarea.form-control:focus {
        min-height: 160px;
    }

    .apply-page .setting-card:hover {
        transform: none;
    }
}

/*==========================================================
    PART 6C - PREMIUM ATS EXPERIENCE
==========================================================*/

/*----------------------------------------
    Professional Page Background
----------------------------------------*/

.apply-page {
    position: relative;
}

    .apply-page::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(var(--bs-primary-rgb),.05), transparent 35%), radial-gradient(circle at bottom left, rgba(var(--bs-primary-rgb),.04), transparent 40%);
        pointer-events: none;
        z-index: -1;
    }

    /*----------------------------------------
    Elegant Card Border
----------------------------------------*/

    .apply-page .setting-card {
        border: 1px solid transparent;
        background: linear-gradient(var(--card-bg),var(--card-bg)) padding-box, linear-gradient(135deg, rgba(var(--bs-primary-rgb),.10), transparent, rgba(var(--bs-primary-rgb),.12)) border-box;
    }

        /*----------------------------------------
    Premium Card Hover
----------------------------------------*/

        .apply-page .setting-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 32px rgba(0,0,0,.06), 0 2px 10px rgba(var(--bs-primary-rgb),.12);
        }

    /*----------------------------------------
    Icon Background Animation
----------------------------------------*/

    .apply-page .job-section-icon {
        position: relative;
        overflow: hidden;
    }

        .apply-page .job-section-icon::before {
            content: "";
            position: absolute;
            width: 120%;
            height: 120%;
            background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
            transform: scale(0);
            transition: .45s;
        }

    .apply-page .setting-card:hover .job-section-icon::before {
        transform: scale(1.4);
    }

    /*----------------------------------------
    Premium Labels
----------------------------------------*/

    .apply-page .form-label {
        letter-spacing: .2px;
        font-weight: 700;
    }

    /*----------------------------------------
    Better Input Appearance
----------------------------------------*/

    .apply-page .form-control,
    .apply-page .form-select {
        background: linear-gradient( 180deg, rgba(255,255,255,.03), transparent);
    }

        .apply-page .form-control:hover,
        .apply-page .form-select:hover {
            transform: translateY(-1px);
        }

        /*----------------------------------------
    Placeholder
----------------------------------------*/

        .apply-page .form-control::placeholder {
            color: var(--text-secondary);
            opacity: .75;
        }

        /*----------------------------------------
    Input Focus Glow
----------------------------------------*/

        .apply-page .form-control:focus,
        .apply-page .form-select:focus {
            box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb),.08), 0 8px 20px rgba(var(--bs-primary-rgb),.08);
        }

    /*----------------------------------------
    Section Divider
----------------------------------------*/

    .apply-page .job-section-head {
        position: relative;
    }

        .apply-page .job-section-head::after {
            content: "";
            position: absolute;
            bottom: -12px;
            left: 76px;
            width: 60px;
            height: 3px;
            border-radius: 20px;
            background: var(--primary);
        }

    /*----------------------------------------
    Question Cards
----------------------------------------*/

    .apply-page .setting-card .setting-card {
        transition: transform .30s, box-shadow .30s, border-color .30s;
    }

        .apply-page .setting-card .setting-card:hover {
            transform: translateX(4px);
        }

    /*----------------------------------------
    Better Checkbox
----------------------------------------*/

    .apply-page .form-check {
        border-radius: 16px !important;
    }

    .apply-page .form-check-input {
        transition: .25s;
    }

        .apply-page .form-check-input:checked {
            transform: scale(1.08);
        }

    /*----------------------------------------
    Submit Button Premium
----------------------------------------*/

    .apply-page .btn-primary {
        letter-spacing: .3px;
        font-weight: 700;
    }

        .apply-page .btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
        }

    /*----------------------------------------
    Fade Sequence
----------------------------------------*/

    .apply-page .setting-card:nth-child(1) {
        animation-delay: .05s;
    }

    .apply-page .setting-card:nth-child(2) {
        animation-delay: .10s;
    }

    .apply-page .setting-card:nth-child(3) {
        animation-delay: .15s;
    }

    .apply-page .setting-card:nth-child(4) {
        animation-delay: .20s;
    }

    .apply-page .setting-card:nth-child(5) {
        animation-delay: .25s;
    }

/*----------------------------------------
    Premium Scroll Behavior
----------------------------------------*/

html {
    scroll-behavior: smooth;
}

/*----------------------------------------
    Selection
----------------------------------------*/

.apply-page ::selection {
    background: var(--primary);
    color: #fff;
}

/*----------------------------------------
    Responsive
----------------------------------------*/

@media(max-width:768px) {

    .apply-page .job-section-head::after {
        left: 64px;
    }

    .apply-page .setting-card:hover {
        transform: none;
    }
}

/*==========================================================
    PART 6D - LUXURY UI POLISH
==========================================================*/

/*----------------------------------------
    Soft Background Pattern
----------------------------------------*/

.apply-page {
    background: radial-gradient(circle at top right, rgba(var(--bs-primary-rgb),.03), transparent 30%), radial-gradient(circle at bottom left, rgba(var(--bs-primary-rgb),.03), transparent 35%);
}

    /*----------------------------------------
    Premium Card Glow
----------------------------------------*/

    .apply-page .setting-card {
        position: relative;
    }

        .apply-page .setting-card:hover {
            box-shadow: 0 10px 24px rgba(0,0,0,.06), 0 18px 45px rgba(var(--bs-primary-rgb),.10);
        }

        /*----------------------------------------
    Corner Accent
----------------------------------------*/

        .apply-page .setting-card::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 90px;
            height: 90px;
            background: radial-gradient(circle, rgba(var(--bs-primary-rgb),.08), transparent 70%);
            pointer-events: none;
        }

    /*----------------------------------------
    Job Header
----------------------------------------*/

    .apply-page .job-summary > .job-section {
        overflow: hidden;
    }

        .apply-page .job-summary > .job-section::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient( 90deg, transparent, rgba(var(--bs-primary-rgb),.25), transparent);
        }

    /*----------------------------------------
    Icon Hover
----------------------------------------*/

    .apply-page .job-section-icon {
        transition: transform .35s, background .35s;
    }

        .apply-page .job-section-icon:hover {
            transform: rotate(-8deg) scale(1.12);
        }

    /*----------------------------------------
    Premium Badge
----------------------------------------*/

    .apply-page .badge {
        font-weight: 700;
        letter-spacing: .2px;
    }

        .apply-page .badge:hover {
            transform: translateY(-2px) scale(1.04);
        }

    /*----------------------------------------
    Form Controls
----------------------------------------*/

    .apply-page .form-control,
    .apply-page .form-select {
        transition: border-color .3s, box-shadow .3s, transform .3s;
    }

        .apply-page .form-control:hover,
        .apply-page .form-select:hover {
            transform: translateY(-1px);
        }

        .apply-page .form-control:focus,
        .apply-page .form-select:focus {
            transform: translateY(-2px);
        }

    /*----------------------------------------
    Input Group Icon
----------------------------------------*/

    .apply-page .input-group-text {
        transition: background .3s, color .3s, transform .3s;
    }

    .apply-page .input-group:focus-within .input-group-text {
        transform: scale(1.05);
    }

    /*----------------------------------------
    Checkbox Cards
----------------------------------------*/

    .apply-page .form-check {
        position: relative;
        overflow: hidden;
    }

        .apply-page .form-check:hover {
            transform: translateX(4px);
        }

    .apply-page .form-check-input {
        transition: transform .25s;
    }

        .apply-page .form-check-input:checked {
            transform: scale(1.12);
        }

    /*----------------------------------------
    Question Badge
----------------------------------------*/

    .apply-page .bg-primary-subtle {
        transition: transform .25s, box-shadow .25s;
    }

    .apply-page .setting-card:hover .bg-primary-subtle {
        transform: translateY(-2px);
    }

    /*----------------------------------------
    Submit Button
----------------------------------------*/

    .apply-page .btn-primary {
        position: relative;
        overflow: hidden;
    }

        .apply-page .btn-primary::after {
            content: "";
            position: absolute;
            top: 0;
            left: -120%;
            width: 60%;
            height: 100%;
            background: rgba(255,255,255,.25);
            transform: skewX(-25deg);
            transition: .7s;
        }

        .apply-page .btn-primary:hover::after {
            left: 150%;
        }

    /*----------------------------------------
    Smooth Fade
----------------------------------------*/

    .apply-page .setting-card {
        animation: cardFade .45s ease both;
    }

@keyframes cardFade {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*----------------------------------------
    Professional Spacing
----------------------------------------*/

.apply-page .setting-card {
    padding: 30px;
}

.apply-page .custom-control {
    margin-bottom: 26px;
}

.apply-page .job-section-head {
    margin-bottom: 28px;
}
/*==========================================================
    SCROLL FIX (ADD AT THE VERY END OF Apply_User.css)
==========================================================*/

/* Allow the page to scroll normally */
html,
body {
    width: 100%;
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Main application page */
.apply-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

    /* Bootstrap containers */
    .apply-page .container,
    .apply-page .container-fluid,
    .apply-page .row {
        overflow: visible !important;
    }

    /* Prevent fixed elements from blocking scrolling */
    .apply-page::before,
    .apply-page::after {
        pointer-events: none;
    }

    /* Any cards should never clip content */
    .apply-page .setting-card,
    .apply-page .job-summary,
    .apply-page .job-section {
        overflow: visible;
    }

/* Better mobile scrolling */
@media (max-width:991px) {

    html,
    body {
        -webkit-overflow-scrolling: touch;
    }
}
/*----------------------------------------
    Mobile
----------------------------------------*/

@media(max-width:768px) {

    .apply-page .setting-card {
        padding: 22px;
    }

    .apply-page .job-section-icon:hover {
        transform: none;
    }
}
.company-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/*==========================================================
    APPLY SUCCESS PAGE
==========================================================*/

.apply-success-page {
    max-width: 760px;
    margin: 60px auto;
    padding: 50px;
    background: var(--card-bg);
    border: 1px solid var(--primary);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .apply-success-page::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg,var(--primary-light),var(--primary));
    }

/*==========================================================
    SUCCESS ICON
==========================================================*/

.success-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #20D4CF 0%, #07BEB8 100%);
    color: #fff;
    font-size: 52px;
    box-shadow: 0 18px 40px rgba(7,190,184,.35), inset 0 2px 12px rgba(255,255,255,.22);
    animation: successPop .7s ease;
}


    .success-icon::before {
        content: "";
        position: absolute;
        inset: -12px;
        border-radius: 50%;
        border: 2px solid rgba(7,190,184,.28);
        animation: successPulse 2s infinite;
    }

    .success-icon::after {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,.10);
    }

    .success-icon i {
        position: relative;
        z-index: 2;
        font-size: 54px;
        color: #fff;
    }

/*==========================================================
    TITLE
==========================================================*/


.apply-success-page h1 {
    margin-bottom: 16px;
    font-size: 34px;
    font-weight: 700;
    color: var(--heading-color);
}

/*==========================================================
    MESSAGE
==========================================================*/

.success-message {
    max-width: 560px;
    margin: 0 auto 36px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

/*==========================================================
    SUMMARY CARD
==========================================================*/

.application-summary {
    margin: 35px 0;
    padding: 28px;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

    /*==========================================================
    SUMMARY
==========================================================*/

    .application-summary dl {
        margin: 0;
    }

    .application-summary dt {
        margin-top: 18px;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .8px;
    }

        .application-summary dt:first-child {
            margin-top: 0;
        }

    .application-summary dd {
        margin: 8px 0 0;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--divider-color);
        color: var(--heading-color);
        font-size: 16px;
        font-weight: 600;
    }

        .application-summary dd:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

/*==========================================================
    FOOTER
==========================================================*/

.success-footer {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--divider-color);
    color: var(--text-secondary);
    line-height: 1.8;
}

    .success-footer strong {
        color: var(--primary);
        font-weight: 600;
    }

/*==========================================================
    ANIMATION
==========================================================*/

@keyframes successPop {

    0% {
        opacity: 0;
        transform: scale(.2);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successPulse {

    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/*==========================================================
    RESPONSIVE
==========================================================*/

@media(max-width:768px) {

    .apply-success-page {
        margin: 24px;
        padding: 30px 22px;
    }

        .apply-success-page h1 {
            font-size: 28px;
        }

    .success-icon {
        width: 90px;
        height: 90px;
    }

        .success-icon i {
            font-size: 42px;
        }

    .application-summary {
        padding: 20px;
    }
}
