body {
    font-family: 'Source Sans Pro', sans-serif;
}
.btn {
    letter-spacing: normal;
    font-size: 14px;
}
.modal .btn-close {
    content: 'A';
}
.section {
    position: static;
}

table.t1 tr td {
    border-top: 1px solid #e3e3e3;
}

h4.seo_section {
    margin-top: 40px;
    padding: 5px;
    background: #ffcfcf;
    color: #dc3545;
    font-size: 16px;
}

.card.card-statistic-1 .card-header h4, .card.card-statistic-2 .card-header h4 {
    letter-spacing: normal;
}
.w_50 {width: 50px!important;}
.w_100 {width: 100px!important;}
.w_150 {width: 150px!important;}
.w_200 {width: 200px!important;}
.w_300 {width: 300px!important;}
.w_400 {width: 400px!important;}
.w_450 {width: 450px!important;}
.w_100_p {width: 100%!important;}

.h_100 {height: 100px!important;}
.h_150 {height: 150px!important;}
.h_200 {height: 200px!important;}
.h_300 {height: 300px!important;}
.h_350 {height: 350px!important;}
.h_400 {height: 400px!important;}

.fz_20 {font-size: 20px!important;}
.fz_30 {font-size: 30px!important;}
.fz_40 {font-size: 40px!important;}
.fz_50 {font-size: 50px!important;}

.c1 {
    color: #6777ef;
}

.hide {
    display: none;
}

.obfc1 {
    object-fit: cover;
    height: 200px;
}
.video-iframe-container iframe {
    width: 100%;
    height: 200px;
}

.bdb1 {border-bottom: 1px solid #d3d3d3;}

table tr td {
    border-bottom: 1px solid #e3e3e3 !important;
    vertical-align: middle!important;
}
.table.table-bordered td, .table.table-bordered th {
    border-color: #e3e3e3!important;
}

.sec-title {
    font-size: 16px;
    font-weight: 600;
    background: #eaeaea;
    padding: 8px 20px;
    color: #000;
    margin-bottom: 20px;
}
.section .section-header .btn {
    font-size: 14px!important;
}
.main-sidebar .sidebar-brand {
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}
.main-sidebar .sidebar-brand a {
    text-transform: none;
    letter-spacing: normal;
    font-size: 18px;
    font-weight: 600;
}
.main-sidebar .sidebar-menu li a {
    letter-spacing: normal;
    padding-left: 10px;
    padding-right: 10px;
    height: 40px;
}
.main-sidebar .sidebar-menu li a i {
    margin-right: 5px;
    margin-top: 5px;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li a {
    padding-left: 46px;
    font-size: 14px;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li a i {
    width: 18px;
    margin-right: 0;
}
.main-sidebar .sidebar-menu li a.has-dropdown:after {
    top: 55%;
}
.main-sidebar .sidebar-menu li.active a,
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    font-weight: 400;
}

.card.card-statistic-1 .card-header h4 {
    font-size: 16px;
}
table img {
    padding-top: 10px;
    margin-bottom: 10px;
}
.dataTables_wrapper {
    font-size: 14px!important;
}
thead tr th {
    border-top: 1px solid #ddd!important;
}
/* thead tr th:last-child {
    width: 120px;
} */
.border-box {
    border: 1px solid #d7d7d7!important;
}
.container-login {
    margin-top: 100px!important;
}
.card-header-auth {
    display: block!important;
    border-bottom-color: #fff!important;
    margin-top: 15px!important;
    padding-bottom: 10px!important;
    min-height: 0!important;
}
.card-header-auth h4 {
    font-size: 20px!important;
}
.card-body-auth {
    padding: 10px 20px!important;
}
.card-body-auth button {
    font-size: 14px!important;
}
.note-editor {
    margin-bottom: 0;
}
.form-control, .input-group-text,
.custom-select,
.custom-file-label,
.select2-container .select2-selection--multiple,
.select2-container .select2-selection--single,
.note-editor.note-frame {
    border-color: #d7d7d7!important;
}
.card .card-header {
    border-bottom-color: #ebebeb;
}
.custom-switch {
    padding-left: 0;
    padding-top: 10px;
}
#photo_preview {
    padding-top: 5px;
}
#photo_preview img.thumb {
    width: 300px;
}
.note-editor .note-btn {
    padding-left: 10px!important;
    padding-right: 10px!important;
}
.navbar .navbar-brand {
    letter-spacing: normal;
    text-transform: none;
}
.card-body-auth .invalid-feedback {
    font-size: 14px;
}
.form-group .control-label,
.form-group > label {
    font-size: 14px;
    padding-top: 10px;
    letter-spacing: normal;
    color: #000;
}
.form-label {
    color: #000;
    font-weight: 600;
}
.toggle-container .toggle {
    width: 96.8594px!important;
    height: 36px!important;
}
.navbar .nav-link.nav-link-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
img.profile-photo {
    width: 100%;
    height: auto;
}


