.table:not(.table-dark) {
    color: inherit;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    background-color: transparent;
}

table {
    border-collapse: collapse;
}

.table td,
.table th {
    border: 1px solid #dee2e6;
    vertical-align: middle;
    padding: .75rem;
}

.table-header a {
    color: #000;
    font-weight: bold
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

/* ============================ */
.project-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-agent {
    text-decoration: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn-agent:hover {
    opacity: 0.8;
}

.btn-primary-agent {
    background-color: #007bff;
}
.btn-success-agent {
    background-color: #1e7e34;
}

.btn-info-agent {
    background-color: #17a2b8;
}

.btn-danger-agent {
    background-color: #dc3545;
}

.table input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.apply-course-btn{
    border: 2px solid #3e8cc4;
    max-width: 300px;
}
/* Card header with multiple action buttons */
.card-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.card-header-actions .add-new-btn {
    margin: 0;
}



@media (min-width: 767px) {

    .listing-actions select,
    .listing-actions input[type="button"] {
        margin-left: 0;
        width: 100%;
    }
}

.listing-actions select {
    background-image: url(/img/multiselect-arrow.png);
    background-repeat: no-repeat;
    background-position: 97.5% 50%;
    background-size: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 278px !important;
    height: 40px !important;
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    float: left;
}

.listing-actions input {
    padding: 6.5px 11px;
    float: left;
}

@media (min-width: 767px) {

    .listing-actions select,
    .listing-actions input[type="button"] {
        margin-left: 0;
        width: 100%;
    }
}

.listing-actions input[type="button"] {
    width: 80px !important;
    height: 40px;
    border: 1px solid #B1BEBE;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    color: #707070 !important;
    margin-left: 15px;
    font-weight: bold;
    cursor: pointer;
}

.multi_select_operations.bulk-actions label {
    font-weight: 700;
    font-size: 15px;
    color: #707070;
}

@media (min-width: 767px) {
    .listing-actions label {
        display: block;
    }
}


.add-new-btn {
    margin: 10px 0;
    float: right !important;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: -40px;
}

/* ================================
   Empty State Styles
   ================================ */

.empty-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 400px;
}

.empty-state-icon {
    font-size: 80px;
    color: #007bff;
    margin-bottom: 25px;
    opacity: 0.8;
    animation: fadeInUp 0.6s ease-in-out;
}

.empty-state-icon i {
    display: inline-block;
}

.empty-state-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-in-out 0.1s both;
}

.empty-state-description {
    font-size: 16px;
    color: #6c757d;
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease-in-out 0.2s both;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-in-out 0.3s both;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

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

.btn-secondary-agent {
    background-color: #6c757d;
    color: white;
}

.btn-secondary-agent:hover {
    background-color: #5a6268;
    color: white;
}


/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .empty-state-container {
        padding: 40px 15px;
        min-height: 350px;
    }

    .empty-state-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .empty-state-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .empty-state-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .empty-state-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .empty-state-help {
        padding: 12px 15px;
    }

    .empty-state-help p {
        font-size: 13px;
    }
}

/* ================================
   Form Action Buttons
   ================================ */

.container-btn-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 0;
    margin-top: 10px;
}

