/******* ESTILOS GENERALES ********/

body {
    background: #2b2b2b !important;
    overflow: hidden;
}

#bodylogin {
    height: 100%;
    background: #000000;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(43, 43, 43, 1) 50%,
        rgba(0, 0, 0, 1) 100%
    ) !important;
    /*background-repeat: no-repeat;
					background: url(../img/login-bg2.jpg) no-repeat center center fixed!important;*/
}

a {
    text-decoration: none !important;
    color: inherit !important;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: "Quicksand";
}

td {
    font-family: "Quicksand";
}

th {
    font-family: "Montserrat";
}

iframe {
    border-radius: 10px;
}

/******* FUENTES ********/
.montserrat-regular {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.montserrat-medium {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600 !important;
    font-style: normal;
}

.montserrat-bold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.quicksand-regular {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.quicksand-medium {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.quicksand-bold {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.row {
    margin-right: 0 !important;
}

.curspoint {
    cursor: pointer;
}

.contprinc {
    border-radius: 25px 0px 0px 25px;
    padding: 70px !important;
    padding-top: 85px !important;
    width: 100% !important;
    padding-bottom: 65px !important;
    margin-left: 0 !important;
    background: #f1f2f6;
    height: 100vh;
    overflow-y: auto;
}

/******* COLORES PRINCIPALES ********/

.backcolor1 {
    background: #2b2b2b !important;
}

.backcolor2 {
    background: #ffd200 !important;
}

.backbco {
    background: white !important;
}

.txtcolor1 {
    color: #2b2b2b !important;
}

.txtcolor2 {
    color: #ffd200 !important;
}

.txtcolor3 {
    color: white !important;
}

.txtright {
    text-align: right;
}

.txtleft {
    text-align: left;
}

.titprinc {
    margin-top: 60px !important;
    font-size: 2.5em;
    margin-bottom: 0;
    text-align: center;
}

.txtcent {
    text-align: center;
}

.inputstyles {
    margin-top: 30px;
    background: white;
    width: 100%;
    height: 60px !important;
    margin-bottom: 25px;
    padding: 3%;
    border: 1px solid gainsboro;
    border-radius: 10px;
    font-size: 1.3em;
}

.selmpvl {
    border: 2px solid #d6b47f !important;
    font-size: 1.2em !important;
}

.btnrvl {
    width: 100%;
    font-size: 1.5em !important;
}

/******* ESTILOS ACCESO ********/

.cuadrocontform {
    padding-top: 90px;
}

.micuadro {
    border-radius: 10px;
    background: rgb(111, 20, 20);
    padding: 3%;
    width: 100%;
    max-width: 500px;
    height: 500px;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}

.ingreso2 {
    border-radius: 7px;
    padding: 3%;
    padding-top: 4%;
    width: 100%;
    max-width: 500px;
    height: 525px;
    /*background: #4d453a;
				box-shadow: 0 10px 25px rgb(28 28 28);*/
}

.titform2 {
    margin-top: 20px;
    color: #ffd200;
    font-size: 1.5em;
    margin-bottom: 6%;
}

.logoform2 {
    color: black;
    font-size: 4em;
    margin-bottom: 30px;
}

.inpform2 {
    background: none;
    font-size: 1.2em;
    width: 285px;
    color: #ffd200;
    padding: 3%;
    margin-bottom: 20px;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #ffd200;
    outline: none;
    text-decoration: none;
}

.butform2 {
    background: #fbd10b;
    margin-top: 25px;
    color: white;
    padding: 2.7%;
    width: 60%;
    border-radius: 15px 0px 15px 0px;
    border: none;
    outline: none;
    font-size: 1.5em;
    margin-bottom: 27px;
    text-decoration: none;
    transition-duration: 0.3s;
}

.butform2:hover {
    background: none;
    color: #d6b47f;
    border: 2px solid #d6b47f;
}

.forgot2 {
    color: black;
    text-decoration: none;
    font-size: 1.1em;
}

.forgot2:hover,
.forgot2:focus {
    text-decoration: none;
    color: black;
}

.estform2 {
    color: gray;
    font-size: 0.9em;
    margin-top: 10%;
}

.formest2 {
    color: black;
}

/************ESTILOS MENU TOP**********/

.btnmenuprinc {
    color: white;
    font-size: 2.7em;
    border-radius: 50px;
    border: none;
    margin-left: 4%;
    width: 100%;
    max-width: 65px;
    max-height: 65px;
    height: 100%;
}

.inpbusqueda {
    background: #fdfdfb;
    border: none;
    border-radius: 12px;
    padding: 12px;
    padding-left: 25px;
    height: 68px;
    width: 100%;
    max-width: 650px;
    font-size: 1em;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}

.cuadiconsearch {
    margin-left: -40px;
    color: white;
    padding-left: 12px;
    font-size: 2.8em;
    border-radius: 50px;
    width: 100%;
    max-width: 70px;
    max-height: 70px;
    height: 100%;
}

.cuadiconprofile {
    margin-left: 7%;
    color: white;
    padding-left: 12px;
    font-size: 2.8em;
    border-radius: 50px;
    width: 100%;
    max-width: 70px;
    max-height: 70px;
    height: 100%;
}
.cuadprofile {
    width: 20%;
}

.nombreusuario {
    font-size: 1.3em;
    margin-left: 10px;
}

.tipousuario {
    font-size: 1.1em;
    margin-left: 10px;
}

/************BARRA LATERAL IZQUIERDA**********/

.leftbar {
    overflow: hidden;
    width: 17% !important;
    padding-top: 45px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    height: 100%;
    background: none;
    position: fixed !important;
}

.limenu {
    list-style: none;
    color: white;
    margin-top: 25px;
}

.liactive,
.limenu:hover {
    color: #ffd200 !important;
}

.iconadmin {
    font-size: 3em;
}

.logoside {
    margin-bottom: 35px;
    width: 60% !important;
}

.csproxentregas {
    background: #fbf8f4;
    width: 90%;
    margin-left: 5%;
    max-height: 137px;
    height: 100%;
    border-radius: 8px;
}

.btnvsb {
    color: white;
    font-size: 1.2em;
    border-radius: 0px 0px 5px 5px;
    text-align: center;
}

.ullistordsb {
    padding: 0 !important;
    list-style: none;
}

.listordsb {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 0.8em;
    border-bottom: 1px solid #e5e5e5;
    list-style: none;
    padding-left: 3%;
    padding-right: 3%;
    cursor: pointer;
}

.etfolsb {
    color: #c94033;
}

.btnosb {
    margin-top: 15px;
    padding: 3%;
    width: 80%;
    margin-left: 10%;
    color: white;
    font-size: 1.6em;
    border-radius: 8px;
    text-align: center;
}

/************MENU PRINCIPAL**********/
.cuadmenubotones {
    margin-top: 40px !important;
    width: 90% !important;
    border: none;
    height: 185px;
    background: white;
    padding-right: 5% !important;
    padding-top: 5%;
    padding-left: 5% !important;
    padding-bottom: 0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    margin-bottom: 20px;
    transition-duration: 0.3s;
    cursor: pointer;
    margin-left: 5%;
    display: grid;
    place-items: center;
}

.cuadmenubotones:hover {
    background-color: #f2e8d7;
    box-shadow: rgb(242 232 215) 0px 3px 8px;
}
.titbotones {
    margin-top: 15px;
    font-size: 1.2em;
    padding-bottom: 6px;
}

/************MENU SIDE BAR**********/
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 150px;
    box-shadow: 0 10px 25px rgb(93 93 93);
    transition: all 0.15s ease;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #f7f7f7;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #4d453a;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#main {
    transition: margin-left 0.5s;
    padding: 16px;
}

/************CONTENIDO**********/
.contenidosec {
    margin-top: 35px !important;
}

.cuadna {
    margin-bottom: 15px;
    border-radius: 10px;
    height: 120px;
    padding: 5%;
    margin-bottom: 40px;
}

.cnumb {
    font-size: 4em;
}

.iconcar {
    background-color: #2b2b2b;
    border-radius: 50px;
    padding: 8%;
}

.tabcar {
    background: white;
    padding: 2%;
    margin-top: 20px !important;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    margin-bottom: 20px;
}

.cuadcar {
    margin-bottom: 20px;
}

.inpplac {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 2em;
    width: 50%;
    margin-top: 19px;
    text-transform: uppercase;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}

.cuadplac2 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
    margin-left: 41px;
}

.btnbuscpl {
    width: 25%;
    border-radius: 5px;
    font-size: 1.3em;
    padding: 12px 14px;
    border: none;
    margin-right: 5px;
    transition-duration: 0.3s;
}

#btnBuscarPlaca:hover {
    background: none !important;
    border: 2px solid #ffd200;
    color: #ffd200 !important;
}

#btnIrScanner:hover,
#btnEscanear:hover {
    background: none !important;
    border: 2px solid #2b2b2b;
    color: #2b2b2b !important;
}