img.template-preview {
    width: 100%;
    height: 145px;
    border-radius: 6px;
    border: 2px solid #757575;
}
.funkyradio div {
    overflow: hidden;
    width: 100%;
    float: left;
    margin-right: 20px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.funkyradio div span {
    font-size: 14px;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: 400;
    font-size: 13px;
    color: #000;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
    font-size: 14px!important;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    text-indent: 3.25em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #000;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #000;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #000;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #6777ef;
}

.funkyradio1 .funkyradio-success {
    width: 25%;
    font-size: 14px;
    float: left;
}

.funkyradio1 div {
    margin-bottom: 0!important;
}


/* Ajax Loader */
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.75) url(loading.gif) no-repeat center center;
    z-index: 10000;
}

.razorpay-payment-button {
    box-shadow: 0 2px 6px #acb5f6;
    background-color: #6777ef;
    border-color: #6777ef;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    padding: 5px 10px;
    color: #fff;
    border-style: none;
    border-radius: 4px;
    width: 100%;
}
.razorpay-payment-button:hover {
    background-color: #394eea!important;
}


.section .section-header .btn:hover,
.section-body button[type="submit"]:hover {
    /* background: linear-gradient(135deg, #FFA200 0%, #FF0100 100%)!important; */
}
/* table tr th:last-child {
    width: 200px;
} */
table.t2 tr th:last-child {
    width: auto!important;
}

td.social a {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.invoice hr {
    border-color: #dfdfdf;
}
hr.invoice-above-table {
    display: none;
}
@media print {
    .main-sidebar,
    .navbar,
    .section-header,
    .print-invoice-button,
    .section .section-title:before,
    hr.about-print-button {
        display:none!important;
    }
    .section .section-lead {
        margin-left: 0;
    }
    hr.invoice-above-table {
        display: block;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* TinyMCE Notification Off */
.tox .tox-notification {
    display: none !important;
}


.form-control.is-invalid, 
.was-validated .form-control:invalid {
    border-color: #dc3545!important;
}

.btn-block {
    width: 100%!important;
}
.w-100-p {
    width: 100%;
}
.rounded-circle-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 4px;
}

.custom-tab .nav-pills .nav-link {
    background: #d7e3f9;
    margin-bottom: 5px;
}
.custom-tab .nav-pills .nav-link.active {
    color: #fff!important;
    background-color: #6777ef!important;
}

#example1_paginate .page-item.active .page-link {
    color: #fff;
}

/* Enhanced Active Sidebar Styling */
.main-sidebar .sidebar-menu li.active > a {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 6px;
    margin: 2px 8px;
    box-shadow: 0 2px 6px rgba(255, 1, 0, 0.3);
}

.main-sidebar .sidebar-menu li.active > a i {
    color: #fff !important;
}

/* Active dropdown parent items */
.main-sidebar .sidebar-menu li.active > a.has-dropdown {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    color: #fff !important;
}

/* Active dropdown submenu items */
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    color: #FFF !important;
    font-weight: 600 !important;
    background-color: rgba(255, 1, 0, 0.1) !important;
    /* border-left: 3px solid #FF0100; */
    padding-left: 43px !important;
}