.container-btn-form .btn {
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.container-btn-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.container-btn-form .btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

.container-btn-form .btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

.container-btn-form .btn-primary {
    background-color: #007bff;
    color: #fff;
}

.container-btn-form .btn-primary:hover {
    background-color: #0069d9;
    color: #fff;
}

/* ================================
   Student View Card Styles
   ================================ */

.card-header-actions {
    display: flex;
    gap: 10px;
    float: right;
    margin-top: -35px;
}

.card-header-actions .btn-agent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.student-view-card {
    padding: 20px;
}

.view-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.view-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.view-section-title {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-section-title i {
    color: #007bff;
    font-size: 16px;
}

.view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 30px;
}

.view-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.view-label {
    font-size: 13px;
    font-weight: bold;
    /* color: #6c757d; */
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.view-value {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 400;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-active {
    background-color: #d4edda;
    color: #155724;
}

.badge-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .card-header-actions {
        float: none;
        margin-top: 10px;
        justify-content: flex-start;
    }

    .view-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ================================
   Agent Course Card Header Override
   ================================ */

.container-courses .course-card .course-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.container-courses .course-card .course-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    padding: 4px;
    flex-shrink: 0;
}

.container-courses .course-card .course-card-uni-name {
    font-size: 15px;
    font-weight: 600;
    color: #263238;
    line-height: 1.3;
}

.container-courses .course-card .course-card-level {
    display: block;
    font-size: 13px;
    color: #00897b;
    font-weight: 500;
    margin-bottom: 4px;
}

.container-courses .course-card .title {
    font-size: 1.2rem;
    text-decoration: underline;
}

.container-courses .course-card .course-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.container-courses .course-card .course-card-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #546e7a;
}

.container-courses .course-card .course-card-info-icon {
    color: #90a4ae;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.container-courses .course-card .course-card-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 0 0 14px 0;
}

.container-courses .course-card {
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
}

.section-user-login-step .progress-bar-label {
    /* white-space: nowrap; */
}

.header-counsellor .details-profile .image {
    border: none;
}

.app-step-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #263238;
    margin-left: 14px;
    margin-top: 14px;
}


.form-area textarea {
    height: 260px !important;
}

/* Select dropdown arrow styling */
.form-area select,
.profile-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    padding-right: 35px !important;
}

/* ============================================= */
/* Agent Dashboard Styles */
/* ============================================= */

.agent-dashboard {
    padding: 20px;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
    color: #263238;
    margin: 0;
}

/* Overview Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-card-primary {
    border-left-color: #007bff;
}

.stat-card-info {
    border-left-color: #17a2b8;
}

.stat-card-success {
    border-left-color: #28a745;
}

.stat-card-warning {
    border-left-color: #ffc107;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-card-primary .stat-icon {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.stat-card-info .stat-icon {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.stat-card-success .stat-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-card-warning .stat-icon {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #263238;
    margin: 0 0 4px 0;
}

.stat-label {
    font-size: 14px;
    color: #546e7a;
    margin: 0;
    font-weight: 500;
}

.stat-hint {
    font-size: 11px;
    color: #90a4ae;
    display: block;
    margin-top: 4px;
}

/* Dashboard Sections */
.dashboard-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #263238;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #007bff;
}

/* Status Breakdown */
.status-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-name {
    font-size: 14px;
    font-weight: 500;
    color: #263238;
}

.status-count {
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.status-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.status-progress {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.empty-message {
    text-align: center;
    color: #90a4ae;
    padding: 40px 0;
    font-size: 16px;
}

/* Commission Cards */
.commission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.commission-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: transform 0.2s;
}

.commission-card:hover {
    transform: translateY(-2px);
}

.commission-card-highlight {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.commission-card-highlight .commission-amount,
.commission-card-highlight .commission-label,
.commission-card-highlight .commission-period {
    color: white;
}

.commission-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #007bff;
}

.commission-card-highlight .commission-icon {
    color: white;
}

.commission-details {
    flex: 1;
}

.commission-amount {
    font-size: 24px;
    font-weight: 700;
    color: #263238;
    margin: 0 0 4px 0;
}

.commission-label {
    font-size: 13px;
    color: #546e7a;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.commission-period {
    font-size: 11px;
    color: #90a4ae;
}

.commission-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #856404;
}

.commission-note i {
    color: #ffc107;
    font-size: 16px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.action-btn i {
    font-size: 32px;
}

.action-btn span {
    font-size: 14px;
}

.action-btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.action-btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.action-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.action-btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .commission-cards {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .stat-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* Agent Applications - Student Info Styling */
/* ============================================= */

.program-student-info {
    margin-bottom: 12px;
}

.student-name-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #263238;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}

.student-name-link:hover {
    color: #007bff;
}

.student-name-link i {
    font-size: 18px;
    color: #546e7a;
}

.student-name-link:hover i {
    color: #007bff;
}

.student-name-link span {
    flex: 1;
}

/* ============================================= */
/* Filter Form Styling */
/* ============================================= */

#filter {
    margin-bottom: 20px;
}

.openCloseFilters {
    background: #007bff !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 15px;
    max-width: 180px;
}

.openCloseFilters:hover {
    background: #0056b3 !important;
}

#filterform {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#filterform .row {
    margin-bottom: 0;
}

