.container {
    max-width: 1600px;
}

.calendar {
    display: grid;
    grid-template-columns: 1fr repeat(14, 1fr);
    /* 1 columna para las horas y 14 para los slots (2 por cada día) */
    grid-template-rows: repeat(9, 50px);
    /* Filas de 50px de altura */
    gap: 1px;
    background-color: black;
}

.day-header {
    font-weight: bold;
    background-color: #ccc;
    grid-column: span 2;
    text-align: center;
    padding: 6px;
    border-right: 2px solid;
    border-top: 2px solid;
    border-bottom: 2px solid;
}

.day-header:nth-child(odd) {
    background-color: #f0f0f0;
    /* Color para los días impares */
}

.day-header:nth-child(even) {
    background-color: #e0e0e0;
    /* Color para los días pares */
}

.time {
    font-weight: bold;
    background-color: #f3f3f3;
    text-align: center;
    padding: 16px;
    border-right: 2px solid;
    border-left: 2px solid;
    border-bottom: 2px solid;
}

.slot {
    background-color: #f9f9f9;
    cursor: pointer;
    color: black;
    border: 1px solid #ddd;
    text-align: center;
    padding: 16px;
    border-bottom: 2px solid;
}

.slot.booked {
    background-color: #76a9d4 !important;
    color: white;
    border-bottom: 2px solid black;
}

.slot:hover {
    background-color: #d0e6f2;
}

.modal {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Fondo semitransparente */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    /* Tamaño máximo */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    text-align: center;
}

#editButton {
    margin-left: 30%;
}

#ModalCita {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#ModalClient {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#ButtonContainer {
    margin-top: 24px;
}

.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #76a9d4;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-custom:hover {
    transform: translateY(-2px);
}

.btn-custom:active {
    background-color: #76a9d4;
    transform: translateY(0);
}

.btn-custom i {
    margin-right: 5px;
}

.modalCreate {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content-create {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}

.modal-content-create h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.modal-content-create label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #555;
}

.modal-content-create input[type="text"],
.modal-content-create input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

.modal-content-create input[type="text"]:focus,
.modal-content-create input[type="email"]:focus {
    outline: none;
    border-color: #76a9d4;
    box-shadow: 0 0 5px rgba(118, 169, 212, 0.5);
}

.modal-content-create button.PrimaryButtons {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #76a9d4;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.modal-content-create button.PrimaryButtons:hover {
    background-color: #5d8fb0;
}

.modal-content-create .close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 18px;
    color: #888;
    cursor: pointer;
}

.modal-content-create .close:hover {
    color: #333;
}
.PrimaryButtons{
    margin-bottom: 16px;
}
