body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
.container {
    display: flex;
    flex-wrap: wrap;
    margin: 100px auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
   
}
.info {
    padding: 20px;
    border-right: 1px solid #ddd;
    background-color: #f9f9f9;
    flex: 1 1 250px;
}
.info img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.info h2 {
    font-size: 18px;
    margin: 0 0 10px;
}
.info p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}
.calendar {
    padding: 20px;
    flex: 2;
    min-width: 300px;
}
.calendar h1 {
    margin: 0 0 10px;
    font-size: 24px;
    text-align: center;
}
.calendar h2 {
    margin: 10px 0;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.calendar .weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    gap: 2%;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-grid div {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: #e0e0e0;
    cursor: pointer;
}
.calendar-grid div.available {
    background: #e0e0e0;
    color: rgb(0, 0, 0);
}
.calendar-grid div:hover {
    background: #0267d4;
}
.calendar-grid div.selected {
    background: #007bff;
    color: white;
}
.timeslots {
    padding: 1%;
    flex: 1;
    min-width: 200px;
    max-height: 400px; /* Ajusta la altura máxima según tus necesidades */
    overflow-y: auto;
}
#timeslotsContainer {
    padding: 10px 0;
}
.timeslots h2 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 20px;
}
.timeslots button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #2a91ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
}
.timeslots button:hover {
    background: #0056b3;
}

.timeslot-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hora-btn {
    transition: all 0.3s ease;
    width: 100%;
}

.hora-btn.reducido {
    width: 50%;
}


.disabled {
    background-color: #5c5c5c !important; /* Gris fuerte */
    color: #808080 !important; /* Gris oscuro para el texto */
    pointer-events: none !important; /* Desactiva la interacción */
}

.disabled:hover {
    background-color: #828282 !important; /* Mantener el gris fuerte al pasar el mouse */
}

.disabled.selected {
    background-color: #6b6b6b !important; /* Asegura que no cambie el color al seleccionar */
}
#form-container {
    padding: 20px;
    margin-top: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    
}
