/* Fondo general */
body {
    background: #e5e5e5;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Contenedor general */
.contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Caja del login */
.formulario-login {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Inputs y labels */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botón de login */
.boton {
    background-color: #B51C30;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.boton:hover {
    background-color: #921828;
}

/* Mensaje de error */
.error {
    color: red;
    margin-top: 10px;
}

/* Menú superior */
.menu {
    background-color: #B51C30;
    padding: 15px;
    text-align: center;
}

.menu a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

/* Contenido principal dashboard */
.contenido-dashboard {
    padding: 40px;
    text-align: center;
}

/* Botones del dashboard */
.acciones {
    margin-top: 30px;
}

.boton-accion {
    background-color: #B51C30;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.boton-accion:hover {
    background-color: #921828;
}

/* Estilos Inputs Login */
.entrada {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Contenido principal del dashboard */
.contenido-dashboard {
    padding: 40px;
    text-align: center;
}

/* Paneles del dashboard */
.paneles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

/* Cada panel individual */
.panel {
    background-color: white;
    border: 2px solid #B51C30;
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

/* Hover sobre el panel */
.panel:hover {
    transform: scale(1.05);
}

/* Botones dentro de los paneles */
.boton-accion {
    background-color: #B51C30;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
}

.boton-accion:hover {
    background-color: #921828;
}

/* Tabla de usuarios */
.tabla-usuarios {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tabla-usuarios th, .tabla-usuarios td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.tabla-usuarios th {
    background-color: #B51C30;
    color: white;
}

.boton-accion-mini {
    background-color: #B51C30;
    color: white;
    border: none;
    padding: 6px 12px;
    margin: 4px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.boton-accion-mini:hover {
    background-color: #921828;
}

/* Botón de Crear Usuario */
a.boton-accion {
    background-color: #B51C30;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

a.boton-accion:hover {
    background-color: #921828;
}

/* Inputs y Selects uniformes */
.entrada {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    display: block;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Ajuste para la caja completa del formulario */
.formulario-login {
    background: #fff;
    padding: 30px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box; /* muy importante para que márgenes y padding no jodan */
}

/* Estilo uniforme para todos los inputs y selects */
input[type="text"],
input[type="password"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    display: block;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
}

/* Aseguramos también para el select */
select {
    background-color: white;
    appearance: none; /* Esto hace que los navegadores no metan sus mamadas visuales */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.grid-documentos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
    justify-items: center;
}

.estilazo-becky {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 2px solid #B51C30;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    margin: 60px auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    font-family: Arial, sans-serif;
    color: #333;
    text-align: center;
}

.estilazo-becky h2 {
    color: #B51C30;
    font-size: 24px;
    margin: 20px 0 10px 0;
}

.estilazo-becky p {
    font-size: 16px;
    margin: 5px 0;
}

.imagen-becky-alerta {
    width: 100px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 0 8px rgba(181,28,48,0.3);
}