#filterform .form-group {
    margin-bottom: 15px;
}

#filterform label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
    display: block;
}

#filterform .form-control,
#filterform .INPUT {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    transition: border-color 0.2s;
}

#filterform .form-control:focus,
#filterform .INPUT:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.FilterAction {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.FilterAction .submit {
    flex: 1;
}

.FilterAction .reset {
    flex: 1;
    margin: 0;
}

.FilterAction input[type="submit"] {
    background: #28a745 !important;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    height: 42px;
    font-size: 14px;
}

.FilterAction input[type="submit"]:hover {
    background: #218838 !important;
}

.FilterAction input[type="reset"],
#FilterClear {
    background: #6c757d !important;
    border: none !important;
    color: white;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s !important;
    width: 100%;
    height: 42px !important;
    font-size: 14px !important;
    margin-bottom: -14px;
}

.FilterAction input[type="reset"]:hover,
#FilterClear:hover {
    background: #5a6268 !important;
}

/* Datepicker input styling */
.hasDate {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #filterform .col-md-3,
    #filterform .col-md-2 {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .FilterAction {
        flex-direction: column;
    }
}

/* ============================================= */
/* Info/Tip Box Styling */
/* ============================================= */

.info-box-tip {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
    border-left: 4px solid #007bff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-box-tip .info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.info-box-tip .info-content {
    flex: 1;
}

.info-box-tip .info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #263238;
    margin: 0 0 8px 0;
}

.info-box-tip .info-content p {
    font-size: 14px;
    color: #546e7a;
    margin: 0;
    line-height: 1.6;
}

.info-box-tip .info-content {
    padding-left: 0px !important;
}

/* ============================================= */
/* Application Actions Buttons */
/* ============================================= */

.application-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.application-actions .status-button {
    flex: 1;
    min-width: 120px;
}

.application-actions .view-button {
    padding: 8px 16px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
}

.application-actions .view-button:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .application-actions {
        flex-direction: column;
    }
    
    .application-actions .status-button,
    .application-actions .view-button {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   Notification Bell Styles
   ================================ */

.notification-bell-wrapper {
    position: relative;
    display: inline-block;
}

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

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

.notification-bell i {
    font-size: 22px;
    color: #333;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Notifications Dropdown */
.notifications-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -20px;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.notification-bell-wrapper:hover .notifications-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow at the top */
.notifications-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.notifications-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.notifications-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mark-all-read {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.mark-all-read:hover {
    text-decoration: underline;
}

/* Notifications List */
.notifications-list {
    max-height: 350px;
    overflow-y: auto;
}

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

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

.notifications-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Notification Item */
.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e7f3ff;
}

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

/* Notification Icon */
.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 18px;
    color: white;
}

.notification-icon.student {
    background-color: #28a745;
}

.notification-icon.application {
    background-color: #007bff;
}

.notification-icon.approved {
    background-color: #17a2b8;
}

.notification-icon.payment {
    background-color: #ffc107;
}

.notification-icon.payment i {
    color: #333;
}

.notification-icon.commission {
    background-color: #6f42c1;
}

.notification-icon.general {
    background-color: #6c757d;
}

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

.notification-content h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.notification-content p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: #999;
}

