body {
        border: 1px solid #dee2e6;
    }

/* Driver List Styles */
.schools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.school-badge {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    color: #495057;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #495057;
}

.table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
}

.btn-group .btn {
    padding: 5px 10px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.stat-box {
    background: #FFF;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.sidebar-icon {
    font-size: 20px;
}

.sidebar-icon i {
    font-size: 20px;
}

.sidebar-icon h3 {
    font-size: 16px;
}

.navbar-menu ul li a {
    font-size: 16px;
}

.navbar-menu ul li a i {
    font-size: 20px;
}

.navbar-menu ul li a h3 {
    font-size: 16px;
}

.pages {
    font-size: 16px;
}

.pages i {
    font-size: 20px;
    color: #495057; 
}

main {
    /* max-height: calc(100vh - 106px); */
    max-height: 100vh ;
    overflow-y: auto;
}

.header-wallet a {
    font-size : 18px ;
    color : #fff;
}

.headColor{
    background-color: #6c757d;
    color: white;
}

.custom-thead th {
    background-color: #6c757d !important;
    color: white !important;
}

/* Slider Styles */
.slider-container {
    /* margin: 20px 0; */
    /* border-radius: 10px; */
    
    /* margin: 20px 0; */
    /* border-radius: 10px; */
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    margin-top: 0px;
    padding: 20px;
    border-radius: 10px;
}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}
.slider-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.slider-content {
    text-align: center;
    padding: 20px;
    background-color: rgba(25, 150, 117, 0.8);
    border-radius: 10px;
    max-width: 80%;
}

/* Box Styles */
.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.info-box {
    background: #FFF;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-box i {
    font-size: 40px;
    color: #6c757d;
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #495057;
}

.info-box p {
    color: #6c757d;
    font-size: 14px;
}

