/* Fondo base en toda la app */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fefaf5; /* color hueso */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor de formularios, tarjetas, etc. */
.form-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
}

/* Títulos */
h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #05a269;
}

/* Inputs de texto y número */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Botones */
button {
    width: 100%;
    padding: 14px;
    background-color: #05a269;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #04875c;
    transform: scale(1.02);
}

/* Botón de salir (rojo) */
button[style*="crimson"] {
    background-color: crimson;
}
button[style*="crimson"]:hover {
    background-color: #a00028;
}

/* Checkbox y etiquetas */
label {
    font-size: 15px;
    display: block;
    margin: 6px 0;
    color: #555;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    text-align: left;
}

thead {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }
    input, button {
        font-size: 15px;
        padding: 12px;
    }
}
