 body {
            font-family: 'Inter', sans-serif;
            background-color: #f4f5f7;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background-attachment: fixed;
            margin-bottom: 35px;
        }
        
        .header {
            background-color: #343a40;
            color: white;
            padding: 1px;
            text-align: center;
            border-radius: 8px;
            margin-top: 5px;
        }
        
        .highlight {
            color: orange;
        }

        
        .info {
            background-color: #343a40;
            color: white;
            padding: 5px;
            margin-top: 5px;
            text-align: center;
            border-radius: 8px;
        }

        .info p {
            margin: 5px 0;
            font-weight: 500;
        }

        .dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 12px;
        }

        .card {
            background-color: rgba(255, 255, 255, 0.81);
            padding: 10px;
            border-radius: 8px;
            box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .cardSHover {
            background-color: rgba(255, 255, 255, 0.81);
            padding: 10px;
            border-radius: 8px;
            box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 5px 12px 24px rgba(0, 0, 0, 0.15);
        }

        .stat {
            font-size: 1.25rem;
            font-weight: 700;
            text-align: center;
            padding: 5px 0;
            border-radius: 8px;
        }
        
        .statE {
            background-color: #c2ddc5;
        }
        .statS {
            background-color: #e3c8d0;
        }
        .statO {
            background-color: #ecdaac;
        }
        .statD {
            background-color: #badce3;
        }

        .vehicle-type {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: -5px
        }

        .vehicle-grid {
            display: flex;
            justify-content: space-between;
        }
        
        .vehicle-grid-center {
            display: flex;
            justify-content: center;
        }

        /* Footer */
        footer {
            background-color: #343a40;
            color: white;
            padding: 5px;
            text-align: center;
            border-radius: 8px;
            /*position: fixed;*/
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            z-index: 1030;
        }

        /* Animación del coche */
        .car-container {
            margin-top: 20px;
            position: relative;
            height: 50px;
            overflow: hidden;
            background-color: transparent;
        }

        .car {
            position: absolute;
            will-change: transform;
            font-size: 3rem;
            z-index: 1;
            animation-duration: 5s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }

        .car-green {
            color: #8eba8e;
            left: -100px;
            animation-name: drive-green;
            animation-delay: 0s;
        }

        @keyframes drive-green {
            0% { left: -100px; }
            50% { left: calc(25% - 50px); }
            100% { left: 45%; }
        }

        .car-red {
            color: #ec9393; transform: scaleX(-1);
            right: -100px;
            animation-name: drive-red;
            animation-delay: 2.5s;
        }

        @keyframes drive-red {
            0% { right: -100px; }
            50% { right: calc(25% - 50px); }
            100% { right: 45%; }
        }

        th {
            cursor: pointer;
        }

        th:hover {
            background-color: orange;
        }

/* Pestañas ocupando 50% cada una */
.nav-tabs {
    display: flex;
    justify-content: space-between;
     border-bottom: none !important; /* Esto elimina la línea blanca */
}

.nav-tabs .nav-item {
    flex: 1 1 33%;
    text-align: center;
}

.nav-tabs .nav-link {
    width: 100%;
    padding: 5px;
    margin-top: -12px;
    font-weight: bold;
    color: #555;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px;
}

.nav-tabs .nav-link:hover {
    background-color: #f5e8d9;
    color: #000;
}

.nav-tabs .nav-link.active {
    background-color: #343a40;
    color: orange;
}

        .login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 70vh;
            
        }

        .login-card {
            padding: 30px;
            border-radius: 12px;
            box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.20);
            width: 350px;
            
        }

        .login-card h2 {
            text-align: center;
            color: #343a40;
            margin-bottom: 20px;
            background-color: rgba(245, 187, 79, 0.44);
             border-radius: 6px;
        }

        .login-card input[type="text"],
        .login-card input[type="password"] {
            width: 94%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-radius: 6px;
            background-color: #f0f0f0;
            font-size: 1rem;

        }

        .login-card input[type="submit"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            background-color: #343a40;
            color: orange;
            font-weight: bold;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .login-card input[type="submit"]:hover {
            background-color: orange;
            color: white;
        }

        .login-footer {
            text-align: center;
            margin-top: 15px;
        }

        .login-footer a {
            color: #343a40;
            text-decoration: none;
        }

        .login-footer a:hover {
            text-decoration: underline;
        }


.progress-bar-container {
    width: 100%;
    height: 16px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #28a745, #70d470); /* verde degradado */
    width: 0;
    transition: width 0.5s ease-in-out;
}

.progress-label {
    display: block;
    text-align: right;
    margin-top: 4px;
    font-size: 0.875rem;
    color: #333;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro con opacidad */
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Contenido del modal */
.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    max-width: 900px;  /* Modal más pequeño */
    width: 90%;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cerrar en esquina superior derecha */
.close {
    z-index: 999;
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000; /* Al pasar el mouse, cambia a negro */
}

/* Carrusel (solo una imagen visible a la vez) */
.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

/* Imagen dentro del carrusel */
.carousel-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    transition: transform 0.3s ease-in-out;
}

.carousel-slide img:hover {
    transform: scale(1.05); /* Un pequeño zoom al pasar el ratón */
}

/* Títulos del carrusel (Entrada/Salida) */
.carousel-heading {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

/* Controles de carrusel */
.carousel-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;  /* Centramos los botones */
    gap: 15px;
}

/* Estilo de los botones */
.carousel-btn {
    background-color: #343a40;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05); /* Botón con un pequeño efecto de aumento */
}

.carousel-btn:focus {
    outline: none;
}


.clickable {
    cursor: pointer;
}