#btnResetAll {
    border-radius: 5px;
    font-size: 1.3em;
    padding: 12px 25px;
    border: none;
    transition-duration: 0.3s;
    background: #737373;
    color: white;
}

#nombreBuscar {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 2em;
    width: 70%;
    margin-top: 19px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* ==========================
		DASHBOARD - NEXUS
		========================== */

.dashboard {
    width: 100%;
}

.kpi-card {
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}

.espkpi {
    margin-top: 30px !important;
}

.kpi-title {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.kpi-alert {
    border-left: 4px solid #f5c400; /* amarillo Nexus */
}

.alerts-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
}

.alerts-box ul {
    padding-left: 18px;
    margin: 0;
}

.alerts-box li {
    margin-bottom: 6px;
}

/* ==========================
		NUEVO TICKET - NEXUS
		========================== */

.nexus-ticket {
    max-width: 900px;
    margin: auto;
}

.ticket-step {
    margin-bottom: 30px;
}

.ticket-step h2 {
    margin-bottom: 12px;
    font-size: 1.4em;
}

.placa-input {
    width: 100%;
    font-size: 28px;
    text-align: center;
    letter-spacing: 3px;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.ticket-actions {
    display: flex;
    gap: 12px;
}

.ticket-card {
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.ticket-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-family: "Montserrat";
    font-weight: 600;
}

.ticket-card input {
    width: 100%;
    margin-bottom: 10px;
    border: none;
    border-radius: 2px;
    padding: 15px;
    font-size: 1.2em;
    font-family: "Quicksand";
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}

.btn-primary {
    background: #f5c400;
    border: none;
    padding: 14px;
    border-radius: 5px;
    font-weight: 600;
    width: 100%;
    font-size: 1.5em;
    font-family: "Montserrat";
    color: #2b2b2b;
}

.btn-secondary {
    background: #2b2b2b;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 5px;
    width: 100%;
    font-family: "Montserrat";
}

.hidden {
    display: none;
}

/* ==========================
			EVIDENCIAS - NUEVO TICKET
			========================== */

.evidence-block {
    margin-top: 20px;
}

.evidence-title {
    font-size: 1.4em;
    margin-bottom: 8px;
}

.radio-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1a1a1a;
    padding: 8px 14px;
    border-radius: 100px;
    cursor: pointer;
    color: white;
    width: 65px;
    height: 65px;
    font-size: 1.4em;
    padding-left: 18px;
    font-family: "Montserrat";
}

