body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-y: auto;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.calendar-container {
    width: 90%;
    max-width: 1500px;
    margin: 20px 0;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.header select {
    padding: 5px;
    margin: 0 5px;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
    border: 2px solid #000;
}
th, td {
    border: 2px solid #000;
    text-align: center;
    vertical-align: top;
    padding: 5px;
    background-color: #f9f9f9;
}
th {
    background-color: #f4f4f4;
}
.cell-content {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    background-color: #ffffff;
    border: 2px solid #000;
    box-sizing: border-box;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}
.date-number {
    font-weight: bold;
    margin-bottom: 5px;
}
.prev-month, .next-month {
    color: gray;
}
.shift {
    flex: 1;
    border-top: 1px solid #ddd;
    padding: 5px;
    margin-bottom: 5px;
    position: relative;
}
.shift.franco {
    background-color: rgba(255, 255, 0, 0.3); /* Amarillo claro y transparente */
}
.shift button {
    margin-top: 5px;
    margin-left: 3px; /* Alinea el botón al costado del turno */
    /*background-color: #32CD32;  Color verde para el botón */
    color: rgb(14, 12, 12);
    border: none; /* Elimina los bordes del botón */
    width: 22px; /* Ancho del botón */
    height: 20px; /* Altura del botón para mantenerlo cuadrado */
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block; /* Asegura que el botón esté en línea con el contenido del turno */
}

.employee-select {
    display: none;
    position: absolute;
    top: 35px;
    left: 5px;
    z-index: 1;
    background-color: white;
    border: 1px solid #ddd;
    overflow-y: auto;
    max-height: none;
}
.employee-list {
    margin-top: 5px;
    padding-left: 15px;
    font-size: 0.9em;
}
.shift:last-child {
    margin-bottom: 0;
}
.employee-list div {
    cursor: pointer;
    margin-bottom: 3px;
    color: #007BFF;
}
.employee-list div:hover {
    text-decoration: line-through;
    color: red;
}
@media (max-width: 600px) {
    .cell-content {
        height: auto;
    }
    th, td {
        font-size: 12px;
        padding: 2px;
    }
}
.title-container {
    width: 60%; /* Ajustar para mejor proporción */
    text-align: center;
    padding: 20px 0; /* Más espacio interno para mejor presencia */
    margin: 20px auto; /* Centrado y más espacio */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(255, 255, 255, 0.1)); /* Fondo degradado */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Bordes más ligeros */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
    border-radius: 15px; /* Bordes más redondeados */
    backdrop-filter: blur(10px); /* Efecto de vidrio esmerilado */
    -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
}

.title-container h1 {
    margin: 0;
    font-size: 2.5em; /* Más grande para mayor impacto */
    color: #ffffff; /* Blanco puro */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* Sombra de texto para legibilidad */
    font-family: 'Poppins', sans-serif; /* Fuente estilizada y moderna */
    text-transform: uppercase;
    letter-spacing: 2px; /* Espaciado entre letras para claridad */
}
        /*style del MODAL*/
/* Contenedor del modal */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Contenido del modal */
.modal-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Títulos y textos */
.modal-content h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

/* Entradas */
.modal-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Checkbox */
.modal-checkbox {
    margin-bottom: 15px;
    transform: scale(1.2);
}

/* Botones */
.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.modal-button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.modal-button-primary {
    background-color: #007bff;
    color: white;
}

.modal-button-primary:hover {
    background-color: #0056b3;
}

.modal-button-secondary {
    background-color: #ccc;
    color: black;
}

.modal-button-secondary:hover {
    background-color: #999;
}

.employee-list div strong {
    color: #000;
    margin-right: 5px;
}