/* Hover effect for non-active items */
.main-sidebar .sidebar-menu li a:hover {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    color: #fff !important;
    border-radius: 6px;
    margin: 2px 8px;
}

.main-sidebar .sidebar-menu li a:hover i {
    color: #fff !important;
}

/* Dropdown menu background when parent is active */
.main-sidebar .sidebar-menu li.active ul.dropdown-menu {
    background-color: #fafafa !important;
    padding: 5px 0;
}

/* ======================================
   User Creation Page Styles
   ====================================== */

/* Modern Card Styling for User Creation */
.user-create-card .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.user-create-card .card-header {
    background-color: #fff;
    color: #FFA200;
    border-radius: 12px 12px 0 0 !important;
    padding: 18px 25px;
    border: none;
}

.user-create-card .card-header h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFA200 !important;
}

.user-create-card .card-body {
    padding: 30px 25px;
}

/* Step boxes for user creation */
.step-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-box.active {
    border-color: #FFA200;
    background-color: #fff8f0;
}

.step-box h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Form controls for user creation */
.user-create-card .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.user-create-card .form-control,
.user-create-card .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.user-create-card .form-control:focus,
.user-create-card .form-select:focus {
    border-color: #FFA200;
    box-shadow: 0 0 0 0.2rem rgba(255, 162, 0, 0.25);
}

.user-create-card .form-control:read-only {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* Button styling for user creation */
.user-create-card .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-create-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-create-card .btn-primary {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%);
    border: none;
    color: #fff;
}

.user-create-card .btn-primary:hover {
    background: linear-gradient(135deg, #FFA200 0%, #FF0100 100%);
}

.user-create-card .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

/* Alert styling for user creation */
.user-create-card .alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
}

/* Loading spinner */
.user-create-card .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ======================================
   Enhanced Sidebar Styles (from sidebar.blade.php)
   ====================================== */

/* Main sidebar gradient background */
.main-sidebar {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Sidebar scrollbar styling for better UX */
.main-sidebar::-webkit-scrollbar {
    width: 8px;
}

.main-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.main-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.main-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Ensure sidebar wrapper allows scrolling */
#sidebar-wrapper {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 50px; /* Extra padding at bottom for easier scrolling */
}

