.imagenppal{
    text-align:center;
}
.ordenamiento{
    cursor:pointer;
}
.ordenamiento th{
    background-image: url(../../image/ordenamiento.png);
    background-position: right;
    background-repeat: no-repeat;
    padding-right:15px;
}
th.headerSortUp{
    background-image: url(../../image/ordenamientoabajo.png);
}
th.headerSortDown{
    background-image: url(../../image/ordenamientoarriba.png);
}
th{
    white-space: nowrap;
}
.main-layout {
    position: relative;
}

.contenedor {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 100vh;
    background: #fff;
    border-top-left-radius: 27px;
    border-bottom-left-radius: 27px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px 60px;
    transition: width .3s ease;
    z-index: 999;
}

.container.mt-4.expanded {
    left: 60px;
    width: calc(100% - 60px);
}

/* Estado original restaurado */
.container.mt-4.collapsed {
    left: 235px;
    width: calc(100% - 235px);
}
#mainContainer {
    margin-left: 250px; /* ancho normal del sidebar */
    transition: margin-left 0.3s;
}

#mainContainer.expanded {
    margin-left: 60px; /* ancho colapsado */
}
/* Navbar superior */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 235px;
    width: calc(100% - 235px);
    z-index: 1011;
    background-color: #FFFFFF;
    box-shadow: none;
    min-height: 65px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;


    border-top-left-radius: 27px;
    border-top-right-radius: 0;
}
@media (max-width: 768px) {
    .custom-navbar {
        left: 0;
        width: 100%;
        border-radius: 0; /* sin bordes redondeados en móvil */
    }

    /* Acomodar el toggle y el perfil */
    .custom-navbar .container-fluid {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .custom-navbar .dropdown {
        margin-top: 10px; /* separar un poco del toggle */
    }
}

/* Opcional: estilos para el toggle en móvil */
.navbar-toggler {
    border: none;
}
/* En tu CSS */
.icono-modulo {
    color: #81A2FF !important;
}

.grande{
    max-width: 95%;
}
.dropdown-menu{
    right: 0;
    left: auto;
}
.btn_busqueda > button{
    width: 100%;
}

.dropdown-menu[data-bs-popper]{
    left: auto;
    top: 125%;
    border-color: rgba(0, 0, 0, 0.3);
}
.form-floating{
    margin-bottom: 7px;
}

#inicio_sesion img{
    width: 100%;
}

.navbar-brand img{
    height: 40px;
}

.navbar-brand{
    padding-top: 0;
    padding-bottom: 0;
}

.completa, .completa body{
    height: 100%;
    overflow-x: hidden; /* evita scroll horizontal */
}



#sidebar.collapsed {
    width: 60px; /* ancho pequeño */
    transition: width 0.3s;
}

#sidebar.collapsed .sidebar-content .nav-link span {
    display: none; /* oculta texto del menú */
}


#sidebar.collapsed .nav-link span,
#sidebar.collapsed .navbar-brand span {
    display: none;
}

#sidebar.collapsed .nav-link i {
    text-align: center;
    width: 100%;
}
#sidebar.collapsed .sidebar-content {
    align-items: center;
}

#sidebar.collapsed .nav {
    margin-top: 40px;
    align-items: center;
}

#sidebar:not(.collapsed) .nav {
    align-items: flex-start; /* íconos a la izquierda cuando se expande */
}



#sidebar.collapsed .navbar-brand span {
    display: none;
}
#sidebarToggle {
    z-index: 1050;
    margin-right: 27px;

    background-color: rgba(182, 205, 255, 0.15);
    padding: 0px 6px;
    border-radius: 6px;
    font-size: 1.2rem;          /* tamaño un poco más pequeño */
    border: none;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s;
}
/* Hover opcional: un poco más opaco */
#sidebarToggle:hover {
    background-color: rgba(182, 205, 255, 0.8);
}


.color-rojo{
    color: red;
}
.color-verde{
    color: green;
}

.estadoTarea{
    font-size: 30px;
    margin-left: 12px;
}

.estadoTarea2, .usuariosAsi{
    font-size: 30px;
}

.estadoTarea2{
    vertical-align: top;
}

.descripcion_tarea{
    font-size: 1.5em;
}
#inp_actualizarTarea{
    display: inline-block;
    width: calc(100% - 50px);
    font-size: 0.7em;
}