.radio-group input {
    display: none;
}

.radio-group input:checked + span {
    color: #f5c400;
    font-weight: 600;
}

.file-upload {
    display: inline-block;
    margin-bottom: 10px;
    background: #2b2b2b;
    color: #ffd200;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: "Montserrat";
    font-weight: 600;
}

.file-upload input {
    display: none;
}

.evidence-extra textarea {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 20px;
    min-height: 100px;
    background: #ffffff;
    border-radius: 5px;
    padding: 10px;
    color: #2b2b2b;
    border: none;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    font-size: 1.2em;
    font-family: "Quicksand";
}

.infocliente {
    font-size: 1.4em;
}

/* ==========================
			EDICIÓN INFO CLIENTE / AUTO
			========================== */

#info-edit h3 {
    font-size: 15px;
    margin: 14px 0 6px;
    font-size: 1.5em;
    margin: 14px 0 6px;
    font-family: "Montserrat";
    margin-top: 30px;
    font-weight: 600;
    color: #2b2b2b;
}

#info-edit input {
    width: 100%;
    margin-bottom: 10px;
    border: none;
    border-radius: 2px;
    padding: 15px;
    font-size: 1.2em;
    font-family: "Quicksand";
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}
#btnEditarInfo {
    border: 2px solid #2b2b2b;
    background: none;
    border-radius: 5px;
    color: #2b2b2b;
    font-size: 1.4em;
}