/* Sidebar brand styling */
.sidebar-brand a {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Menu header styling */
.menu-header {
    color: #ffd700 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Sidebar menu links */
.sidebar-menu a {
    color: #4b4b4b !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sidebar-menu a i {
    color: #ffa500 !important;
}

/* Hover effects */
.sidebar-menu a:hover {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    color: #fff !important;
    transform: translateX(5px);
}

.sidebar-menu a:hover i {
    color: #fff !important;
}

/* Active menu item */
.sidebar-menu li.active > a {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    color: #fff !important;
}

.sidebar-menu li.active > a i {
    color: #fff !important;
}

/* Dropdown menu - FIXED: Push content down instead of overlay */
.main-sidebar .sidebar-menu li ul.dropdown-menu {
    position: relative !important;
    display: none;
    background: rgba(0, 0, 0, 0.2) !important;
    margin: 0;
    padding: 5px 0;
    border: none;
    box-shadow: none;
}

/* Show dropdown when parent is active or has .active class */
.main-sidebar .sidebar-menu li.active > ul.dropdown-menu,
.main-sidebar .sidebar-menu li.dropdown.show > ul.dropdown-menu {
    display: block !important;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu a {
    padding-left: 35px !important;
}

/* Sidebar user section */
.sidebar-user {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar horizontal rule */
.main-sidebar hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 10px 0;
}

/* ======================================
   Job Management Forms (Create/Edit)
   ====================================== */

/* Form Section Styling */
fieldset {
    background: #fff;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

fieldset:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #FFA200 !important;
}

fieldset legend {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: auto;
    float: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Controls */
.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-label i {
    color: #FFA200;
    margin-right: 5px;
}

.form-label .text-danger {
    color: #dc3545 !important;
    margin-left: 3px;
}

.form-control, .form-select {
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #FFA200;
    box-shadow: 0 0 0 0.2rem rgba(255, 162, 0, 0.15);
}

.form-text {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.form-text i {
    margin-right: 4px;
    color: #FFA200;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    color: #FFA200;
    border-radius: 12px 12px 0 0 !important;
    padding: 18px 25px;
    border: none;
}

.card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFA200 !important;
}

.card-header i {
    margin-right: 10px;
    color: #FFA200 !important;
}

.card-body {
    padding: 30px 25px;
}

/* Button Styling */
.btn {
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn i {
    margin-right: 6px;
}

/* Input Groups with Icons */
.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.input-icon .form-control {
    padding-left: 38px;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-light:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Select2 Customization */
.select2-container--bootstrap-5 .select2-selection {
    border: 1.5px solid #ddd;
    min-height: 42px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #FFA200;
    box-shadow: 0 0 0 0.2rem rgba(255, 162, 0, 0.15);
}

/* Info Alert Box */
.info-box {
    background: #e7f3ff;
    border-left: 4px solid #0d6efd;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.info-box i {
    color: #0d6efd;
    margin-right: 10px;
    font-size: 1.1rem;
}

.info-box p {
    margin: 0;
    color: #004085;
    font-size: 0.9rem;
}

/* Checkbox Styling */
.form-check-input {
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.form-check-input:checked {
    background-color: #FFA200;
    border-color: #FFA200;
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 20px 15px;
    }

    fieldset {
        padding: 15px;
    }

    fieldset legend {
        font-size: 0.85rem;
        padding: 6px 15px;
    }
}

/* Validation Feedback */
.invalid-feedback {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
}

.is-invalid {
    border-color: #dc3545 !important;
}

/* Branch Allocation Table Styling */
#branch-allocation-table {
    margin-top: 15px;
}

#branch-allocation-table thead th {
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    border: none !important;
    color: white !important;
}

#branch-allocation-table tbody td {
    vertical-align: middle;
    padding: 12px 10px;
}

#branch-allocation-table tbody td input.form-control {
    text-align: center;
    font-weight: 500;
}

#branch-allocation-table tbody tr:hover {
    background-color: #f8f9fa;
}

#branch-allocation-table .total-vacancy-display {
    background-color: #e7f3ff !important;
    border: 2px solid #0d6efd !important;
    color: #0d6efd;
    font-weight: 700 !important;
}
/* ========================================
   Job Index Page Specific Styles
   ======================================== */

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.filter-section h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.filter-section h6 i {
    color: #0d6efd;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Form Controls */
.form-control, .form-select {
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Modern Table Styles */
.table-responsive {
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#jobsTable {
    border: none !important;
    border-collapse: separate;
    border-spacing: 0;
}

#jobsTable thead {
    background-color: #0d6efd !important;
}

#jobsTable thead th {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 15px 12px !important;
    border: none !important;
    vertical-align: middle;
}

#jobsTable tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

#jobsTable tbody tr:hover {
    background-color: #f0f7ff !important;
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

#jobsTable tbody td {
    padding: 12px !important;
    vertical-align: middle;
    border: none !important;
    color: #333;
    font-size: 0.9rem;
}

#jobsTable tbody tr:nth-child(even) {
    background-color: #fafafa;
}

#jobsTable tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Badge Styling */
.badge {
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* DataTables Pagination Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #0d6efd !important;
    border: none !important;
    color: white !important;
    border-radius: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #0a58ca !important;
    border: none !important;
    color: white !important;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #0d6efd;
    border-radius: 5px;
    padding: 5px 10px;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #0a58ca;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

/* Enhanced Dropdown Menu Styling */
#jobsTable tbody tr {
    position: relative;
}

