/* Reset básico y tipografía */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e6f2fa; /* celeste muy suave */
    padding: 20px;
    color: #003366; /* azul oscuro */
}

/* Contenedor flex para logo y formulario */
.form-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

/* Logo */
.logo-container img {
    max-height: 150px;
}

/* Título dentro del formulario */
form h1 {
    text-align: center;
    color: #004080;
    margin-bottom: 30px;
}

/* Formulario principal */
form {
    background: #ffffff;
    padding: 30px 40px;
    flex: 1; /* ocupa el espacio restante */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    border-top: 5px solid #007acc; /* barra superior azul */
}

/* Fieldsets */
fieldset {
    margin-bottom: 25px;
    border: 2px solid #cce0ff;
    padding: 20px;
    border-radius: 10px;
    background: #f0f8ff;
}

legend {
    font-weight: bold;
    color: #004080;
    padding: 0 10px;
}

/* Labels e inputs */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #b3d1ff;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #007acc;
    box-shadow: 0 0 5px rgba(0, 122, 204, 0.3);
    outline: none;
}

/* Botones */
button {
    background: #007acc;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #005fa3;
    transform: translateY(-2px);
}

/* Contenedor de horas extras */
.hora-extra {
    background: #cce0ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 5px solid #007acc;
}

/* Separadores */
hr {
    border: 0;
    border-top: 1px solid #b3d1ff;
    margin: 20px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    border: 1px solid #b3d1ff;
    padding: 8px;
    text-align: center;
}

th {
    background: #007acc;
    color: white;
}

/* Checkbox festivo */

.checkbox-festivo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-festivo input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.checkbox-festivo label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}