#e_tareaCrear{
    margin-bottom: 5px;
}

.usuarios_asignados span{
    vertical-align: middle;

}

#btn_asignarUsuario{
    font-size: 1.3em;
}

.txtgrande{
    height: 100px !important;
    ;
}

.oculto{
    display: none;
}

.observacionContenedor {
    background-color: #0065b3;
    ;
    color: white;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 15px 0 15px 0;
    position: relative;
}

.observacionFecha {
    position: absolute;
    font-size: 0.7em;
    bottom: 2px;
    right: 15px;
}

.observacionUsuario {
    font-size: 0.7em;
    position: absolute;
    bottom: 2px;
}

.observacionDetalle {
    margin-bottom: 10px;
}

#btn_observacionCrear {
    margin-bottom: 5px;
}

.botones_tarea {
    text-align: center;
    margin-top: 3px;
    margin-bottom: 3px;
}

.informadionAdicionalTarea {
    margin-top: 3px;
    margin-bottom: 3px;
}

.login_usuario {
    font-size: 1em;
    vertical-align: middle;
    color: #0065b3;
    font-weight: bolder;
    margin: 0;
    padding: 0;
}



.logo-coltax {
    position: absolute;
    left: 10%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 1;
}

.logo-coltax img {
    max-width: 275px;
}


/* Login centrado */
#inicio_sesion {
    z-index: 2;
    background: #2c2599;  /* tu contenedor azul del login */
    border-radius: 20px;
    padding: 25px;
    color: #fff;
}

/* Responsive */
@media (max-width: 576px) {
    #d_contenedor {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        min-height: 100vh;
    }
    .taxi-login {
        display: none !important;
    }


    .logo-coltax {
        position: static;       /* ya no absolute */
        transform: none;
        margin-bottom: 20px;
        text-align: center;
    }

    .logo-coltax img {
        max-width: 258px;
    }

    #inicio_sesion {
        margin: 0 auto;         /* centrado horizontal */
        width: 100%;            /* ocupa ancho completo en móvil */
    }
}




.logo-coltax img {
    max-width: none !important;
    width: 277px !important;  /* aumenta tamaño */
}

/* Icono */
.logo-icon {
    max-width: 45px;  /* ajusta tamaño del ícono */
    height: auto;
}

/* Texto "coltax" */
.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff; /* blanco como en tu referencia */
    font-family: 'Poppins', sans-serif;
}


#btn_asignarUsuario{
    cursor: pointer;
}

.observacionContenedor.color_estado {
    background-color: #142149;
}

#tbl_final {
    width: auto;
}

td.izquierda{
    text-align: left;
}
td.derecha{
    text-align: right;
}

.centrar{
    text-align: center;
}

.tab-content{
    width: 100%;
    border: 2px solid #a0a0a0;
    border-radius: 5px;
    padding: 10px;
}

.descripcion_tarea_lista{
    width: calc(75% - 85px);
    white-space: normal;
    text-align: left;
    font-size: 0.8em;
}

.porcentaje_tarea{
    font-size: 0.8em;
}

td.verde-ok{
    background-color: #98d958;
}

.tipo_tar{
    font-size: 30px;
}

.gris{
    background-color: #e9ecef;
}

.d_porcentaje {
    display: inline;
    width: 85px;
}
.d_porcentaje .input-group.mb-3 {
    margin-bottom: 0 !important;
    height: 53px;
    border-radius: 0;
}
.d_porcentaje input {
    border-radius: 0;
    text-align: right;
}

.seg_eliminado, .seg_eliminado td {
    background-color: #ff000014;
}

.seg_rechazado, .seg_rechazado td {
    background-color: #ff8f004f;
}

.seg_aprobado, .seg_aprobado td {
    background-color: #10df102e;
}

#observacion_actualizar{
    height: 200px;
}


/* Estilos para alinear los íconos con el switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-switch-wrapper .bi {
    font-size: 1.5rem;
}

.form-control.textarea-grande {
    height: 130px;
}

.input-group-text {
    border-radius: 7px 0 0 7px;
}

/* Tamaño del texto */
:root {
    --bs-body-font-size: 0.8rem;
}
.btn {
    --bs-btn-font-size: 0.8rem;
}