#jobsTable tbody tr.dropdown-row-active {
    z-index: 1050 !important;
    position: relative !important;
}

.dropdown {
    position: static !important;
}

.dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 0.5rem 0 !important;
    min-width: 280px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    opacity: 1 !important;
    z-index: 1055 !important;
    position: absolute !important;
    margin-top: 0.125rem !important;
}

/* Three dots button styling */
.three-dots-btn {
    background-color: transparent !important;
    border: 1px solid #dee2e6 !important;
    color: #6c757d !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    min-width: 40px;
    min-height: 38px;
}

.three-dots-btn:hover {
    background-color: #f8f9fa !important;
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

.three-dots-btn:focus,
.three-dots-btn:active {
    background-color: #e9ecef !important;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
}

.dropdown-item {
    padding: 0.75rem 1.25rem !important;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    background-color: #ffffff !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
}

.dropdown-item i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    line-height: 1;
}

.dropdown-item-content {
    flex: 1;
    display: block;
}

.dropdown-item-content .fw-semibold {
    display: block;
    line-height: 1.3;
}

.dropdown-item-content small {
    display: block;
    line-height: 1.2;
    margin-top: 2px;
}

.dropdown-item:hover {
    padding-left: 1.5rem;
}

/* Edit Job hover - Primary color */
.dropdown-item:has(.text-primary):hover {
    background-color: #cfe2ff !important;
    border-left-color: #0d6efd;
}

/* Batch Vacancies hover - Info color */
.dropdown-item:has(.text-info):hover {
    background-color: #d1ecf1 !important;
    border-left-color: #0dcaf0;
}

/* Branch Allocation hover - Secondary color */
.dropdown-item:has(.text-secondary):hover {
    background-color: #e2e3e5 !important;
    border-left-color: #6c757d;
}

/* Delete hover - Danger color */
.dropdown-item.text-danger:hover {
    background-color: #f8d7da !important;
    border-left-color: #dc3545;
}

/* Disabled item - no hover effect */
.dropdown-item.disabled:hover {
    background-color: #ffffff !important;
    border-left-color: transparent !important;
    padding-left: 1.25rem;
    cursor: not-allowed;
}

.dropdown-item.disabled {
    background-color: #ffffff !important;
    color: #6c757d !important;
}

.dropdown-item .fw-semibold {
    font-size: 0.9rem;
    color: #333;
}

.dropdown-item small {
    font-size: 0.75rem;
    line-height: 1.2;
}

.dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* Button Styles (Additional) */
.btn-primary {
    background-color: #0d6efd;
    border: none;
}

