﻿.container {
    max-width: 95%;
    margin: auto;
}

h2 {
    font-weight: bold;
    color: #004080;
    padding-bottom: 10px;
}

.table {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

    .table thead {
        background-color: #004080;
        color: white;
    }

    .table tbody tr:nth-child(even) {
        background-color: #e6f2ff;
    }

.btn-primary {
    background-color: #007bff;
    border-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #a71d2a;
}

.btn {
    margin-right: 5px;
}

/*css form the loader*/
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0 0 0 / 34%);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
    visibility: hidden; 
}

.moving-truck {
    position: absolute;
    left: -200px; /* Start off-screen */
    display: flex;
    animation: drive-across 3s linear infinite;
}

.lines {
    width: 30px;
    height: 4px;
    background-color: black;
    margin-right: 10px;
    margin-top: 20px;
    border-radius: 4px;
    animation: blink 0.4s infinite alternate;
}

.truck {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.truck-box {
    width: 60px;
    height: 40px;
    background-color: transparent;
    border: 2px solid black;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.truck-cabin {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 2px solid black;
    border-left: none;
    border-radius: 0 5px 5px 0;
    position: relative;
    left: -2px;
}

.truck-wheel {
    width: 12px;
    height: 12px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    bottom: -8px;
}

    .truck-wheel.front {
        left: 20px;
    }

    .truck-wheel.back {
        left: 65px;
    }

@keyframes blink {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-10px);
    }
}

@keyframes drive-across {
    0% {
        left: -200px;
    }

    100% {
        left: 100vw;
    }
}

.dropdown-item:hover {
    background-color: #dc3545 !important; /* Matches danger theme */
    color: #fff !important;
}

