
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f6f5fa;
    color: #7a1717;
}

button {
    cursor: pointer;
    border: none;
}

:root {
    --morado: #c62828;
    --oscuro: #8b0000;
    --gris: #777777;
    --rojo: #df4d58;
}

/* INICIO DE SESIÓN */

.login {
    display: flex;
    min-height: 100vh;
    background: white;
}

.izquierda {
    width: 50%;
    background: var(--oscuro);
    color: white;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.izquierda h1 {
    font-size: 43px;
    margin: 60px 0 20px;
}

.izquierda p {
    color: #f5cccc;
    line-height: 1.7;
}

.beneficios {
    margin-top: 30px;
    line-height: 3;
}

.derecha {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.formulario {
    width: 80%;
    max-width: 400px;
}

.formulario h2 {
    margin: 15px 0;
    font-size: 30px;
}

input, select, textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dedce8;
    border-radius: 8px;
    margin-top: 8px;
    outline-color: var(--morado);
}

.campo {
    margin: 20px 0;
}

.campo label {
    font-size: 13px;
    font-weight: bold;
}

.boton {
    background: var(--morado);
    color: white;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: bold;
}

.boton:hover {
    background: #8b0000;
}

.completo {
    width: 100%;
}

/* APLICACIÓN */

#aplicacion {
    display: none;
}

.contenedor {
    display: flex;
    min-height: 100vh;
}

.menu {
    width: 1500px;
    background: white;
    padding: 20px;
    border-right: 1px solid #eee;
    flex-shrink: 0;
}

.logo {
    font-size: 40px;
    font-weight: bold;
    color: var(--morado);
    margin-bottom: 25px;
}

.menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: transparent;
    color: #777;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 18px;
}

.menu button:hover,
.menu button.activo {
    background: #ffe5e5;
    color: var(--morado);
}

.contenido {
    flex: 1;
    min-width: 0;
}

.encabezado {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.usuario {
    color: var(--morado);
    font-weight: bold;
}

.pagina {
    padding: 30px;
}

.pagina h1 {
    margin-bottom: 10px;
}

.descripcion {
    color: var(--gris);
    font-size: 13px;
    margin-bottom: 25px;
}

/* TARJETAS */

.tarjetas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.tarjeta {
    background: white;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.tarjeta h2 {
    color: var(--morado);
    font-size: 28px;
    margin: 15px 0;
}

.tarjeta p {
    color: #888;
    font-size: 12px;
}

/* PANELES */

.panel {
    background: white;
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.panel h3 {
    margin-bottom: 15px;
}

.reporte {
    padding: 16px 5px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.estado {
    background: #fff1d9;
    color: #b17b24;
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.proceso {
    background: #ffe5e5;
    color: #b22222;
}

.resuelto {
    background: #e5f6ed;
    color: #29946b;
}

/* FORMULARIO DE REPORTES */

.pasos {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    color: var(--morado);
}

.caja {
    background: white;
    padding: 28px;
    border-radius: 12px;
    max-width: 800px;
}

.caja h3 {
    margin-bottom: 10px;
}

.caja textarea {
    height: 110px;
}

.botones {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.evidencia {
    background: #fff5f5;
    border: 2px dashed #e5a0a0;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

/* MIS REPORTES */

.filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.filtros button {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 16px;
    border-radius: 8px;
}

.filtros button.seleccionado {
    background: #ffe5e5;
    color: var(--morado);
    border-color: var(--morado);
}

.oculto {
    display: none !important;
}

/* RESPONSIVE */

@media(max-width:850px) {
    .tarjetas {
        grid-template-columns: repeat(2, 1fr);
    }

    .izquierda {
        padding: 35px;
    }

    .izquierda h1 {
        font-size: 30px;
    }
}

@media(max-width:600px) {
    .login {
        flex-direction: column;
    }

    .izquierda, .derecha {
        width: 100%;
    }

    .izquierda {
        padding: 30px;
    }

    .izquierda h1 {
        margin: 30px 0 15px;
    }

    .menu {
        width: 100%;
        padding: 12px;
    }

    .contenedor {
        display: block;
    }

    .menu button {
        display: inline-block;
        width: auto;
        font-size: 14px;
        padding: 12px;
        margin-bottom: 8px;
    }

    .logo {
        font-size: 30px;
    }

    .pagina {
        padding: 15px;
    }

    .encabezado {
        padding: 15px;
    }

    .tarjetas {
        gap: 8px;
    }

    .tarjeta {
        padding: 13px;
    }

    .pasos {
        gap: 10px;
        font-size: 12px;
    }
}
