*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:linear-gradient(to bottom,#014421,#006b3c);
    height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;
}

/* CONTENEDOR */
.login-container{

    width: 380px;

    background:white;

    border-radius:25px;

    padding:10px;

    box-shadow:0px 8px 25px rgba(0,0,0,0.25);

    position:relative;
}

/* LOGO UAEM */
.top-logo{

    position:absolute;

    top:5px;
    right:25px;

}

.top-logo img{

    width:60px;
}

/* LOGO SIAA */
.logo{

    text-align:center;

    margin-top:20px;
    margin-bottom:20px;
}

.logo img{

    width:150px;
}

.logo p{

    margin-top:10px;

    color:#666;

    font-size:15px;
}

/* TITULO */
.login-form h2{

    text-align:center;

    color:#014421;

    margin-bottom:25px;

    font-size:20px;
}

/* LABELS */
.login-form label{

    display:block;

    margin-bottom:8px;
    margin-top:15px;

    font-weight:bold;

    color:#222;
}

/* INPUTS */
.login-form input{

    width:100%;

    padding:14px;

    border:1px solid #ccc;

    border-radius:12px;

    font-size:15px;

    outline:none;
}

/* EFECTO */
.login-form input:focus{

    border:2px solid #c9a227;
}

/* BOTON */
.login-form button{

    width:100%;

    padding:14px;

    margin-top:25px;

    background:#014421;

    color:white;

    border:none;

    border-radius:12px;

    font-size:20px;

    cursor:pointer;

    transition:0.3s;
}

.login-form button:hover{

    background:#0b6b38;
}

/* LINK */
.login-form a{

    display:block;

    text-align:center;

    margin-top:18px;

    color:#c9a227;

    text-decoration:none;

    font-weight:bold;
}

.login-form a:hover{

    text-decoration:underline;
}
/* DASHBOARD */

.dashboard{

    display:flex;

    width:100%;
    height:100vh;
}

/* SIDEBAR */

.sidebar{

    width:260px;

    background:#014421;

    color:white;

    padding:20px;

    display:flex;

    flex-direction:column;
}

.sidebar-logos{

    text-align:center;

    margin-bottom:30px;
}

.sidebar .logo-siaa{

    width:120px;

    margin-bottom:10px;
}

.sidebar .logo-uaem{
     position: relative;
    width:60px;
}

/* MENÚ */

.sidebar ul{

    list-style:none;
}

.sidebar ul li{

    padding:15px;

    margin-bottom:10px;

    border-radius:10px;

    cursor:pointer;

    transition:0.3s;
}

.sidebar ul li:hover{

    background:#0b6b38;
}

.logout{

    margin-top:40px;

    background:#c9a227;

    color:black;

    font-weight:bold;
}

/* CONTENIDO */

.content{

    flex:1;

    padding:40px;

    background:#f5f5f5;
}

.content h1{

    color:#014421;

    margin-bottom:10px;
}

.content p{

    color:#555;

    margin-bottom:30px;
}

/* CARDS */

.cards{

    display:flex;

    gap:20px;

    flex-wrap:wrap;
}

.card{

    background:white;

    padding:25px;

    border-radius:20px;

    width:280px;

    box-shadow:0px 5px 15px rgba(0,0,0,0.1);

    transition:0.3s;
}

.card:hover{

    transform:translateY(-5px);
}

.card h2{

    color:#014421;

    margin-bottom:10px;
}

.card p{

    color:#666;
}
/* PANTALLA REGISTRO */

.form-container{

    background:white;

    padding:30px;

    border-radius:20px;

    width:700px;

    box-shadow:0px 5px 15px rgba(0,0,0,0.1);
}

.report-form{

    display:flex;

    flex-direction:column;
}

.report-form label{

    margin-top:15px;

    margin-bottom:8px;

    font-weight:bold;

    color:#014421;
}

.report-form input,
.report-form textarea,
.report-form select{

    padding:14px;

    border:1px solid #ccc;

    border-radius:12px;

    font-size:15px;

    outline:none;
}

.report-form textarea{

    height:140px;

    resize:none;
}