.input-group-text, .form-select, .form-control {
    font-size: 0.8rem;
}

#modalGeneralFooter p {
    color: red;
    font-size: 1.5em;
}


#d_contenedor {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1D1D59;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding: 0;
}


/* Imagen del taxi */
.taxi-login {
    position: relative;
    left: 50%;
    transform: translateY(-60%) scale(1.3);
    max-width: 398px;
    bottom: 20%;
}

.tamanio_form{

    height: 70vh;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .taxi-login {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 150px;
        margin: 0 auto 20px auto;
    }
}
#inicio_sesion {
    background: #2C2682;
    width: 355px !important;
    height: 551px;
    border-radius: 50px;
    box-shadow: 0px 10px 60px rgba(44, 38, 130, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

#clave[type="text"] {
    -webkit-text-security: none !important;
    color: #000 !important;
}


.input_inicio {
    width: 80%;
    margin: 10px auto;
    display: block;
    padding: 10px;
    border-radius: 10px;
    background-color: #5A7AC1;
    color: #fff; /* 👈 agrega este */
}


#inicio_sesionBtn {
    width: 311px;
    height: 44px;
    background: #FFE094;
    color: #2C2682;
    font-family: 'Figtree', sans-serif;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-align: center;
    line-height: 20px;
    margin-top: 20px;
    transition: background 0.3s ease;
    margin-top: auto !important;
    margin-top: 45px !important;
}

#inicio_sesionBtn:hover {
    /* efecto hover */
    cursor: pointer;
}

.input_inicio::placeholder {
    color: #cfcfe1;
}

.patron_azul {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: auto;
    max-width: 400px;
}


.patron_azul img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 768px) {
    .patron_azul {
        display: none;
    }
}

#documento::placeholder {
    color: #FFE094;
    opacity: 1;
}

/* Placeholder del input Clave */
#clave::placeholder {
    color: #81A2FF;   /* Azul */
    opacity: 1;       /* Evita que se vea apagado */
}
/* Labels */
.form-label {

    font-size: 14px;
    margin-bottom: 5px;
}

/* Ojo */
.toggle-eye {
    position: absolute;
    right: 11px;
    top: 71%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #cfcfe1;
}

/* Botón */
.btnini {
    background: #FFD966;
    color: #2C2682;
    font-weight: bold;
    border-radius: 20px;
    border: none;
    padding: 12px;
    transition: 0.3s;
}

.btnini:hover {
    background: #f0c94d;
}


.enlace-recuperar {
    color: #8fb3ff; /* azul clarito */
    font-size: 14px;
    text-decoration: none;
}

.enlace-recuperar:hover {
    text-decoration: underline;
}

.enlace-registrar {
    color: #FFE094; /* dorado */
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

.enlace-registrar:hover {
    text-decoration: underline;
}



.titulo-login {
    font-family: 'Figtree', sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.titulo-login .ingresa {
    color: #FFD34E; /* Amarillo */
}

.titulo-login .coltax {
    color: #ffffff; /* Blanco */
}

.descripcion-login {
    font-size: 14px;
    color: #B6CDFF;
    line-height: 1.4;
}


.tic_pie {
    position: absolute;
    bottom: 45px;
    right: 32px;
    z-index: 0;   /* detrás del login */
}

.tic_pie img {
    width: 35px;
    height: auto;
}


@media (max-width: 768px) {
    .tic_pie {
        display: none;
    }
}

#inicio_sesion img {
    max-width: 120px;
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
}

.btnini {
    width: 100%;

}


#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 15%;
    background: #1D1D59;
    transition: width .3s ease;
    overflow: hidden;
    z-index: 500;
}

#sidebar.collapsed {
    width: 6%;
}
#sidebar.collapsed span {
    display: none;
}


#sidebar.collapsed ~ #contenedor {
    width: calc(100% - 70px);
}
.patron-vertical {
    transform: rotate(271deg);
    transform-origin: center;
    width: auto;
    height: 279px;
    margin-top: 52px; /* súbelo o bájalo cambiando este valor */

}
.patron-footer {
    position: relative; /* referencia para el texto */
    display: inline-block;
}

.patron-text {
    position: absolute;
    top: 58%;
    left: 39%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: 500;
    color: #81A2FF;
    white-space: nowrap;
    opacity: 1;
}



