/* Estilos para a Grade de Horários */
.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); /* Cria uma grade responsiva */
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.horario-slot {
    padding: 12px 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.horario-slot.horario-livre:hover {
    background-color: #f5f5f5;
    border-color: #b3b3b3;
}

.horario-slot.horario-ocupado {
    background-color: #f9f9f9;
    color: #bbb;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.8;
}

.horario-slot.selecionado {
    background-color: #ff2198 !important;
    color: white !important;
    border-color: #ff2198;
}

/* Estilos para o Modal de Confirmação */
#agenda-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

#agenda-modal-content {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#agenda-modal-content h3 {
    margin-top: 0;
}

#agenda-modal-content label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

#agenda-modal-content select,
#agenda-modal-content button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.politica-cancelamento {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    margin: 10px 0;
    font-size: 0.9em;
    max-height: 100px;
    overflow-y: auto;
    border-radius: 4px;
}

#modal-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}