/* Estilos globais para prevenir scroll horizontal em todas as páginas */
html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Estilos personalizados para o formulário de agendamento */
.appointment-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.appointment-form .form-title {
    color: #9a2828;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

/* Estilização do calendário */
.appointment-form .date-input {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    height: auto;
}

.appointment-form .date-input:focus {
    border-color: #9a2828;
    box-shadow: 0 0 0 0.2rem rgba(154, 40, 40, 0.25);
}

/* Estilização dos campos select */
.appointment-form .form-select {
    height: 50px;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 1rem;
}

.appointment-form .form-select:focus {
    border-color: #9a2828;
    box-shadow: 0 0 0 0.2rem rgba(154, 40, 40, 0.25);
}

/* Estilização para os inputs normais */
.appointment-form .form-control {
    height: 50px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
}

.appointment-form .form-control:focus {
    border-color: #9a2828;
    box-shadow: 0 0 0 0.2rem rgba(154, 40, 40, 0.25);
}

.appointment-form textarea.form-control {
    height: auto;
    min-height: 120px;
}

/* Estilização do botão de envio */
.appointment-form .btn-submit {
    background-color: #9a2828;
    color: white;
    border: none;
    height: 50px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.appointment-form .btn-submit:hover {
    background-color: #7f1d1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilização para os slots de tempo */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.time-slot {
    position: relative;
}

.time-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.time-slot label {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot input[type="radio"]:checked + label {
    background-color: #9a2828;
    color: white;
    border-color: #9a2828;
}

.time-slot input[type="radio"]:focus + label {
    box-shadow: 0 0 0 0.2rem rgba(154, 40, 40, 0.25);
}

.time-slot label:hover {
    background-color: #e9ecef;
}

.time-slot input[type="radio"]:checked + label:hover {
    background-color: #7f1d1d;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: 1fr;
    }
}

/* Animação suave ao carregar o formulário */
.appointment-form {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