.report-form input:focus,
.report-form textarea:focus,
.report-form select:focus{

    border:2px solid #c9a227;
}

.report-form button{

    margin-top:30px;

    padding:15px;

    border:none;

    border-radius:12px;

    background:#014421;

    color:white;

    font-size:18px;

    cursor:pointer;

    transition:0.3s;
}

.report-form button:hover{

    background:#0b6b38;
}

/* MENÚ ACTIVO */

.active{

    background:#0b6b38;
}
/* ========================= */
/* MIS REPORTES */
/* ========================= */

.reportes-container{
    display:flex;
    flex-direction:column;
    gap:18px;
    max-width:900px;
}

/* TARJETAS */

.reporte-card{

    background:white;

    border-radius:18px;

    padding:20px;

    box-shadow:0px 4px 12px rgba(0,0,0,0.08);

    border-left:5px solid #005c25;

    max-width:850px;

    transition:0.3s;
}

/* EFECTO */

.reporte-card:hover{

    transform:translateY(-3px);
}

/* ENCABEZADO */

.reporte-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    margin-bottom:12px;
}

/* TITULO */

.reporte-header h2{

    color:#005c25;

    font-size:22px;
}

/* TEXTO */

.reporte-card p{

    margin:4px 0;

    color:#444;

    font-size:15px;

    line-height:1.5;
}

/* DESCRIPCION */

.descripcion{

    background:#f7f7f7;

    padding:10px 14px;

    border-radius:10px;

    margin-top:12px !important;

    font-size:14px;
}

/* ESTADOS */

.estado{

    padding:6px 14px;

    border-radius:20px;

    font-weight:bold;

    font-size:12px;

    white-space:nowrap;
}

/* PENDIENTE */

.pendiente{

    background:#fff2cc;

    color:#8a6d00;
}

/* EN PROCESO */

.proceso{

    background:#d5e8d4;

    color:#005c25;
}

/* RESUELTO */

.resuelto{

    background:#e0e0e0;

    color:#444;
}

/* BOTON */

.btn-ver{

    margin-top:14px;

    background:#005c25;

    color:white;

    border:none;

    padding:10px 18px;

    border-radius:10px;

    cursor:pointer;

    font-weight:bold;

    font-size:14px;

    transition:0.3s;
}

/* HOVER BOTON */

.btn-ver:hover{

    background:#0b6b38;
}

/* RESPONSIVE */

@media(max-width:700px){

    .reporte-header{

        flex-direction:column;

        align-items:flex-start;
    }

}
/* ========================= */
/* SOLICITAR AYUDA COMPACTO */
/* ========================= */

.ayuda-container{
    max-width:1000px;
}

/* GRID */

.ayuda-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));

    gap:18px;
}

/* TARJETAS */

.ayuda-card{

    background:white;

    padding:18px;

    border-radius:18px;

    box-shadow:0px 4px 10px rgba(0,0,0,0.08);

    border-left:5px solid #005c25;

    margin-bottom:10px;

    transition:0.3s;
}

/* EFECTO */

.ayuda-card:hover{

    transform:translateY(-3px);
}

/* TITULOS */

.ayuda-card h2{

    color:#005c25;

    margin-bottom:12px;

    font-size:18px;
}

/* TEXTO */

.ayuda-card p{

    color:#444;

    font-size:14px;

    margin:6px 0;

    line-height:1.4;
}

/* TARJETA PRINCIPAL */

.ayuda-card.principal{

    background:#f8fff9;

    border-left:6px solid #d4aa24;

    padding:18px;
}

/* BOTONES */

.btn-ayuda,
.btn-principal-ayuda{

    margin-top:14px;

    width:100%;

    background:#005c25;

    color:white;

    border:none;

    padding:11px 16px;

    border-radius:10px;

    font-weight:bold;

    font-size:14px;

    cursor:pointer;

    transition:0.3s;
}

/* HOVER */

.btn-ayuda:hover,
.btn-principal-ayuda:hover{

    background:#0b6b38;
}

/* FORM */

.ayuda-form{

    margin-top:8px;
}

