body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('fondo.webp') center center/cover no-repeat fixed;
    position: relative;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 30, 30, 0.25); /* overlay más claro */
    z-index: 0;
    pointer-events: none;
}

h1 {
    margin-top: 40px;
    color: #2d3a4b;
    letter-spacing: 1px;
    font-size: 2.3rem;
    font-weight: 700;
    font-family: 'Segoe UI', Arial, sans-serif;
}

form {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.95);
    padding: 32px 28px 24px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10);
    margin-top: 32px;
    min-width: 320px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
}

input[type="text"],
input[type="number"],
textarea {
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
    border: 1.5px solid #5b9df9;
    outline: none;
    background: #fff;
}

button[type="submit"] {
    margin-top: 12px;
    padding: 12px 0;
    background: linear-gradient(90deg, #5b9df9 0%, #3a7bd5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    transition: background 0.2s, transform 0.1s;
    font-family: 'Segoe UI', Arial, sans-serif;
}

button[type="submit"]:hover {
    background: linear-gradient(90deg, #3a7bd5 0%, #5b9df9 100%);
    transform: translateY(-2px) scale(1.03);
}

#resultados {
    margin-top: 32px;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
    padding: 20px 24px;
    color: #2d3a4b;
    font-size: 1.05rem;
    min-height: 40px;
}

select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    background: #f8fafc;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    transition: border 0.2s;
    box-sizing: border-box;
}

select:focus {
    border: 1.5px solid #5b9df9;
    outline: none;
    background: #fff;
}

.radio-group {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.radio-group label {
    font-size: 0.93rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 8px;
    background: none !important;
    border: none !important;
    box-shadow: none;
    transition: background 0.2s;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #1976d2;
}

#horas-trabajadas label[for="confirmar-horas"] {
    text-align: left;
    width: 100%;
    margin-bottom: 4px;
}

#confirmar-horas {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
  