#sidebar > .sidebar-content {
    width: 100%;
    padding: 20px;
    height: 90vh;
}



/* Ocultar texto de los links y logo cuando está colapsado */
#sidebar.collapsed .menu-link span,
#sidebar.collapsed .navbar-brand span {
    display: none;
}


/* Centrar íconos cuando está colapsado */
#sidebar.collapsed .menu-link i {
    margin-right: 0;
    text-align: center;
    display: block;
}

.icono_tamaño{

    font-size: 12pt;
    padding-right: 2px;
}
/* 🔹 Mantiene oculto el botón cuando el sidebar está abierto */
.oculto {
    display: none !important;
}

/* 🔹 Botón contenedor del ícono */
#abrir_sidebar {
    background-color: rgba(182, 205, 255, 0.15); /* Fondo con opacidad */
    border: none;
    padding: 8px;
    border-radius: 12px; /* Bordes redondeados */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* 🔹 Ícono interno */
#abrir_sidebar i {
    color: #B6CDFF;
    font-size: 20px;
}

/* 🔹 Efecto hover: un poco más visible */
#abrir_sidebar:hover {
    background-color: rgba(182, 205, 255, 0.25);
    opacity: 1;
}


@media (max-width: 768px) {
    #sidebar {
        left: -250px;
    }

    #sidebar.active {
        left: 0;
    }

    .contenido-con-sidebar {
        margin-left: 0;
    }

    .container.mt-4 {
        left: 0;
        width: 100%;
        border-radius: 0;
    }
}


.menu-link {
    color: #81A2FF;
    transition: background-color 0.2s, color 0.2s ;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

/* Efecto hover */
.menu-link:hover {
    background-color: #343499;
    color: #ffffff;
    border-radius: 5px;
}


.menu-link i {
    color: #81A2FF !important;
}

.contenido-con-sidebar {
    min-height: 100vh;
    display: flex;
}

/* Caja blanca al lado del sidebar */
#contenido-principal {
    flex-grow: 1;
    background: #fff;
    border-radius: 20px 0 0 20px;
    margin-left: 250px;
    padding: 20px;
}

html, body {
    height: 100%;
    overflow: hidden;
}


.copyright-vertical {
    position: fixed;
    right: -93px;
    top: 33%;
    transform: translateY(-50%) rotate(270deg);
    text-orientation: mixed;
    font-size: 14px;
    color: #81A2FF;
    font-weight: 395;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    z-index: 1000;

    opacity: 1;
}

@media (max-width: 768px) {
    .copyright-vertical {
        display: none;
    }
}


.user-chip {
    background-color: rgba(129, 162, 255, 0.15); /* #81A2FF con 15% de opacidad */
    border-radius: 50px 0 0 50px; /* izquierda ovalada, derecha recta */
    cursor: pointer;
    max-height: 48px;
}

.offcanvas {
    transform: translateX(100%); /* empieza oculto a la derecha */
    transition: transform 0.25s ease-in-out; /* más rápido */
    border-top-left-radius: 30px; /* curva arriba a la izquierda */
}

.offcanvas.show {
    transform: translateX(0); /* cuando aparece se desliza */
}
.user-btn {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    background-color: rgba(129, 162, 255, 0.15); /* Fondo con el color opaco */
    border: none;
    color: #333;
}

.user-btn i {
    color: #81A2FF;
    font-size: 18px;
}