/* LABELS */

.ayuda-form label{

    display:block;

    color:#005c25;

    font-weight:bold;

    margin-top:10px;

    margin-bottom:5px;

    font-size:15px;
}

/* INPUTS */

.ayuda-form select,
.ayuda-form textarea{

    width:100%;

    padding:10px;

    border:2px solid #d4aa24;

    border-radius:10px;

    font-size:14px;

    outline:none;
}

/* TEXTAREA */

.ayuda-form textarea{

    height:90px;

    resize:none;
}

/* RESPONSIVE */

@media(max-width:700px){

    .ayuda-grid{

        grid-template-columns:1fr;
    }

}
/* ========================= */
/* ADMINISTRADOR */
/* ========================= */

.admin-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:22px;
    max-width:1000px;
}

.admin-card{
    background:white;
    padding:24px;
    border-radius:20px;
    box-shadow:0px 4px 12px rgba(0,0,0,0.08);
    border-left:5px solid #005c25;
}

.admin-card h2{
    color:#005c25;
    margin-bottom:12px;
    font-size:22px;
}

.admin-card p{
    color:#444;
    margin-bottom:18px;
    line-height:1.4;
}

.admin-btn{
    display:inline-block;
    background:#005c25;
    color:white;
    text-decoration:none;
    padding:12px 18px;
    border-radius:12px;
    font-weight:bold;
}

.admin-btn.secundario{
    background:#d4aa24;
    color:black;
}

.admin-numero{
    font-size:42px;
    color:#005c25 !important;
    font-weight:bold;
    margin-bottom:5px !important;
}

/* ========================= */
/* REVISION DE REPORTES ADMIN */
/* ========================= */

.tabla-reportes{
    background:white;
    border-radius:20px;
    padding:20px;
    max-width:1100px;
    box-shadow:0px 4px 12px rgba(0,0,0,0.08);
}

.fila{
    display:grid;
    grid-template-columns:1.2fr 1.5fr 1fr 1fr 1fr 1fr;
    gap:12px;
    align-items:center;
    padding:14px;
    border-bottom:1px solid #eee;
    font-size:15px;
}

.fila:last-child{
    border-bottom:none;
}

.encabezado{
    background:#f7f7f7;
    font-weight:bold;
    color:#005c25;
    border-radius:12px;
    margin-bottom:8px;
}

.btn-tabla{
    background:#005c25;
    color:white;
    text-decoration:none;
    padding:9px 12px;
    border-radius:10px;
    text-align:center;
    font-weight:bold;
    font-size:14px;
}

.btn-tabla:hover{
    background:#0b6b38;
}

@media(max-width:900px){
    .fila{
        grid-template-columns:1fr;
        gap:6px;
    }

    .encabezado{
        display:none;
    }
}
/* ========================= */
/* RECUPERAR / NUEVA CONTRASEÑA */
/* ========================= */

.auth-body{
    background:linear-gradient(to bottom,#014421,#006b3c);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.auth-card{
    background:white;
    width:360px;
    padding:25px;
    border-radius:25px;
    box-shadow:0px 8px 25px rgba(0,0,0,0.25);
    position:relative;
}

.auth-top-logo{
    position:absolute;
    top:15px;
    right:20px;
}

.auth-top-logo img{
    width:55px;
}

.auth-logo{
    text-align:center;
    margin-top:15px;
    margin-bottom:18px;
}

.auth-logo img{
    width:135px;
}

.auth-logo p{
    margin-top:8px;
    color:#666;
    font-size:14px;
}

.auth-card h1{
    color:#014421;
    text-align:center;
    font-size:20px;
    margin-bottom:12px;
}

.auth-text{
    color:#555;
    text-align:center;
    font-size:14px;
    margin-bottom:20px;
    line-height:1.4;
}

.auth-form label{
    display:block;
    margin-top:14px;
    margin-bottom:7px;
    font-weight:bold;
    color:#222;
}

.auth-form input{
    width:100%;
    padding:13px;
    border:1px solid #ccc;
    border-radius:12px;
    font-size:15px;
    outline:none;
}

.auth-form input:focus{
    border:2px solid #c9a227;
}

.auth-form button{
    width:100%;
    margin-top:24px;
    background:#014421;
    color:white;
    border:none;
    border-radius:12px;
    padding:14px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
}

.auth-form button:hover{
    background:#0b6b38;
}

.auth-form a{
    display:block;
    text-align:center;
    margin-top:16px;
    color:#c9a227;
    text-decoration:none;
    font-weight:bold;
    font-size:14px;
}

/* ========================= */
/* DETALLE REPORTE ADMIN */
/* ========================= */

.detalle-card{

    background:white;

    border-radius:25px;

    padding:30px;

    max-width:950px;

    box-shadow:0px 4px 12px rgba(0,0,0,0.08);
}

/* ENCABEZADO */

.detalle-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;
}

