/* Estilos generales */
.rd-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.rd-container h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Estilos para el calendario */
#rd_date {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Estilos para los horarios */
.rd-timeslots-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.rd-timeslot {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.rd-timeslot:hover {
    background-color: #45a049;
}

.rd-timeslot.selected {
    background-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}

.rd-unavailable {
    background-color: #f44336;
    cursor: not-allowed;
}

.rd-unavailable:hover {
    background-color: #f44336;
}

/* Estilos para mensajes */
.loading-message {
    padding: 20px;
    text-align: center;
    color: #666;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    margin: 20px 0;
    animation: pulse 1.5s infinite;
}

.error-message {
    padding: 15px;
    text-align: center;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 20px 0;
}

.no-slots {
    padding: 15px;
    text-align: center;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    margin: 20px 0;
}

/* Animación de pulso para la carga */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* Formulario de reserva */
#booking-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#booking-form h3 {
    margin-top: 0;
    color: #333;
}

#booking-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

#booking-form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#booking-form input[type="submit"] {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#booking-form input[type="submit"]:hover {
    background-color: #45a049;
}

/* Responsive */
@media (max-width: 600px) {
    .rd-timeslot {
        width: calc(50% - 5px);
        text-align: center;
    }
}

@media (max-width: 400px) {
    .rd-timeslot {
        width: 100%;
    }
} 