.form-control {
    border-color: hsl(var(--input-border));
    color: hsl(var(--input-foreground));
    line-height: 1.4285em;
    font-size: .8125rem;
    font-weight: 400;
}

.form-group label {
    color: hsl(var(--label));
    font-weight: 500;
}

.select2-container--default .select2-selection--single, .select2-container .select2-selection--single {
    border-color: hsl(var(--input-border)) !important;
    height: 38px!important;
    padding: 5px;
}

.select2-dropdown {
    border-color: hsl(var(--input-border)) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px!important;
}


.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 8px;
}

.loading-content {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.loading-content img {
    display: block;
    margin: 0 auto;
}

.appointment-calendar-container {
    position: relative;
}


.appointment-calendar-container .time-section {
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.time-slots-container {
    min-height: 200px;
    padding-top: 8px; /* evita que o primeiro item fique colado no topo quando o container tem overflow */
}

#time-slots-loading-overlay {
    border-radius: 8px;
}

/* Garantir que a overlay inicial seja mostrada por padrão */
#form-loading-overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Garantir que a overlay dos horários seja escondida por padrão */
#time-slots-loading-overlay {
    display: none;
}