.detalle-top h2{

    color:#005c25;

    font-size:30px;
}

/* GRID INFO */

.detalle-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

    margin-bottom:30px;
}

.detalle-grid label,
.detalle-descripcion label,
.detalle-seguimiento label{

    display:block;

    font-weight:bold;

    color:#005c25;

    margin-bottom:8px;

    font-size:16px;
}

.detalle-grid p{

    background:#f5f5f5;

    padding:14px;

    border-radius:12px;
}

/* DESCRIPCIÓN */

.descripcion-box{

    background:#f5f5f5;

    padding:20px;

    border-radius:16px;

    line-height:1.6;

    margin-bottom:28px;
}

/* TEXTAREA */

.detalle-seguimiento textarea{

    width:100%;

    height:130px;

    border:1px solid #ccc;

    border-radius:16px;

    padding:16px;

    resize:none;

    font-size:15px;

    outline:none;

    margin-top:8px;
}

.detalle-seguimiento textarea:focus{

    border:2px solid #d4aa24;
}

/* BOTONES */

.detalle-acciones{

    display:flex;

    gap:18px;

    margin-top:30px;
}

.btn-resolver{

    background:#005c25;

    color:white;

    border:none;

    padding:14px 24px;

    border-radius:14px;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;
}

.btn-contactar{

    background:#d4aa24;

    color:black;

    border:none;

    padding:14px 24px;

    border-radius:14px;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;
}

/* RESPONSIVE */

@media(max-width:800px){

    .detalle-grid{

        grid-template-columns:1fr;
    }

    .detalle-top{

        flex-direction:column;

        gap:15px;

        align-items:flex-start;
    }

    .detalle-acciones{

        flex-direction:column;
    }
}
/* ========================= */
/* AJUSTE SOLO LOGO UAEM SIDEBAR */
/* ========================= */

.sidebar-logos{
    position: relative;
}

.sidebar .logo-uaem{

    width:60px;

}
.sidebar ul li a{
    color: white;
    text-decoration: none;
}

.sidebar ul li a:visited{
    color: white;
}

.sidebar ul li a:hover{
    color: white;
}
.logout a{
    color: black;
    text-decoration: none;
}
.sidebar ul li a{

    color:white;

    text-decoration:none;

    display:block;
}

.sidebar ul li a:visited{

    color:white;
}

.logout a{

    color:black;
}
.btn-ver{

    display:inline-block;

    text-decoration:none;

    text-align:center;
}
/* ========================= */
/* DETALLE MI REPORTE */
/* ========================= */

.detalle-usuario-card{
    background:white;
    border-radius:25px;
    padding:30px;
    max-width:900px;
    box-shadow:0px 4px 12px rgba(0,0,0,0.08);
    border-left:5px solid #005c25;
}

.detalle-usuario-card .detalle-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.detalle-usuario-card .detalle-top h2{
    color:#005c25;
    font-size:28px;
}

.detalle-usuario-card .detalle-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    margin-bottom:25px;
}

.detalle-usuario-card label{
    display:block;
    color:#005c25;
    font-weight:bold;
    margin-bottom:8px;
}

.detalle-usuario-card .detalle-grid p{
    background:#f5f5f5;
    padding:13px;
    border-radius:12px;
    color:#333;
}