.user-btn:hover {
    background-color: rgba(129, 162, 255, 0.15) !important; /* mantiene el color fijo */
    color: #333 !important; /* asegura que el texto no cambie */
}
.offcanvas .user-btn span {
    color: #2C2682 !important;
}
.user-chip span {
    color: #2C2682 !important; /* Nombre del usuario en el chip */
}
.offcanvas .btn-close {
    background-color: rgba(129, 162, 255, 0.15); /* Fondo azul clarito */
    border: none;
    border-radius: 14px; /* círculo con esquinas redondeadas */
    opacity: 1;

    width: 40px;  /* ancho */
    height: 40px; /* alto */

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* X personalizada */
.offcanvas .btn-close::before {

    color: #81A2FF;   /* X azul sólido */
    font-size: 20px;  /* tamaño de la X */
    font-weight: bold;
    line-height: 1;
}



/* Contenedor exterior: aro punteado */
.avatar-outer {
    width: 130px;              /* diámetro total del aro */
    height: 130px;
    border-radius: 50%;
    border: 3px dashed #FFC107; /* aro dorado */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;              /* deja espacio entre aro y foto */
}

/* Foto/inicial interior */
.avatar-inner {
    width: 110px;              /* diámetro de la foto */
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Imagen de perfil */
.avatar-inner img,
.avatar-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Inicial (cuando no hay foto) */
.avatar-inicial {
    background: linear-gradient(135deg, #81A2FF, #5D8BFF);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}

/* Tabla moderna estilo cards */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px; /* separa filas un poco */
}

/* Encabezados */
.modern-table thead th {
    font-weight: 600;
    color: #6c757d;
    border: none;
    background: transparent;
    padding: 6px 8px; /* menos alto */
    font-size: 13px;
}

/* Filas como tarjetas */
/* Filas como tarjetas */
.modern-table tbody tr {
    background: #F5F5F5;  /* fondo del card */
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* sombra suave */
}

/* Hover sin flotación */
.modern-table tbody tr:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Celdas */
.modern-table tbody td {
    border: none;
    vertical-align: middle;
    padding: 6px 8px;  /* más angosto */
    font-size: 13px;   /* texto más compacto */
}

/* Redondear bordes externos */
.modern-table tbody tr td:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.modern-table tbody tr td:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Avatar circular más pequeño */
.avatar-placeholder,
.modern-table img.rounded-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
    margin-right: 6px;
}

/* Estilo de la columna acciones */
.modern-table .acciones {
    white-space: nowrap;
}

/* Íconos de acción */
.modern-table .acciones i {
    color: #81A2FF !important;
    font-size: 16px;
    margin: 0 4px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modern-table .acciones i:hover {
    color: #4e7eff !important;
}

/*index */

body {
    background-color: #1D1D59;
}
#contenedorConductor .card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
#contenedorConductor .card:hover {
    transform: translateY(-4px);
}
#contenedorConductor .card-body {
    padding: 1rem 1.25rem;
}

#contenedorConductor .col-md-4 {
    max-width: 380px;
}



.search-box {
    min-width: 320px;
    max-width: 400px;
    flex-grow: 1;
}
.search-input {
    background-color: rgba(129, 162, 255, 0.15);
    border: 1px solid rgba(129, 162, 255, 0.3);
    border-radius: 8px 0 0 8px;
    box-shadow: none;
    color: #2C2682; /* color del texto */
    opacity:1;
}

.search-input:focus {
    border-color: #81A2FF;
    box-shadow: 0 0 0 0.2rem rgba(129, 162, 255, 0.25);
}

/* Icono dentro del input */
.input-group-text {
    background-color: rgba(129, 162, 255, 0.15);
    border: 1px solid rgba(129, 162, 255, 0.3);
    border-radius: 0 8px 8px 0;
    color: #81A2FF;
}

.btn-filter {
    border: none;
    background: rgba(129, 162, 255, 0.15);
    color: #81A2FF;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.btn-filter:hover {
    background: rgba(129, 162, 255, 0.25);
}


.btn-action {
    background-color: #81A2FF;
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 8px 18px;
    font-weight: 500;
    transition: none;
}


.btn-action:hover {
    background-color: #81A2FF;
    transform: none;
}

.divider {
    border-left: 1px solid rgba(182, 205, 255, 0.5);
    height: 28px;
}

.derechos{

    height: 10vh;
    background-image: url("/image/Patron_azul_giro.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    text-align: center;
    font-size: 7pt;
    margin-top: 10px;
}
/* === Estilos para los switches === */
.form-check-input.switch-estado {
    width: 40px;
    height: 20px;
    cursor: pointer;
    border: none;
    background-color: #ccc;
    box-shadow: none;
}

/* Color del switch activado */
.form-check-input.switch-estado:checked {
    background-color: #B6CDFF !important;
    border-color: #B6CDFF !important;
    opacity: 1 !important;
}

/* Eliminar línea verde (efecto de foco de Bootstrap) */
.form-check-input.switch-estado:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}


.conductor-form .input-group {
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    background: #F5F5F5;
    /* width: 218%; */

}

