/* Estilos para a caixa de sugestões */
.suggestions-box {
    position: absolute;
    z-index: 1000;
    background-color: white;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0 0 4px 4px;
    padding: 0;
    margin-top: 0;
    /* Remover margem negativa */
    list-style-type: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    /* Largura do input menos o padding */
    top: calc(90% + 5px);
    /* Ajusta a posição para abaixo do input */
    left: 0;
    /* Garante que fique alinhado à esquerda do input */
    width: 100%;
}

/* Aumenta a margem do input para evitar sobreposição */
.input-group {
    position: relative;
    /* Permite que o .suggestions-box seja posicionado em relação a ele */
}

.input-group input {
    margin-bottom: 0;
    /* Remove margem inferior do input para não sobrepor sugestões */
}

.suggestions-box li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
}

.suggestions-box li:last-child {
    border-bottom: none;
}

.suggestions-box li:hover {
    background-color: #f0f0f0;
}

/* Fim Estilos para a caixa de sugestões */
/* ====================================================================== */
/* CALENDARIO RESERVAS */
.calendar-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 390px;
    height: auto;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    /* centraliza em telas maiores */
}

.left-panel {
    background-color: #212A39;
    color: #ecf0f7;
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.left-panel .day-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.left-panel .day-number {
    font-size: 4rem;
    font-weight: 300;
}

.right-panel {
    background-color: #fff;
    width: 60%;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
    color: #212A39;
    font-weight: 600;
    font-size: 0.9rem;
}

.month-nav button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #212A39;
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 1px;
    flex-grow: 1;
}

.calendar-grid .day-header {
    font-weight: 500;
    color: #FE5461;
    font-size: 0.75rem;
}

.calendar-days {
    display: contents;
}

.day {
    font-size: 0.75rem;
    padding: 5px 0;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.day:hover {
    background-color: #e0f7f7;
}

.selected {
    border: 2px solid #212A39;
    color: #212A39;
    font-weight: bold;
}

.today {
    background-color: #e2edff;
}

/* Marcação de evento com traço discreto */
.day.event::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 2px;
    background-color: #FE5461;
    border-radius: 1px;
}

/* FIM CALENDARIO RESERVAS */

/* Gap personalizado global para simular Bootstrap gap */
/* Espaçamento g-1 */
.row.g-1 {
    margin-left: -0.25rem !important;
    margin-right: -0.25rem !important;
    margin-top: -0.25rem !important;
    margin-bottom: -1rem !important;
    /* Reduzi o valor */
}

.row.g-1>* {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: -1rem !important;
    /* Reduzi o valor */
}

/* Espaçamento g-2 */
.row.g-2 {
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
    margin-top: -0.5rem !important;
    margin-bottom: -0.75rem !important;
    /* Reduzi o valor */
}

.row.g-2>* {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: -0.75rem !important;
    /* Reduzi o valor */
}

/* Espaçamento g-3 */
.row.g-3 {
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    margin-top: -1rem !important;
    margin-bottom: -0.5rem !important;
    /* Reduzi o valor */
}

.row.g-3>* {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: -0.5rem !important;
    /* Reduzi o valor */
}

/* Espaçamento g-4 */
.row.g-4 {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    margin-top: -1.5rem !important;
    margin-bottom: -0.25rem !important;
    /* Reduzi o valor */
}

.row.g-4>* {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: -0.25rem !important;
    /* Reduzi o valor */
}

/* Fim Gap personalizado global para simular Bootstrap gap */

/* ====================================================================== */
.hidden_expand_btn_table {
    display: none;
}

/* ====================================================================== */
/* INPUT ORBRIGATORIO */
.required {
    content: "*";
    color: #FE5461;
}

/* ====================================================================== */
/* ANIMACAO ICONE */
.animacao-icone {
    display: inline-block;
    animation: animacao-icone 1s infinite ease-in-out;
}

@keyframes animacao-icone {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ====================================================================== */
/* LINHA */
.linha_h {
    border-top: 1px solid #E3E3E3;
    width: 100%;
}

.disabled_btn_submit {
    pointer-events: none;
}

/* ====================================================================== */
/* ALERTA FLUTUANTE */
.alert-floating {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1080;
    min-width: 320px;
    max-width: 90vw;
}