.detalle-usuario-card .descripcion-box{
    background:#f7f7f7;
    padding:18px;
    border-radius:14px;
    line-height:1.5;
    margin-bottom:22px;
    color:#333;
}

.detalle-usuario-card .detalle-acciones{
    margin-top:20px;
}

.detalle-usuario-card .btn-contactar{
    display:inline-block;
    background:#d4aa24;
    color:black;
    text-decoration:none;
    padding:13px 22px;
    border-radius:12px;
    font-weight:bold;
}

@media(max-width:800px){
    .detalle-usuario-card .detalle-grid{
        grid-template-columns:1fr;
    }

    .detalle-usuario-card .detalle-top{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }
}
.card{
    text-decoration:none;
    color:inherit;
}
.card:hover{
    transform:translateY(-5px);
    transition:0.3s;
}
.sidebar ul li a{
    color: white;
    text-decoration: none;
    display: block;
}

.logout a{
    color: black;
    text-decoration: none;
}
.acciones-superiores{
    margin-top:20px;
    margin-bottom:20px;
}

.btn-regresar{
    display:inline-block;
    background:#005c25;
    color:white;
    text-decoration:none;
    padding:10px 18px;
    border-radius:12px;
    font-weight:bold;
}

.btn-regresar:hover{
    background:#0b6b38;
}
body{
    background:#f5f5f5;
    min-height:100vh;
    height:auto;
    display:block;
}

.dashboard{
    display:flex;
    width:100%;
    min-height:100vh;
}

.sidebar{
    min-height:100vh;
    z-index:9999;
}

.content{
    flex:1;
    position:relative;
    z-index:1;
}

.sidebar ul li a{
    display:block;
    width:100%;
}
.estado.pendiente,
.estado.nuevo{
    background:#fff2cc;
    color:#8a6d00;
}

.estado.proceso{
    background:#d5e8d4;
    color:#005c25;
}

.estado.resuelto{
    background:#d8e8ff;
    color:#0057a3;
}
.lista-seguimientos{

    margin-top:20px;

    display:flex;

    flex-direction:column;

    gap:12px;
}

.seguimiento-item{

    background:#f7f7f7;

    border-left:5px solid #005c25;

    padding:15px;

    border-radius:12px;
}

.seguimiento-fecha{

    font-size:13px;

    color:#777;

    margin-bottom:8px;
}

.seguimiento-texto{

    color:#333;

    line-height:1.5;
}
.cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:25px;
    max-width:1100px;
}

.card{
    width:auto;
    min-height:180px;
}
.content .cards{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(250px, 1fr)) !important;
    gap:25px !important;
    max-width:1200px !important;
    align-items:stretch;
}

.content .cards .card{
    width:100% !important;
    min-height:180px;
}
.filtros-admin{
    background:white;
    padding:18px;
    border-radius:18px;
    max-width:1100px;
    margin-bottom:20px;
    box-shadow:0px 4px 12px rgba(0,0,0,0.08);
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:14px;
}

.filtros-admin input,
.filtros-admin select{
    padding:12px;
    border:1px solid #ccc;
    border-radius:12px;
    font-size:14px;
    outline:none;
}

.filtros-admin input:focus,
.filtros-admin select:focus{
    border:2px solid #d4aa24;
}

@media(max-width:900px){
    .filtros-admin{
        grid-template-columns:1fr;
    }
}
.estado{
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 130px;
    font-weight: bold;
}
.btn-tabla{
    transition: 0.3s;
}

.btn-tabla:hover{
    transform: scale(1.05);
}

.archivo-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f5f5f5;
    padding:10px 14px;
    border-radius:10px;
    margin-top:8px;
    color:#333;
}

.archivo-item button{
    background:#d4aa24;
    color:black;
    border:none;
    border-radius:8px;
    padding:6px 10px;
    cursor:pointer;
    font-weight:bold;
}
.archivo-info{
    display:flex;
    align-items:center;
    gap:12px;
}

.preview-evidencia{
    width:55px;
    height:55px;
    object-fit:cover;
    border-radius:10px;
    border:1px solid #ddd;
}