/* Footer Styles */
.main-footer {
    background-color: #6c757d;
    color: white;
    padding: 30px 0 15px;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255,255,255,0.5);
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: rgba(255,255,255,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Floating Notification Button */
.notify-floating-btn {
    position: fixed;
    bottom: 85px;               /* above bottom navbar */
    right: 20px;
    padding: 14px 20px;
    background: #199675;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(25,150,117,0.35);
    transition: 0.3s ease;
}

.notify-floating-btn:hover {
    background: #157d61;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(25,150,117,0.45);
}

.notify-floating-btn i {
    font-size: 18px;
}

/* Hide on small popup dismiss animation */
.notify-floating-btn.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .4s ease;
}

    .bottom-nav-modern {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 68px;
        background: rgba(255, 255, 255, 1) ;
        backdrop-filter: blur(14px);
        display: flex;
        justify-content: space-around;
        padding: 8px 0 10px;
        box-shadow: 0 -6px 28px rgba(0,0,0,0.15);
        z-index: 999;
    }

    /* Each Navigation Item */
    .bottom-link {
        text-decoration: none;
        color: #6c757d;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        transition: 0.3s;
    }

    .bottom-link:hover {

        color: #495057 ;

    }

    /* Icons in Circle Background */
    .icon-wrap {
        width: 42px;
        height: 42px;
        background: #f1f1f1;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }

    .bottom-link:hover .icon-wrap {
        background: #495057;
        color: #fff;
        transform: translateY(-4px);
        box-shadow: 0 6px 14px rgba(25,150,117,0.35);
    }

    .icon-wrap i {
        font-size: 18px;
    }

    
    .app-header {
        backdrop-filter: blur(15px);
        background: rgba(255,255,255,0.70);
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid #e7e7e7;
        padding: 10px 0;
    }

    .app-header-inner {
        max-width: 1250px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header-logo {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

    .header-title {
        font-weight: 700;
        font-size: 22px;
        margin: 0;
        color: #333;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Notification Button */
    .notify-btn {
        position: relative;
        font-size: 22px;
        color: #444;
    }

    .notify-count {
        position: absolute;
        top: -4px;
        right: -6px;
        background: #dc3545;
        padding: 2px 6px;
        border-radius: 10px;
        font-size: 11px;
        color: #fff;
    }

    .menu-btn i {
        font-size: 24px;
        color: #444;
    }

    /* Dropdown */
    .notify-dropdown {
        width: 300px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
        border-radius: 12px;
    }
    
    
/* ---------- BOTTOM NAVBAR ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.1);
    z-index: 999;
}

.bottom-item {
    text-align: center;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-item:hover {
    color: #495057;
}

.center-btn {
    background: #495057;
    padding: 12px 16px;
    border-radius: 14px;
    margin-top: -20px;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* ---------- SIDEBAR STYLING ---------- */
.custom-sidebar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255,255,255,0.3);
    padding: 0;
}

/* Header */
.sidebar-header {
    padding: 20px;
    text-align: center;
}

.sidebar-logo {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    color: #333;
}

/* Profile Section */
.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
}

.profile-avatar {
    width: 45px;
    height: 45px;
    background: #495057;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Menu */
.sidebar-menu {
    list-style: none;
    padding: 15px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 22px;
    font-size: 16px;
    color: #333;
    gap: 15px;
    transition: 0.2s;
    border-radius: 14px;
}

.sidebar-menu li a:hover {
    background: rgba(25,150,117,0.15);
    color: #495057;
    transform: translateX(5px);
}

.sidebar-menu li a i {
    font-size: 18px;
}

/* Creative Close Button */
.close-btn {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.close-btn i {
    font-size: 22px;
    color: #333;
    transition: 0.25s;
}

/* Hover Effects */
.close-btn:hover {
    background: rgba(25,150,117,0.20);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transform: rotate(90deg);
}

.close-btn:hover i {
    color: #495057;
} 

body {
    /* background: #FFF; */
    border: 1px solid #dee2e6;
    /* padding: 10px; */
    /* border-radius: 10px; */
}

/* Driver List Styles */
.schools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.school-badge {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    color: #495057;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #495057;
}

.table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
}

.btn-group .btn {
    padding: 5px 10px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.stat-box {
    background: #FFF;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.sidebar-icon {
    font-size: 20px;
}

.sidebar-icon i {
    font-size: 20px;
}

.sidebar-icon h3 {
    font-size: 16px;
}

.sidebar-icon i {
    font-size: 20px;
}

.sidebar-icon h3 {
    font-size: 16px;
}

.navbar-menu ul li a {
    font-size: 16px;
}

.navbar-menu ul li a i {
    font-size: 20px;
}

.navbar-menu ul li a h3 {
    font-size: 16px;
}

.navbar-menu ul li a i {
    font-size: 20px;
}

.navbar-menu ul li a h3 {
    font-size: 16px;
}

.navbar-menu ul li a i {
    font-size: 20px;
}

.sidebar-icon {
    font-size: 20px;
    color: #495057;
}

.pages {
    font-size: 16px;
}

.pages i {
    font-size: 20px;
    color: #495057; 
}
main {
    /* max-height: calc(100vh - 106px); */
    overflow-y: auto;
}

.header-wallet a {
    font-size : 18px ;
    color : #fff;
}
    .headColor{
    background-color: #495057;
    color: white;
}

.custom-thead th {
    background-color: #495057 !important;
    color: white !important;
}

/* ======== TOP GRADIENT HEADER ======== */
.top-header {
    background: linear-gradient(102deg, #6c757d, #44434373) ;
    padding: 14px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 8px 28px rgba(108, 117, 125, 0.25);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.top-header h2 {
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.5px;
}

/* ======= GLASS FILTER BOX ======= */
.glass-box {
    background: rgba(255,255,255,0.75);
    padding: 18px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 18px rgba(108,117,125,0.20);
    margin-bottom: 25px;
    transition: 0.3s;
    border-left: 4px solid #6c757d;   /* NEW accent border */
}

.glass-box:hover {
    transform: translateY(-3px);
}

/* ======= TRANSACTION CARD ======= */
.transaction-card { 
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.18);
    transition: 0.25s;
    border-left: 4px solid #6c757d;
}

.transaction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(108,117,125,0.28);
}

/* ====== STATUS CHIPS ====== */
.chip {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(108,117,125,0.25); /* soft same color shadow */
}

.chip-success {
    background: #28c76f;
    color: #fff;
}

.chip-danger {
    background: #ea5455;
    color: #fff;
}

.chip-warning {
    background: #ff9f43;
    color: #fff;
}

/* TEXT COLOR UPDATED */
.text-muted {
    color: #6c757d !important;
}

/* ===== BACK BUTTON ===== */
.back-btn {

    padding: 8px 13px;
    border-radius: 30px;
    background: #6c757d;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s;
    box-shadow: 0 4px 10px rgba(108, 117, 125, 0.35);
    margin-left: 10px;
}

.back-btn:hover {
    background: #5a6268;
    box-shadow: 0 6px 16px rgba(108,117,125,0.50);
    transform: translateY(-2px);
}

.pagination .page-link {
    border-radius: 50px !important;
    padding: 8px 14px;
    margin: 0 4px;
    color: #6c757d;
    border-color: #6c757d33;
}

.pagination .page-item.active .page-link {
    background-color: #6c757d !important; /* Your theme color */
    border-color: #6c757d !important;
    color: #fff;
    box-shadow: 0 4px 10px rgba(108,117,125,0.35);
}

.pagination .page-link:hover {
    background: #6c757d !important;
    color: #fff;
    border-color: #6c757d;
}

    /* Glassmorphism + App Look */
.app-card {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s ease;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.form-title {
    /* font-weight: 700;
    font-size: 26px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px; */
}



.form-title {
    margin-top: 00px;
    padding: 10px;
    background-color: rgba(var(--theme-color), 0.1);
    border-left: 6px solid rgba(var(--theme-color), 1);
    border-radius: 30px 30px 30px 30px;
    font-size: 22px;
    margin-bottom: 30px;
}

.form-title i {
    font-size: 26px;
}

.input-label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control {
    border-radius: 14px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    transition: 0.3s;
    font-size: 15px;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.15rem rgba(0,123,255,0.25);
}

.btn-app {
        
    border-radius: 14px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 16px;
    background: #6c757d;
    border: 1px solid;

}

.btn-cancel {
    background: #f1f1f1;
    color: #333;
}

.error-message {
    font-size: 14px;
    margin-top: 4px;
}

@media(max-width: 768px){

    .top-header h2 { font-size: 22px; }

}


    /* --- GLOBAL THEME COLORS --- */
    :root {
        --primary: #495057;
        --dark: #212529;
        --light: #f8f9fa;
    }

    /* --- SLIDER SECTION --- */
    .hero-slider {
        position: relative;
        width: 100%;
        height: 230px;
        overflow: hidden;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        box-shadow: 0 8px 25px rgba(0,0,0,.35);
    }

    .hero-slide {
        height: 230px;
        background-size: cover;
        background-position: center;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        position: relative;
    }

    /* Dark Gradient Overlay */
    .hero-slide::before {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0; left: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.65));
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    /* Slider Text (if needed later) */
    .hero-text {
        position: absolute;
        bottom: 20px;
        left: 25px;
        color: #fff;
        z-index: 10;
    }

    .hero-text h2 {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
    }

    /* Custom slider indicators */
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ddd;
        opacity: .4;
    }

    .carousel-indicators .active {
        background: var(--primary);
        opacity: 1;
    }

    /* --- APP CARDS SECTION --- */
    .feature-section {
        margin-top: 45px;
        padding: 0 18px;
    }

    .app-card {
        background: #fff;
        border-radius: 20px;
        padding: 18px;
        text-align: center;
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
        transition: 0.3s;
        position: relative;
    }

    .app-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 25px rgba(0,0,0,0.20);
    }

    .icon-bubble {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #fff;
        box-shadow: 0 6px 15px rgba(0,0,0,.25);
        transition: 0.3s;
    }

    .app-card:hover .icon-bubble {
        transform: scale(1.10);
    }

    .app-card-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--dark);
    }

    /* GRADIENT COLORS */
    .g-blue { background: linear-gradient(135deg,#007bff,#66b3ff); }
    .g-green { background: linear-gradient(135deg,#00C853,#64DD17); }
    .g-orange { background: linear-gradient(135deg,#FF8F00,#FFB74D); }
    .g-red { background: linear-gradient(135deg,#D32F2F,#FF5252); }


    /* for sidebar */
    .custom-sidebar .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sidebar .sidebar-menu li {
    display: block;             
    width: 100%;
    margin: 0;
}

.custom-sidebar .sidebar-menu li a {
    display: flex;          
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    width: 100%;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.custom-sidebar .sidebar-menu li a i {
    width: 20px;
}

.custom-sidebar .sidebar-menu li a:hover {
    background: #f1f1f1;
}

/* for reddem return */
.btn-back-home {
    display: inline-block;
    padding-top: 0.8rem; /* pt-2 equivalent */
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #6c757d; /* btn-secondary */
    color: #fff; /* text-white */
    border-radius: 0.5rem; /* rounded-4 */
    text-decoration: none; /* remove underline */
    font-size: 0.875rem; /* optional, match btn-sm */
    transition: background-color 0.3s ease;
}

.btn-back-home:hover {
    background-color: #5a6268; /* slightly darker on hover */
    color: #fff;
    text-decoration: none;
}
