/* === FUENTE === */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #000;
}

/* === ENCABEZADO === */
header {
    background-color: #000;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* === BOTÓN CERRAR SESIÓN === */
.logout {
    position: absolute;
    top: 20px;
    right: 30px;
}
.logout a {
    background: #000;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

/* === CONTENEDOR GENERAL === */
.container {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

/* === MENÚ GRID === */
.menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}
.menu a {
    display: block;
    padding: 1.5rem;
    background: #000;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.menu a:hover {
    background-color: #333;
    transform: translateY(-3px);
}

/* === FORMULARIOS === */
form {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    color: #000;
}
input[type="submit"] {
    background: #000;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

/* === TABLAS === */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}
th, td {
    padding: 10px;
    border: 1px solid #ccc;
}
th {
    background-color: #000;
    color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .menu a {
        font-size: 0.95rem;
        padding: 1.2rem;
    }
}