.preview-pdf{
    width:55px;
    height:55px;
    border-radius:10px;
    background:#f1f1f1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    border:1px solid #ddd;
}
.notificacion{
    position:fixed;
    top:25px;
    right:25px;
    padding:16px 22px;
    border-radius:14px;
    color:white;
    font-weight:bold;
    box-shadow:0px 6px 18px rgba(0,0,0,0.25);
    z-index:99999;
    animation: aparecerNotificacion 0.3s ease;
}

.notificacion.exito{
    background:#005c25;
}

.notificacion.error{
    background:#b00020;
}

.notificacion.advertencia{
    background:#d4aa24;
    color:black;
}

@keyframes aparecerNotificacion{
    from{
        opacity:0;
        transform:translateY(-15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
.evidencia-admin-item{
    display:flex;
    align-items:center;
    gap:15px;
    background:#f7f7f7;
    padding:14px;
    border-radius:14px;
    margin-bottom:12px;
}

.evidencia-admin-img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:12px;
    border:1px solid #ddd;
}

.evidencia-admin-pdf{
    width:80px;
    height:80px;
    background:#eeeeee;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    border:1px solid #ddd;
}
.requisitos-password{

    margin-top: 10px;
    padding: 12px;

    background: #f5f7f8;

    border-left: 4px solid #2E7D32;

    border-radius: 8px;

    font-size: 14px;

    color: #444;

    line-height: 1.7;

}
/* SOLICITUDES DE AYUDA ADMIN */

#tablaSolicitudes .fila{
    display:grid;
    grid-template-columns: 1.2fr 1.3fr 1.1fr 1fr 1.8fr 1.2fr;
    align-items:center;
    gap:16px;
    padding:18px 16px;
}

#tablaSolicitudes .fila.encabezado{
    background:#f5f5f5;
    border-radius:14px;
    font-weight:bold;
}

#tablaSolicitudes .fila:not(.encabezado){
    background:#fff;
    border-bottom:1px solid #e5e5e5;
}

#tablaSolicitudes select{
    width:100%;
    padding:8px;
    border-radius:8px;
    border:1px solid #999;
}

#tablaSolicitudes .estado{
    margin-bottom:8px;
}
#tablaSolicitudes{
    max-width: 1200px;
}

#tablaSolicitudes .fila{
    grid-template-columns: 1.3fr 1.3fr 1.1fr 1fr 1.8fr 1.2fr;
}
.requisitos-password{
    margin-top:10px;
    margin-bottom:20px;
}

/* ===========================
   DISEÑO RESPONSIVO CELULARES
=========================== */

@media screen and (max-width: 768px){

    body{
        padding:20px;
        height:auto;
        min-height:100vh;
    }

    .login-container{
        width:100%;
        max-width:380px;
        padding:20px;
    }

    .logo img{
        width:120px;
    }

    .top-logo img{
        width:50px;
    }

    .login-form h2{
        font-size:28px;
    }

    .login-form input{
        font-size:16px;
        padding:12px;
    }

    .login-form button{
        font-size:18px;
    }

}

/* ===========================================
   AJUSTE RESPONSIVE PARA CELULAR
=========================================== */

@media screen and (max-width:768px){

    .dashboard{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        min-height:auto;
        position:relative;
    }

    .content{
        padding:20px;
    }

    .cards,
    .content .cards{
        grid-template-columns:1fr !important;
    }

    .card{
        width:100% !important;
    }

    .form-container,
    .detalle-card,
    .detalle-usuario-card,
    .tabla-reportes,
    .reportes-container{
        width:100%;
        max-width:100%;
    }

    .fila{
        grid-template-columns:1fr !important;
    }

    .encabezado{
        display:none;
    }

    table{
        display:block;
        overflow-x:auto;
    }

    img{
        max-width:100%;
        height:auto;
    }

}

/* ====================================================
   AJUSTE RESPONSIVE FINAL SIAA
==================================================== */

