/* === ESTILOS INSTITUCIONALES PARA TODO === */

/* === General === */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff8f8;
    padding: 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
/* === Logo === */
.logo {
    display: block;
    margin: 1 auto 40px;
    max-width: 100%;
    width: 430px; /* LOGO GRANDE */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

/* Responsive para móviles */
@media (max-width: 600px) {
    .logo {
        width: 90%;
    }
}

/* === Títulos === */
h2 {
    color: #a30000;
    text-align: center;
    margin-bottom: 20px;
}

/* === Formularios === */
form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(163, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    margin: 0 auto 30px;
}

/* === Campos de formulario === */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

/* === Botón Principal === */
button {
    background-color: #ff1201;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #e91809;
}

/* === Mensajes === */
p {
    text-align: center;
    font-weight: bold;
}

.error {
    color: red;
}

.success {
    color: green;
}

/* === Tablas === */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(163, 0, 0, 0.1);
    background-color: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #a30000;
    color: white;
}

td {
    background-color: #fff;
}

/* === Enlaces === */
a {
    color: #e70000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === Botones del Dashboard === */
.action-btn {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    margin-right: 5px;
    cursor: pointer;
    border: none;
    color: white;
}

.borrar {
    background-color: #d90000;
}

.clasificar {
    background-color: #f39c12;
}

.eliminar {
    background-color: #7f8c8d;
}

.ver {
    background-color: #ff0101;
}

.logout {
    background-color: #d32f2f;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}


