html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.logo-img {
    max-width: 50% !important;
}

.row-font {
    font-size: 12px !important;
    font-weight: 500;
}

.custom-th {
    font-size: 14px !important;
}

.delivered-icon {
    color: forestgreen;
    font-weight:500;
    font-size: 18px;
    cursor: pointer;
}

.edit-icon {
    color: royalblue;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}


.chanchito-icon {
    color: mediumvioletred;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}

.info-icon {
    color: darkgreen;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}

.delete-icon {
    color: indianred;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}

.salida-icon {
    color: red;
    font-size: 18px;
}

.ingreso-icon {
    color: darkgray !important;
    font-size: 18px;
}

.destino-title {
    color: darkgray !important;
    font-weight: 600 !important;
}

@media screen and (max-width: 767px) {
    .dataTables_length {
        margin-bottom: 1rem !important;
    }

    .dataTables_filter {
        margin-bottom: 1rem !important;
    }
}

.documento {
    color: #37517E;
    font-size: 14px;
    font-weight: 600;
}

.form-subtitle {
    color: #37517E !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.info-label{
    font-size: 14px;
    font-weight: 600;
}

.info-value {
    font-size: 16px;
    color: #37517E;
    font-weight: 800;
}

.red-icon {
    color: #cc062d !important;
}

    .red-icon:hover {
        color: #d8566e !important;
    }

.orange-icon {
    color: #ff771d !important;
}

    .orange-icon:hover {
        color: #f4b086 !important;
    }

.purple-icon {
    color: #37517E !important;
    cursor: pointer;
}

    .purple-icon:hover {
        color: #c5a4d8 !important;
    }

.bi-whatsapp {
    font-size: 20px;
    color: green;
}

.distancia-span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.pending-icon {
    color: #ff771d !important;
    background: #ffecdf;
}

    .pending-icon:hover {
        color: #f7be9b !important;
    }

.chofer-title {
    font-weight: bold;
}

.chofer-disponible {
    font-size: 12px;
}

.tabla-pedido-items {
    font-size: 12px;
}

/* Sidebar mejorado */
#sidebar {
    background-color: #01254b;
    border-right: 1px solid #444;
}

    /* Estado por defecto: color similar al actual hover */
    #sidebar .nav-link,
    #sidebar .nav-content a {
        background-color: #01254b;
        color: #eaeaea;
        font-weight: 500;
        border-radius: 6px;
        margin-bottom: 4px;
        transition: all 0.2s ease;
    }

        /* Hover: fondo blanco y texto oscuro */
        #sidebar .nav-link:hover,
        #sidebar .nav-content a:hover {
            background-color: #033162;
            color: #ffffff;
            font-weight: 600;
        }

    #sidebar .nav-content a {
        color: #cfd2dc;
    }

    #sidebar .bi {
        margin-right: 8px;
        font-size: 1rem;
    }

/* Encabezado (navbar) con sombra sutil */
#header {
    background-color: #01254b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #444;
}

/* Estilos para tarjetas del dashboard */
.card.info-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

    .card.info-card:hover {
        transform: translateY(-3px);
    }

.card-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.card .d-flex.flex-wrap > a {
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .card .d-flex.flex-wrap > a img {
        border-radius: 50%;
        background: #fff;
        padding: 10px;
        border: 1px solid #ccc;
        width: 60px;
        height: 60px;
        object-fit: contain;
        box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    .card .d-flex.flex-wrap > a div {
        margin-top: 0.5rem;
        font-size: 0.8rem;
        font-weight: 500;
        color: #555;
    }


.btn-entregar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0f7e9;
    color: #198754;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.2rem;
}

    .btn-entregar:hover {
        background-color: #198754;
        color: #fff;
    }


.dropdown-divider {
    border-top: 0.5px solid #ccc;
    margin: 0.5rem 1.5rem;
}

.table-small-font {
    font-size: 10px !important;
}

.borde-ruta-inicio > td {
    border-top: 3px solid #343a40 !important; /* gris oscuro, bien visible */
}

.borde-ruta-fin > td {
    border-bottom: 3px solid #343a40 !important;
}