/* CONTAINER */
#sa-booking {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.sa-step-top {
    margin-bottom: 30px;
}

/* RESET TOTAL DO SELECT */
.sa-step-top select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 100%;
    padding: 14px 40px 14px 14px;
    margin-bottom: 12px;

    background-color: transparent;
    border: 1px solid #cc965e;

    color: #f4f1eb;
    font-size: 14px;
    text-transform: uppercase;

    outline: none;
    cursor: pointer;

    position: relative;
    transition: all 0.3s ease;
}

/* HOVER */
.sa-step-top select:hover {
    border-color: #cc965e;
}

/* FOCUS */
.sa-step-top select:focus {
    border-color: #cc965e;
}

/* SETA CUSTOM (GARANTIDO) */
.sa-step-top select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23cc965e' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* COR DAS OPTIONS (limitação do navegador) */
.sa-step-top select option {
    color: #1b2d36;
}

/* CALENDÁRIO */
#sa_calendar {
    margin: 30px 0;
    border: 1px solid #cc965e;
    padding: 10px;
}

/* HEADER */
.sa-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: #cc965e;
    
}

.sa-cal-header span {
    font-size: 16px;
    letter-spacing: 1px;
}

/* CABEÇALHO DO CALENDÁRIO */
.sa-weekday {
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.4;
    margin-bottom: 5px;
    color: white;
}

/* BOTÕES */
.sa-cal-header button {
    background: none;
    border: none;
    color: #1b2d36;
    font-size: 26px;
    cursor: pointer;
}

/* GRID */
.sa-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* DIA */
.sa-day {
    padding: 12px;
    text-align: center;
    border: 1px solid #f4f1eb;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #f4f1eb;
}

/* HOVER */
.sa-day:hover {
    border-color: #cc965e;
    color: #cc965e;
}

/* SELECIONADO */
.sa-day.active {
    background: #cc965e;
    color: #12221a;
    border-color: transparent;
}

/* BLOQUEADO (segunda) */
.sa-day.disabled {
    opacity: 0.4;
    pointer-events: none;
}

#sa-booking input {
    margin: 0 auto;
    width: 100%;
    padding: 14px;
    margin-bottom: 25px;
    background: transparent;
    border-bottom: 1px solid #cc965e;
    color: #f5f5f5;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    border-right: none;
    border-top: none;
    border-left: none;
}

/* FOCUS */
#sa-booking select:focus{
    border-color: #cc965e;
}

/* SLOTS */
#sa_slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px auto;
}

/* BOTÕES DE HORÁRIO */
#sa_slots button {
    padding: 12px;
    background: transparent;
    border: 2px solid #555;
    color: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* HOVER */
#sa_slots button:hover {
    border-color: #cc965e;
    color: #cc965e;
}

/* ATIVO */
#sa_slots button.active {
    background: #cc965e;
    color: #12221a;
    border-color: #cc965e;
}

/* BOTÃO FINAL */
#sa_submit {
    width: 40%;
    padding: 10px;
    background: transparent;
    color: #cc965e;
    border: 1.2px solid #cc965e;
    cursor: pointer;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}

/* HOVER BOTÃO */
#sa_submit:hover {
    background: #cc965e;
    color: #12221a;
}

/* MENSAGEM */
.sa-message {
    text-align: center;
    padding: 10px;
    color: white;
}

.sa-message h2 {
    color: #cc965e;
}

/* TEXTO SUAVE */
.sa-message p {
    opacity: 0.7;
    color: white;
}

/* ANIMAÇÃO */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BASE */
.sa-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;

     margin: 0 auto;
     justify-content: center;
}

/* TEXTO */
.sa-message p {
    margin: 0;
    font-size: 11px;
}

.sa-message span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.6;
}

/* ===== EMPTY ===== */
.sa-message--empty {
    border: 1px solid #333;
    padding: 25px;
    
}

.sa-message--empty p {
    color: #cc965e;
    font-weight: 500;
}

/* ===== SUCCESS ===== */
.sa-message--success h2 {
    font-family: 'Playfair display', serif;
    font-weight: 400;
    margin-bottom: 10px;
    color: #cc965e;
}

.sa-message--success p {
    color: #f4f1eb;
}

@media (max-width: 768px) {

    /* ========================
       CONTAINER GERAL
    ======================== */
    #sa-booking {
        padding: 0 16px;
        flex-direction: column;
    }

    /* ========================
       CALENDÁRIO
    ======================== */
    #sa_calendar {
        padding: 12px;
        overflow-x: hidden;
    }

    .sa-cal-grid {
        gap: 6px;
    }

    .sa-day {
        padding: 10px 0;
        font-size: 13px;
    }

    .sa-weekday {
        font-size: 10px;
    }

    /* ========================
       SLOTS (HORÁRIOS)
    ======================== */
    #sa_slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #sa_slots button {
        padding: 10px;
        font-size: 13px;
    }

    /* ========================
       BOTÃO FINAL
    ======================== */
    #sa_submit {
        width: 100%;
        padding: 14px;
        font-size: 12px;
    }

    /* ========================
       INPUTS
    ======================== */
    #sa-booking input,
    .sa-step-top select {
        font-size: 12px;
        
    }
    #sa-booking input {
        display: flex;
        justify-content: center;
        margin-right: 10px;
        margin-left: -14px;
    }
    /* ========================
       MENSAGENS
    ======================== */
    .sa-message {
        padding: 24px 12px;
    }
}