.conductor-form .input-group-text {
    background: #f0f4ff;
    border: none;
    color: #4b5ca9;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}

.conductor-form .form-control,
.conductor-form .form-select {
    border: none;
    background: #F5F5F5;
    padding: 0.65rem 0.75rem;
    height: auto;
    font-size: 0.95rem;
    color: #334155;
}

.conductor-form .input-custom {
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: all .2s ease;
}
.conductor-form .input-custom:focus-within {
    box-shadow: 0 0 0 2px #4b6bff44;
}

.conductor-form label {
    font-size: .9rem;
    color: #334155;
    margin-bottom: .35rem;
    font-weight: 500;
}

.conductor-form select:focus,
.conductor-form input:focus {
    outline: none !important;
    box-shadow: none !important;
    background: #eef2ff;
}

/* Botones */
.conductor-form .btn-primary {
    border-radius: 10px;
    font-weight: 500;
}
.conductor-form .btn-outline-secondary {
    border-radius: 10px;
}

/* Uniforme entre columnas */
.row.g-3 > div {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* Solo afecta al formulario de creación */
.form-crear .form-control,
.form-crear .form-select {
    height: 38px;           /* altura estándar */
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
}

/* Corrige altura visual del grupo con íconos */
.form-crear .input-group-text {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mejora estética general (sin afectar otros formularios) */
.form-crear .input-line {
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.offcanvas-end {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.conductor-form .encabezado-conductor {
    position: relative;
    top: -12px; /* Ajusta entre -8px y -15px según lo que necesites */
}

/* 🔹 Mantiene el hr justo debajo 
.conductor-form .encabezado-conductor + hr {
    margin-top: 6px;
    margin-bottom: 10px;
}

*/
.btn.btn-primary {
    background-color: #81A2FF !important;
    opacity: 1 !important;
    border-color: #81A2FF !important;
    color: white !important;
}

/* Botón Cancelar */
.btn.btn-outline-secondary {
    background-color: rgba(129, 162, 255, 0.15) !important;
    color: #2C2682 !important;
    opacity: 1 !important;
    border-color: transparent !important;
}


.form-crear .encabezado-conductor + hr,
.form-crear .encabezado-conductor + hr + p.text-muted {
    position: relative;
    top: -18px; /* sube ambos un poco */
}


.form-crear .d-flex.justify-content-end.gap-2 {
    margin-top: 50px !important;
    margin-bottom: 0 !important;
    padding-right: 30px !important;
    position: relative;
    top: -1;
}

.form-crear .btn-primary,
.form-crear .btn-outline-secondary {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}



/* Scroll invisible solo cuando se edita el conductor */
#contenedorEditarConductor {
    max-height: calc(100vh - 100px); /* ajusta según altura de navbar o encabezado */
    overflow-y: auto;                 /* activa desplazamiento vertical */
    scrollbar-width: none;            /* oculta scroll en Firefox */
    padding-right: 10px;              /* evita que se corte contenido */
}

#contenedorEditarConductor::-webkit-scrollbar {
    display: none; /* oculta scroll en Chrome, Edge y Safari */
}

/* Un poco de animación suave al aparecer */
#contenedorEditarConductor.fade-in {
    animation: aparecer 0.3s ease-in-out;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to   {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Quitar borde oscuro del contenido de las pestañas */
.tab-content {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Asegura que los paneles mantengan su espaciado sin borde */
.tab-pane {
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* Si quieres, puedes dejar un toque sutil: separador inferior solo en las pestañas */
.nav-tabs {
    border-bottom: 2px solid #e0e6f1;
}

/* Pestaña activa */
.nav-tabs .nav-link.active {
    border: none;
    border-bottom: 3px solid #3b82f6; /* azul elegante */
    color: #3b82f6 !important; /* forzar azul en activa */
    font-weight: 600;
}


.nav-tabs .nav-link:not(.active) {
    border: none;
    color: #898989 !important;
    font-weight: 500;
}

.nav-tabs .nav-link:not(.active):hover {
    color: #0d6efd !important;
}


.img-foto {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(181,199,255,0.15);
}

.caja-archivo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #eaf1ff;
    border: 2px dashed #b5c7ff;
    border-radius: 10px;
    padding: 6px 10px;
    min-width: 180px;
    max-width: calc(100% - 70px);   /* que no se desborde en tamaños pequeños */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.caja-archivo .nombre-archivo {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #2f4bbf; /* tono azul del texto, parecido al ejemplo */
}

/* Botón eliminar: solo apariencia (no cambia lógica). */
.btn-eliminar {
    background: none;
    border: none;
    color: #4a7aff;
    font-size: 18px;
    cursor: pointer;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-eliminar:hover {
    color: #1f4ed6;
}

/* Cursor en label/imagen para indicar que se puede cambiar */
.img-foto, .caja-archivo {
    cursor: pointer;
}

/* Evitar que el icono se desplace en pantallas pequeñas */
@media (max-width: 480px) {
    .caja-archivo {
        min-width: 140px;
        padding: 6px 8px;
    }
    .img-foto {
        width: 40px;
        height: 40px;
    }
}



/* Estilo para las pestañas del formulario de conductor */
.nav-tabs .nav-link {
    color: #898989; /* color del texto */
    font-weight: 600;
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

/* Hover */
.nav-tabs .nav-link:hover {
    background-color: rgba(129, 162, 255, 0.10);
}

/* Pestaña activa */
.nav-tabs .nav-link.active {
    background-color: rgba(129, 162, 255, 0.15); /* fondo azul con opacidad */
    color: #81A2FF !important; /* texto azul */
    border: none;
    border-bottom: 2px solid #81A2FF;
    font-weight: 700;
}


.nav-tabs .nav-link:hover {
    background-color: rgba(129, 162, 255, 0.1);
    color: #81A2FF !important;
}
.offcanvas {
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out !important;
}

.offcanvas.show {
    transform: translateX(0);
}

/* Este bloque garantiza la animación al cerrar */
.offcanvas.hiding {
    transform: translateX(100%);
}


#contenedorSlide {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    z-index: 1050;
}

#contenedorSlide.mostrar {
    width: 340px;
}

#slideConductorPanel {
  background: #F5F5F5;
  height: 100%;
  width: 260px;

  border-top-left-radius: 25px;
  border-bottom-left-radius: 36px;

  
  border-top-right-radius: 25px;
  border-bottom-right-radius: 36px;

  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
  left: 232px;
  transform: translateX(-100%);
  will-change: transform;
}


#slideConductorPanel.show {
    transform: translateX(0) !important;
}

/* Título */
#slideConductorLabel {
    font-size: 1.1rem;
}

/* List group */
#slideConductorPanel .list-group-item {
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #6c757d;
    font-weight: 500;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

#slideConductorPanel .list-group-item i {
    color: #6c757d;
    font-size: 1.1rem;
}

#slideConductorPanel .list-group-item:hover {
    background: #e9ecef;
    color: #111;
}

#slideConductorPanel .list-group-item.active {
    background: #fff;
    color: #3b3b98;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

#slideConductorPanel .list-group-item.active i {
    color: #3b3b98;
}