/* ==========================
			LLAVEROS - NEXUS
			========================== */

.llaveros-module,
.clientes-module,
.colaboradores-module,
.asistencia-module,
.asistencia-colab-module,
.nominas-module,
.siniestros-module {
    margin-top: 45px;
}

.llaveros-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.llaveros-tit {
    margin-bottom: 20px;
}

.llaveros-filters input {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    font-family: "Quicksand";
}

.llaveros-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.ticket-card-board {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    margin-bottom: 25px;
}

.ticket-card-board .folio {
    font-size: 16px;
    color: red;
    font-weight: 800;
}

.ticket-card-board .placa {
    font-size: 20px;
    font-weight: 600;
}

.ticket-card-board .cliente {
    font-size: 14px;
}

.ticket-card-board .status {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: #2b2b2b;
    font-weight: 600;
}

#btnVerMas {
    font-size: 1.2em;
    width: 50%;
    margin-bottom: 40px;
}

/* ESTADOS */
.status-active {
    border-left: 10px solid #00c853;
}

.status-request {
    border-left: 10px solid #f5c400;
}

.status-delivered {
    border-left: 10px solid #555;
}

.ver-mas {
    margin-top: 20px;
    text-align: center;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.modal-ticket {
    padding: 25px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 420px;
    z-index: 2001;
    box-shadow: 0 10px 25px rgb(40 40 40);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

#btnCerrarModal,
#cerrarCajaModal,
#cerrarClientesModal,
#cerrarLugaresModal,
#cerrarNomModal,
#cerrarSinModal {
    background: none;
    border: none;
    font-family: "Montserrat";
    font-weight: 800;
    font-size: 1.5em;
}

.txt-modal {
    font-size: 1.3em;
}

.modal-content {
    padding: 16px;
}

.modal-actions {
    padding: 16px;
}

.hidden {
    display: none;
}

/* EVIDENCIAS MODAL */

.modal-evidences h4 {
    margin-bottom: 10px;
}

.evidence-section {
    margin-bottom: 14px;
}

.evidence-label {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 6px;
}

.evidence-gallery {
    display: flex;
    gap: 8px;
}

.evidence-gallery img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #2a2a3a;
}

/* CHIPS FILTROS */

.status-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: #d8d8d8;
    color: #2b2b2b;
    cursor: pointer;
    font-size: 1.2em;
    font-family: "Montserrat";
}

.chip.active {
    background: #f5c400;
    color: #2b2b2b;
    font-weight: 600;
}

.status-filters-mobile {
    display: none;
}

/* ==========================
			CAJA - NEXUS
			========================== */
.caja-module {
    margin-top: 35px;
}

.caja-resumen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.caja-filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.caja-filtros input,
.caja-filtros select {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    font-family: "Quicksand";
}

.caja-listado {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
}

.caja-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr 1fr 1fr;
    padding: 14px;
    border-bottom: 1px solid #222;
    cursor: pointer;
    transition-duration: 0.3s;
}

.caja-row:hover {
    background: #f5c400;
}

.caja-row span {
    font-size: 14px;
}

.status {
    font-weight: 600;
}

.status.paid {
    color: #00c853;
}

.status.pending {
    color: #f5c400;
}

.txtkpicaja {
    font-size: 1.2em;
    color: white;
}

/* ==========================
				CAJA - TABLA RESPONSIVE
				========================== */

.caja-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.registros-select {
    display: flex;
    align-items: center;
    gap: 6px;
}

.caja-row {
    display: flex;
    justify-content: space-between;
    padding: 14px;
    border-bottom: 1px solid #222;
    cursor: pointer;
}

.caja-main {
    display: flex;
    flex-direction: column;
}

.caja-extra {
    display: flex;
    gap: 14px;
    align-items: center;
}

.caja-main .folio {
    font-size: 13px;
    opacity: 0.7;
}

.caja-main .placa {
    font-size: 16px;
    font-weight: 600;
}

.caja-main .monto {
    font-size: 15px;
}

.caja-extra span {
    font-size: 13px;
}
.cuadordlist {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    overflow-x: auto;
    margin-bottom: 25px;
}

#tablaCaja th {
    font-size: 13px;
    opacity: 0.8;
}