.btn-primary:hover {
    background-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* ======================================
   Candidate Profile Pages (Experience, Skills, Qualifications)
   Shared Styles for Consistency
   ====================================== */

/* Body and Container */
.candidate-profile-page body {
    background: #f5f7fa;
    min-width: 800px;
}

.candidate-profile-page .profile-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Header */
.candidate-profile-page .page-header {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.candidate-profile-page .page-header h1 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    padding: 0 2rem;
}

/* Profile Card */
.candidate-profile-page .profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.candidate-profile-page .profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Card Header */
.candidate-profile-page .card-header-custom {
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e8ecf1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.candidate-profile-page .card-header-custom h5 {
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.candidate-profile-page .card-header-custom h5 i {
    color: #FFA200;
}

/* Card Body */
.candidate-profile-page .card-body-custom {
    padding: 2rem;
}

/* Buttons */
.candidate-profile-page .bg-website {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.candidate-profile-page .bg-website:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    color: white;
}

.candidate-profile-page .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.candidate-profile-page .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.candidate-profile-page .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.candidate-profile-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.candidate-profile-page .btn-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.candidate-profile-page .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    color: white;
}

.candidate-profile-page .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.candidate-profile-page .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Table Styles */
.candidate-profile-page .table-responsive {
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.candidate-profile-page .table-responsive::-webkit-scrollbar {
    height: 8px;
}

.candidate-profile-page .table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.candidate-profile-page .table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, #FF0100, #FFA200);
    border-radius: 10px;
}

.candidate-profile-page .table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to right, #DC0000, #FF8C00);
}

.candidate-profile-page .table {
    margin: 0;
    width: 100%;
}

.candidate-profile-page .table thead {
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
}

.candidate-profile-page .table thead th {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem;
    border-bottom: 2px solid #e8ecf1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.candidate-profile-page .table tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: #4a5568;
    font-size: 0.95rem;
}

.candidate-profile-page .table tbody tr {
    transition: background-color 0.2s ease;
}

.candidate-profile-page .table tbody tr:hover {
    background-color: #f7fafc;
}

/* Modern Table Wrapper */
.candidate-profile-page .modern-table-wrapper {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(255, 1, 0, 0.15);
    border: 1px solid rgba(255, 162, 0, 0.2);
}

.candidate-profile-page .modern-table-wrapper .table thead {
    background: #ffe8d9;
}

.candidate-profile-page .modern-table-wrapper .table thead th {
    background: transparent;
    color: #333;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 1rem 1.25rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.candidate-profile-page .modern-table-wrapper .table thead th i {
    color: #FFA200;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.candidate-profile-page .modern-table-wrapper .table tbody td {
    padding: 1.25rem 1.25rem;
    vertical-align: middle;
    color: #4a5568;
    font-size: 0.95rem;
    border-bottom: 1px solid #e2e8f0;
}

.candidate-profile-page .modern-table-wrapper .table tbody tr {
    transition: all 0.2s ease;
    border: none;
}

.candidate-profile-page .modern-table-wrapper .table tbody tr:hover {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d9 50%, #fff5f0 100%);
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(255, 100, 0, 0.15);
}

.candidate-profile-page .modern-table-wrapper .table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.candidate-profile-page .qualification-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%);
    color: white;
}

.candidate-profile-page .date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.candidate-profile-page .date-badge i {
    color: #FFA200;
}