/* Unread Dot */
.notification-dot {
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.notification-item:not(.unread) .notification-dot {
    display: none;
}

/* Notifications Footer */
.notifications-footer {
    padding: 12px 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    background: #f8f9fa;
}

.view-all {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.view-all:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .notifications-dropdown {
        width: 320px;
        right: -50px;
    }
    
    .notifications-dropdown::before {
        right: 60px;
    }
}

/* ================================
   Student Import Page Styles
   ================================ */

.import-instructions-box,
.import-notes-box {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 6px;
}

.import-notes-box {
    border-left-color: #ffc107;
    background: #fff9e6;
}

.import-instructions-header,
.import-notes-header {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-instructions-header i {
    color: #007bff;
}

.import-notes-header i {
    color: #ffc107;
}

.import-instructions-content ol,
.import-notes-content ul {
    margin: 0;
    padding-left: 20px;
    color: #495057;
    line-height: 1.8;
}

.import-instructions-content ol li,
.import-notes-content ul li {
    margin-bottom: 8px;
}

.import-download-section {
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e3e8ef;
}

.download-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-section-subtitle {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 14px;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.btn-download-primary {
    grid-column: 1 / -1;
    padding: 16px 30px;
    font-size: 17px;
}

.btn-download-ref {
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.btn-download-ref i {
    font-size: 20px;
}

.btn-download-primary i {
    font-size: 22px;
}

.btn-lg-agent {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
}

.import-upload-section {
    background: #ffffff;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.import-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.import-upload-section .form-area {
    margin-bottom: 25px;
}

.import-upload-section .form-area label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #495057;
}

.import-upload-section .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.form-text-muted {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6c757d;
}

.import-reference-section {
    margin-top: 40px;
}

.import-reference-table {
    font-size: 14px;
}

.import-reference-table thead {
    background: #f8f9fa;
}

.import-reference-table th {
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
    padding: 12px;
}

.import-reference-table td {
    padding: 10px 12px;
    vertical-align: middle;
}

.import-reference-table code {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 13px;
    color: #c7254e;
    font-family: Consolas, Monaco, monospace;
}

.import-reference-table .badge {
    font-size: 11px;
    padding: 4px 10px;
    font-weight: 600;
    border-radius: 12px;
}

.badge-required {
    background: #dc3545;
    color: white;
}

.badge-optional {
    background: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .import-download-section {
        padding: 20px 15px;
    }
    
    .download-buttons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .btn-download-primary {
        grid-column: 1;
    }
    
    .import-upload-section {
        padding: 20px 15px;
    }
    
    .import-instructions-box,
    .import-notes-box {
        padding: 15px 18px;
    }
    
    .btn-lg-agent {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========================================
   Visa Form Radio Buttons Styling
   ======================================== */
.form-area input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #1976d2;
    flex-shrink: 0;
}

.form-area label:has(input[type="radio"]) {
    margin-bottom: 0;
}

/* Optional: Custom styled radio buttons */
.form-area input[type="radio"]:checked {
    background-color: #1976d2;
}

.form-area input[type="radio"]:hover {
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.form-area input[type="radio"]:focus {
    outline: 2px solid rgba(25, 118, 210, 0.4);
    outline-offset: 2px;
}

/* ========================================
   Stage Read-Only Panel Styles
   ======================================== */
.stage-readonly-container {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.stage-readonly-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.stage-readonly-title {
    margin-bottom: 8px;
}

.stage-readonly-message {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.stage-admin-note-banner {
    margin-top: 18px;
}

/* Commission Info Box */
.commission-info-box {
    margin-top: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-left: 4px solid #2e7d32;
    border-radius: 4px;
}

.commission-info-title {
    margin: 0 0 12px 0;
    color: #2e7d32;
}

.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.commission-field-label {
    color: #666;
    display: block;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.commission-amount-value {
    color: #2e7d32;
}

.commission-status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    display: inline-block;
}

.commission-status-pending {
    background: #ff9800;
}

.commission-status-approved {
    background: #2196f3;
}

.commission-status-paid {
    background: #4caf50;
}

.commission-actions {
    margin-top: 12px;
}

.commission-view-all-btn {
    text-decoration: none;
    padding: 6px 12px;
    background: #1976d2;
    color: white;
    border-radius: 4px;
    display: inline-block;
}

.commission-view-all-btn:hover {
    background: #1565c0;
    color: white;
    text-decoration: none;
}

.margin-t-b-20{
    margin-top: 20px;
    margin-bottom: 20px;
}