/* Botón principal */
#btnSlideNuevoConductor {
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    margin-top: 20px;
}



#contenedorSlide.mostrar #slideConductorPanel {
    transform: translateX(0);
}

/* 🔹 Estilo de opciones planas (sin bordes) */
.opcionModulo {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.opcionModulo:hover {
    background-color: #f2f6ff;
    color: #0066ff;
}
.opcionModulo.active {
    background-color: #eaf2ff;
    color: #007bff;
    font-weight: 600;
}

.opcionModulo i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.trazado-puntos {
    position: absolute;
    left: 19%;
    top: 55%;
    transform: translateY(-50%) scale(1.2);
    z-index: 1;
    width: 250px;
    pointer-events: none;
}
.icono-volver {
    position: absolute;
    right: 181px;
    bottom: 589px;
    font-size: 27px;
    color: #B6CDFF;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 20;
    background-color: rgba(182, 205, 255, 0.15);
    padding: 4px;
    border-radius: 10px;
}

.card-referencia {
    background: #FFFFFF;
    border: 1px solid #D3D3D3;
    border-radius: 20px;
    width: 262px;
    height: auto;
    padding: 5px;
    box-shadow: none;
    opacity: 1;
    margin: 0 auto 0px auto;

}

.card-referencia .card-header {
    border-bottom: 1px solid #D3D3D3;
    background-color: #FFFFFF;
    color: #333333;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.card-referencia .card-body {
    padding: 15px 5px;
}

.card-referencia .form-label {
    font-size: 13px;
    color: #898989;
    ;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-referencia .form-control {
    background-color: #F5F5F5;
    border: 1px solid #D3D3D3;
    border-radius: 10px;
    font-size: 13px;
    padding: 8px 12px;
    color: #333333;
}

.card-referencia:hover {
    border: 1px solid #D3D3D3;
    box-shadow: none;
    background: #FFFFFF;
}

@media (max-width: 768px) {
    .card-referencia {
        width: 100%;
        padding: 15px;
    }
}

.input-group-text {
    background-color: #F5F5F5 !important;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
}

.table-custom thead th {
    font-weight: 600;
    color: #6c757d;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 12px 16px;
    font-size: 14px;
    text-align: left;
}

.table-custom tbody td {
    border-bottom: 1px solid #e9ecef;
    padding: 12px 16px;
    vertical-align: middle;
    color: #333;
    font-size: 14px;
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

.table-custom tbody tr:hover td {
    background-color: #f9fafb;
}

.table-custom .badge {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 12px;
}

.btnEditarContrato, .btnVerDeposito, .btnEliminarDeposito, .btnImprimirDeposito {
    border: none;
    background: transparent;
    color: #81A2FF;
    font-size: 18px;
    cursor: pointer;
    margin-right: 8px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.btnEditarContrato:hover, .btnVerDeposito:hover, .btnEliminarDeposito:hover, .btnImprimirDeposito:hover {
    color: #4c6fff;
    transform: scale(1.1);
}

.btnGuardarContrato{

    height:43px !important;
}

/* CONTENEDOR DE LA TABLA */
#tabla_liquidaciones {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    width: 100%;
}

/* CABECERA */
#tabla_liquidaciones thead th {
    background: transparent !important;
    border: none !important;
    font-weight: 600;
    color: #555;
    padding: 12px 18px;
}

/* FILAS */
#tabla_liquidaciones tbody tr {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.06);
}

/* CELDAS */
#tabla_liquidaciones tbody td {
    border: none !important;
    padding: 14px 18px;
    vertical-align: middle;
    color: #333;
}