#tablaCaja td {
    font-size: 14px;
    vertical-align: middle;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

#tablaCaja tbody tr:hover {
    background: #1a1a1a;
}

.status.paid {
    color: #00c853;
    font-weight: 600;
}

.status.pending {
    color: #f5c400;
    font-weight: 600;
}

.caj-tab {
    cursor: pointer;
}

.btnpnp {
    width: 130px;
    margin-right: 6px;
}

/* ==========================
				CLIENTES - NEXUS
				========================== */

.clientes-resumen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.clientes-filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.inpfcl {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    box-shadow: 0 10px 25px rgb(234, 234, 234);
    font-family: "Quicksand";
}

/* ==========================
				COLABORADORES
				========================== */

.avatar-colab {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-colab-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.colab-profile {
    text-align: center;
    margin-bottom: 10px;
}

/* ==========================
				ASISTENCIA
				========================== */

.status.paid {
    color: #00c853;
    font-weight: 600;
}

.status.pending {
    color: #f5c400;
    font-weight: 600;
}
#tablaAsistencia tr,
#tablaNominas tr,
#tablaSiniestros tr {
    cursor: pointer;
}

#lugaresModal table th {
    font-size: 1em;
}

#lugaresModal table td {
    font-size: 1em;
}

/* ==========================
				ASISTENCIA COLABORADOR
				========================== */

.asistencia-colab-module {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
}