/* Action Buttons */
.candidate-profile-page .action-button-group {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.candidate-profile-page .action-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.candidate-profile-page .action-btn:hover {
    transform: translateY(-3px);
}

.candidate-profile-page .action-btn i {
    font-size: 0.9rem;
}

.candidate-profile-page .btn-edit {
    background: linear-gradient(135deg, #FFA200 0%, #FF8C00 100%);
    color: white;
}

.candidate-profile-page .btn-edit:hover {
    box-shadow: 0 4px 12px rgba(255, 162, 0, 0.6);
}

.candidate-profile-page .btn-delete {
    background: linear-gradient(135deg, #FF0100 0%, #DC0000 100%);
    color: white;
}

.candidate-profile-page .btn-delete:hover {
    box-shadow: 0 4px 12px rgba(255, 1, 0, 0.6);
}

.candidate-profile-page .btn-view {
    background: #007bff;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
    border: none;
}

.candidate-profile-page .btn-view:hover {
    background: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Certificate Number Badge */
.candidate-profile-page .cert-number {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d9 100%);
    border: 1px solid #FFA200;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    color: #FF0100;
    display: inline-block;
}

/* No Attachment State */
.candidate-profile-page .no-attachment {
    color: #94a3b8;
    font-size: 0.875rem;
    font-style: italic;
}

/* Disabled & Restricted States */
.candidate-profile-page .disabled-action-form {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.candidate-profile-page .restricted-action {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alerts */
.candidate-profile-page .alert-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    color: #0c4a6e;
    padding: 1.5rem;
    font-size: 1rem;
}

.candidate-profile-page .alert-info strong {
    color: #0369a1;
}

.candidate-profile-page .alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 12px;
    color: #92400e;
    padding: 1.5rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.candidate-profile-page .alert-warning strong {
    color: #78350f;
}

.candidate-profile-page .alert-warning i {
    color: #f59e0b;
}

/* Form Elements (for Add Qualification page) */
.candidate-profile-page .form-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
}

.candidate-profile-page .form-control,
.candidate-profile-page .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.candidate-profile-page .form-control:focus,
.candidate-profile-page .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.candidate-profile-page .form-control-file {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    display: block;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.candidate-profile-page .form-control-file:hover {
    border-color: #667eea;
    background-color: #f7fafc;
}

.candidate-profile-page #fileSizeAlert,
.candidate-profile-page #formAlert {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.candidate-profile-page #driverInfo {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.candidate-profile-page #driverInfo p {
    margin-bottom: 0.75rem;
    color: #0c4a6e;
    font-size: 0.95rem;
}

.candidate-profile-page #driverInfo strong {
    color: #0369a1;
    font-weight: 600;
}

.candidate-profile-page .spinner-border {
    color: #FFA200;
}

.candidate-profile-page #page-loading {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.candidate-profile-page #page-loading strong {
    color: #92400e;
}

/* Modal Styles */
.candidate-profile-page .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.candidate-profile-page .modal-header {
    background: linear-gradient(135deg, #FF0100 0%, #FFA200 100%) !important;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px 16px 0 0;
    border: none;
}

.candidate-profile-page .modal-title {
    color: white !important;
    font-weight: 600;
    margin: 0;
}

.candidate-profile-page .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.candidate-profile-page .modal-header .btn-close:hover {
    opacity: 1;
}

.candidate-profile-page .modal-body {
    padding: 2rem;
}

.candidate-profile-page .modal-footer {
    padding: 1.5rem 2rem;
    background: #f6f8fb;
    border-top: 2px solid #e8ecf1;
    border-radius: 0 0 16px 16px;
}

.candidate-profile-page .btn-secondary {
    background: #718096;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.candidate-profile-page .btn-secondary:hover {
    background: #4a5568;
    transform: translateY(-2px);
}

/* Animation for table rows */
@keyframes candidateTableFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.candidate-profile-page .table tbody tr {
    animation: candidateTableFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.candidate-profile-page .table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.candidate-profile-page .table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.candidate-profile-page .table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.candidate-profile-page .table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.candidate-profile-page .table tbody tr:nth-child(5) { animation-delay: 0.5s; }
.candidate-profile-page .table tbody tr:nth-child(n+6) { animation-delay: 0.6s; }

/* Table Column Widths for Better Layout */
.candidate-profile-page .modern-table-wrapper .table th:nth-child(1),
.candidate-profile-page .modern-table-wrapper .table td:nth-child(1) {
    width: 60px;
    white-space: nowrap;
}

.candidate-profile-page .modern-table-wrapper .table th:nth-child(6),
.candidate-profile-page .modern-table-wrapper .table td:nth-child(6) {
    width: 120px;
    white-space: nowrap;
    text-align: center;
}

.candidate-profile-page .modern-table-wrapper .table th:nth-child(7),
.candidate-profile-page .modern-table-wrapper .table td:nth-child(7) {
    width: 120px;
    white-space: nowrap;
    text-align: center;
}

.candidate-profile-page .modern-table-wrapper .table td {
    white-space: nowrap;
}

/* Ensure table wrapper allows horizontal scroll */
.candidate-profile-page .modern-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive */
@media (max-width: 768px) {
    .candidate-profile-page .card-header-custom {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-profile-page .table-responsive {
        font-size: 0.875rem;
    }

    .candidate-profile-page .table thead th {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
    }

    .candidate-profile-page .table tbody td {
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
    }

    .candidate-profile-page .qualification-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .candidate-profile-page .action-btn {
        width: 32px;
        height: 32px;
    }

    .candidate-profile-page .btn-success {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   MODERN NOTIFICATION PANEL STYLES
   ============================================ */

/* Notification Bell Button */
.notification-wrapper {
    position: relative;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    transform: scale(1.1);
}

.notification-bell .fa-bell {
    color: white;
    transition: color 0.3s ease;
}

.notification-bell:hover .fa-bell {
    animation: bellRing 0.5s ease-in-out;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Notification Panel Container */
.notification-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 9999;
    width: 420px;
    max-width: 90vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notification-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Panel Header */
.notification-panel-header {
    padding: 18px 20px;
    background: #ff6b35;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
}

.notification-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.notification-header-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-action:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
    transform: scale(1.05);
}

/* Notification List */
.notification-list {
    max-height: 500px;
    overflow-y: auto;
    background: #ffffff;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Notification Item */
.notification-item {
    position: relative;
    background: white;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
}

.notification-item:hover {
    background: #f8f9fb;
    transform: translateX(-3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: #fff8f5;
    border-left: 4px solid #ff6b35;
}

.notification-item.unread:hover {
    background: #fff3ed;
}

/* Notification Link */
.notification-link {
    flex: 1;
    display: flex;
    gap: 15px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.notification-link:hover {
    text-decoration: none;
}

/* Notification Icon */
.notification-icon {
    flex-shrink: 0;
}

.notification-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.notification-icon-circle.bg-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
}

.notification-icon-circle.bg-success {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
}

.notification-icon-circle.bg-danger {
    background: linear-gradient(135deg, #f56565 0%, #fc8181 100%);
}

.notification-icon-circle.bg-warning {
    background: linear-gradient(135deg, #ed8936 0%, #f6ad55 100%);
}

/* Notification Content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-subject {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    margin-bottom: 4px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.notification-message {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 6px;
    word-wrap: break-word;
    transition: color 0.3s ease;
}

.notification-time {
    font-size: 0.75rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hover effect - Orange text */
.notification-item:hover .notification-subject {
    color: #ff6b35;
}

.notification-item:hover .notification-message {
    color: #ff8c5a;
}

.notification-time i {
    font-size: 0.7rem;
}

/* Unread Dot Indicator */
.notification-unread-dot {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #139c35;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(53, 255, 97, 0.2);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

/* Delete Button */
.notification-delete {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: #e2e8f0;
    border: 1px solid #cbd5e0;
    color: #718096;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    z-index: 10;
}

.notification-item:hover .notification-delete {
    display: flex;
}

.notification-delete:hover {
    background: #fc8181;
    border-color: #fc8181;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Empty State */
.notification-empty {
    padding: 60px 20px;
    text-align: center;
    color: #cbd5e0;
}

.notification-empty i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.4;
    color: #a0aec0;
}

.notification-empty p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #718096;
}

/* Panel Footer */
.notification-panel-footer {
    padding: 14px 20px;
    background: #fafbfc;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.notification-count-text {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 480px) {
    .notification-panel {
        width: 100vw;
        max-width: 100vw;
        border-radius: 16px 16px 0 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .notification-panel.show {
        transform: translateX(-50%) translateY(0);
    }

    .notification-icon-circle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .notification-subject {
        font-size: 0.9rem;
    }

    .notification-message {
        font-size: 0.8rem;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .notification-panel {
        background: #1a202c;
    }

    .notification-list {
        background: #2d3748;
    }

    .notification-item {
        background: #1a202c;
        border-bottom-color: #2d3748;
    }

    .notification-item:hover {
        background: #2d3748;
    }

    .notification-item.unread {
        background: #2c1f1f;
    }

    .notification-subject {
        color: #e2e8f0;
    }

    .notification-message {
        color: #cbd5e0;
    }

    .notification-panel-footer {
        background: #1a202c;
        border-top-color: #2d3748;
    }
}

/* Footer Full Width Fix */
.footer,
.footer-bottom {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

.footer .container-fluid,
.footer-bottom .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.footer .row,
.footer-bottom .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