/* REDONDEAR LA FILA COMPLETA */
#tabla_liquidaciones tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

#tabla_liquidaciones tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* HOVER TIPO FIGMA */
#tabla_liquidaciones tbody tr:hover {
    background: #f7faff !important;
    transition: 0.2s;
}

/* ÍCONOS */
#tabla_liquidaciones i {
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}

#tabla_liquidaciones a.text-primary i:hover {
    color: #1e88e5 !important;
    transform: scale(1.15);
}

#tabla_liquidaciones a.text-danger i:hover {
    color: #d32f2f !important;
    transform: scale(1.15);
}

/* CENTRAR COLUMNA ACCIONES */
#tabla_liquidaciones td.text-center {
    width: 120px;
}



   .tabla-resumen {
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #e5e5e5;
    }

    .tabla-resumen table {
        margin: 0 !important;
    }

    .tabla-resumen th {
        background: #fafafa !important;
        font-weight: 500;
        color: #4a4a4a;
        width: 55%;
        border: none !important;
        padding: 14px 18px !important;
    }

    .tabla-resumen td {
        font-weight: 600;
        border: none !important;
        padding: 14px 18px !important;
    }

    .tabla-resumen tr + tr th,
    .tabla-resumen tr + tr td {
        border-top: 1px solid #e5e5e5 !important;
    }

  
    /* TABLAS ESTILO PREMIUM */
    .tabla-premium {
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #e5e5e5;
    }

    .tabla-premium table {
        margin-bottom: 0;
    }

    .tabla-premium th {
        background: #fafafa !important;
        font-weight: 600;
        color: #4a4a4a;
        border: none !important;
        padding: 14px 18px !important;
    }

    .tabla-premium td {
        font-weight: 500;
        border: none !important;
        padding: 14px 18px !important;
    }

    .tabla-premium tr + tr td,
    .tabla-premium tr + tr th {
        border-top: 1px solid #e5e5e5 !important;
    }

    .tabla-premium .text-center i {
        cursor: pointer;
        transition: 0.2s ease;
    }

    .tabla-premium .text-center i:hover {
        transform: scale(1.15);
        opacity: .7;
    }
