/* ===== RESET BÁSICO ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 0;
    color: #333;
}

/* ===== CONTENEDOR GENERAL ===== */
.container {
    max-width: 1000px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ===== TITULOS ===== */
h1, h2, h3 {
    margin-top: 0;
    color: #1f2937;
}

/* ===== LINKS ===== */
a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* ===== MENSAJES FLASH ===== */
.flash {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* ===== TABLAS ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th {
    background-color: #1f2937;
    color: #ffffff;
    padding: 10px;
    text-align: left;
}

td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

tr:hover {
    background-color: #f9fafb;
}

/* ===== BOTONES ===== */
button, .btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

button:hover, .btn:hover {
    background-color: #1e40af;
}

/* ===== FORMULARIOS ===== */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"] {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border-radius: 5px;
    border: 1px solid #d1d5db;
}

/* ===== FOOTER SIMPLE ===== */
.footer {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 30px;
}