.estado-turno {
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.estado-turno h2 {
    margin: 10px 0;
}

.info-turno {
    background: #111;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 20px;
    font-size: 14px;
}

.acciones-turno {
    text-align: center;
    margin-bottom: 20px;
}

.btn-turno {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border-radius: 14px;
}

.gps-status {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

.status.paid {
    color: #00c853;
    font-weight: 600;
}

.status.pending {
    color: #f5c400;
    font-weight: 600;
}

.evidencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.evidencias-grid img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.csinbtn {
    margin-top: 20px;
}

/* ==========================
				SINIESTRO COLABORADOR
				========================== */

.siniestro-colab-module {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
}

.label-form {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.textarea-form {
    width: 100%;
    min-height: 90px;
    border-radius: 12px;
    padding: 12px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    resize: none;
}

.file-upload span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==========================
	TOP BAR RESPONSIVE - MÓVIL
	========================== */

.btn-menu {
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
}

/* Overlay cuando menú está abierto */
#overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* CONTENIDO */
.main-content {
    margin-left: 260px; /* el ancho actual de tu leftbar */
    padding: 20px;
}

/* =========================
   TOPBAR
========================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 20px;

    z-index: 1000;
}

.topbar-left img {
    display: block;
}

.btn-menu {
    font-size: 28px;
    border: none;
    background: none;
    color: #fff;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    position: fixed;
    top: 0;
    right: -470px;
    width: 450px !important;
    height: 100%;
    padding: 20px;
    transition: 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

/* =========================
   BOTÓN CERRAR
========================= */

.sidebar-close {
    text-align: left;
}

.sidebar-close button {
    font-size: 22px;
    border: none;
    background: none;
    color: #fff;
}

/* =========================
   MENÚ
========================= */

.menu-nexus {
    margin-top: 30px;
}

.menu-nexus a {
    text-decoration: none;
}

.limenu {
    padding: 14px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.limenu:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   OVERLAY
========================= */

#overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    display: none;

    z-index: 1000;
}

#overlay.active {
    display: block;
}

/* =========================
   CONTENIDO
========================= */

.main-content {
    padding-top: 80px;
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
    .logoside {
        display: none;
    }

    .menutop {
        display: none !important;
    }

    .cuadna {
        height: 150px;
    }

    .topbar-mobile {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
    }

    .topbar-left img {
        max-height: 40px;
    }

    .btn-menu {
        font-size: 28px;
        background: none;
        border: none;
        color: #fff;
    }

    .leftbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 80% !important; /* FORZAMOS ancho correcto */
        height: 100vh;
        z-index: 1002;

        /* OCULTO POR DEFECTO */
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .leftbar.open {
        transform: translateX(0);
    }

    #overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1001;
    }

    #overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
        margin-top: 60px;
    }

    .sidebar-close {
        display: flex;
        justify-content: flex-end;
        padding: 15px;
    }

    .sidebar-close button {
        background: none;
        border: none;
        color: #fff;
        font-size: 26px;
        cursor: pointer;
    }
    .kpi-value {
        font-size: 26px;
    }

    .placa-input {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .nexus-step h2 {
        font-size: 16px;
    }

    .ticket-actions button {
        flex: 1;
    }

    .placa-input {
        font-size: 22px;
    }

    .ticket-actions {
        flex-direction: column;
    }

    .btnbuscpl,
    .inpplac {
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 8px;
    }

    #btnVerMas {
        width: 100%;
    }
    .status-filters {
        display: none;
    }

    .status-filters-mobile {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        margin-bottom: 14px;
        padding-bottom: 6px;
    }

    .status-filters-mobile::-webkit-scrollbar {
        display: none;
    }

    .status-filters-mobile .chip {
        flex: 0 0 auto;
        padding: 6px 14px;
        border-radius: 20px;
        background: #d8d8d8;
        color: #2b2b2b;
        font-size: 13px;
        cursor: pointer;
        white-space: nowrap;
    }

    .status-filters-mobile .chip.active {
        background: #f5c400;
        color: #000;
        font-weight: 600;
    }

    .caja-row {
        grid-template-columns: 1fr 1fr;
        row-gap: 6px;
    }

    .caja-row span:nth-child(3),
    .caja-row span:nth-child(4) {
        grid-column: span 2;
    }

    .caja-row {
        flex-direction: column;
        gap: 8px;
    }

    .caja-extra {
        justify-content: space-between;
    }

    .paginacion {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

/* ======================================
   NEXUS - ESTILOS TABLET
   769px - 1024px
====================================== */

@media (min-width: 769px) and (max-width: 1024px) {
    /* ======================
       LAYOUT GENERAL
    ====================== */

    .main-content {
        margin-left: 200px; /* sidebar más compacta */
        padding: 20px;
    }

    /* ======================
       SIDEBAR
    ====================== */

    .leftbar {
        width: 200px;
    }

    .logoside {
        width: 160px;
    }

    .limenu {
        padding: 14px 10px;
    }

    .limenu p {
        font-size: 14px;
    }

    /* ======================
       TOPBAR
    ====================== */

    /* ======================
       DASHBOARD
    ====================== */

    .dashboard .row {
        row-gap: 16px;
    }

    .kpi-card {
        padding: 18px;
    }

    .kpi-title {
        font-size: 13px;
    }

    .kpi-value {
        font-size: 28px;
    }

    /* Dashboard en 2 columnas */
    .col-xl-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xl-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* ======================
       BOTONES
    ====================== */

    button,
    .btn {
        padding: 12px 16px;
        font-size: 15px;
    }

    /* ======================
       FORMULARIOS
    ====================== */

    input,
    select,
    textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    label {
        font-size: 14px;
    }

    /* ======================
       ALERTAS
    ====================== */

    .alerts-box {
        padding: 18px;
    }

    .alerts-box h5 {
        font-size: 16px;
    }

    .alerts-box li {
        font-size: 14px;
    }

    /* ======================
       NUEVO TICKET (PREPARADO)
    ====================== */

    .ticket-form {
        max-width: 100%;
    }

    .ticket-form .form-group {
        margin-bottom: 16px;
    }

    /* ======================
       CAJA (PREPARADO)
    ====================== */

    .caja-total {
        font-size: 28px;
    }

    /* ======================
       TABLAS
    ====================== */

    table {
        font-size: 14px;
    }

    table th,
    table td {
        padding: 10px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media screen and (max-height: 450px) {
}

@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

/** ==================================== BARRA DE DESPLAZAMIENTO (SCROLLBAR)  ===================================== **/
::-webkit-scrollbar {
    width: 7px;
    height: 8px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #ffd200;
    border-radius: 10px;
}

::-webkit-scrollbar-corner {
    background-color: black;
}

/* Palomita verde para permisos activos */
.perm-ok {
    color: #ffd200;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    transform: translateY(-1px);
}
/* Tabla más limpia */
.js-permisos-table td.text-center {
    vertical-align: middle;
}
.js-permisos-table td:first-child {
    text-align: left;
}
.js-permisos-table .pdbtnvm {
    white-space: nowrap;
}