@media screen and (max-width:768px){

    .dashboard{
        display:flex;
        flex-direction:column;
    }

    .sidebar{

        width:100% !important;

        min-width:100% !important;

        min-height:auto !important;

        padding:15px;

    }

    .sidebar ul{

        display:flex;

        flex-wrap:wrap;

        gap:8px;

        justify-content:center;

    }

    .sidebar ul li{

        flex:1 1 45%;

        margin:0;

        text-align:center;

    }

    .content{

        width:100%;

        padding:15px;

    }

    .reportes-container{

        width:100% !important;

        max-width:100% !important;

    }

    .reporte-card{

        width:100% !important;

        max-width:100% !important;

    }

    .ayuda-container{

        width:100% !important;

        max-width:100% !important;

    }

    .ayuda-card{

        width:100% !important;

    }

}

/* =====================================
   AJUSTE FINAL PARA CELULARES
===================================== */

@media screen and (max-width:768px){

    .dashboard{
        display:block !important;
    }

    .sidebar{
        width:100% !important;
        min-height:auto !important;
    }

    .content{
        width:100% !important;
        margin:0 !important;
        padding:15px !important;
    }

    .reportes-container,
    .ayuda-container{
        width:100% !important;
        max-width:100% !important;
    }

    .reporte-card,
    .ayuda-card,
    .descripcion-box{
        width:100% !important;
        max-width:100% !important;
        box-sizing:border-box;
    }

    .reporte-header{
        flex-direction:column;
        align-items:flex-start;
    }
}
/* ==========================================
   RESPONSIVE DEFINITIVO PARA CELULAR
========================================== */
@media screen and (max-width:768px){

    .dashboard{
        display:flex !important;
        flex-direction:column !important;
    }

    .sidebar{
        width:100% !important;
        min-height:auto !important;
        position:relative !important;
        padding:15px !important;
    }

    .sidebar .logo-uaem{
        position:static !important;
        width:55px !important;
        margin:10px auto !important;
        display:block !important;
    }

    .sidebar-logos{
        text-align:center !important;
    }

    .sidebar ul{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:10px !important;
        padding:0 !important;
    }

    .sidebar ul li{
        margin:0 !important;
        text-align:center !important;
    }

    .content{
        width:100% !important;
        padding:15px !important;
    }

    .reportes-container,
    .ayuda-container,
    .detalle-card,
    .detalle-usuario-card,
    .form-container,
    .tabla-reportes{
        width:100% !important;
        max-width:100% !important;
    }

    .reporte-card,
    .ayuda-card,
    .card{
        width:100% !important;
        max-width:100% !important;
    }

    .cards,
    .content .cards{
        display:grid !important;
        grid-template-columns:1fr !important;
    }

    .detalle-grid{
        grid-template-columns:1fr !important;
    }

    .fila{
        grid-template-columns:1fr !important;
    }

    img{
        max-width:100% !important;
        height:auto !important;
    }
}
/* ===== FORZAR ESTILO DEL LOGIN ===== */

body{
    margin:0;
    padding:0;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0b5f2a;
}

.login-container{
    width:380px;
    background:#fff;
    border-radius:25px;
    padding:30px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

.top-logo{
    display:flex;
    justify-content:flex-end;
}

.logo{
    text-align:center;
}

.logo img{
    max-width:180px;
}

input{
    width:100%;
    box-sizing:border-box;
}

button{
    width:100%;
}
/* ===== FORZAR LOGIN ===== */

html, body{
    margin:0 !important;
    padding:0 !important;
    width:100% !important;
    height:100% !important;
}

body{
    background:linear-gradient(to bottom,#014421,#006b3c) !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

.login-container{
    width:380px !important;
    margin:0 auto !important;
}
/* ===== CORREGIR LOGIN EN CELULAR ===== */

@media screen and (max-width:768px){

    html,
    body{
        margin:0 !important;
        padding:0 !important;
        width:100% !important;
        min-height:100vh !important;
        background:linear-gradient(to bottom,#014421,#006b3c) !important;

        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
    }

    .login-container{
        width:90% !important;
        max-width:380px !important;
        margin:0 auto !important;
    }

}
