.calendar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header-left,
.calendar-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-header button {
    background-color: #1abc9c;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;    
}

#month-year {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.calendar-weekdays, .calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.calendar-weekdays div {
    font-weight: bold;
    padding: 10px 0;
    background-color: #f1f1f1;
}

.calendar-dates {
    grid-gap: 5px;
}

.calendar-dates div {
    width: 170px;
    height: 170px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px;
    font-size: 14px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    position: relative;
} 

.calendar-dates div:hover {
    background-color: #78bfe7;
}

.calendar-dates div::before {
    /* content: attr(data-day); */
    font-weight: bold;
    margin-bottom: 5px;
}

.calendar-dates .today {
    background-color: #1abc9c;
    color: #ffffff;
}

.calendar-dates .weekend {
    background-color: #f5f5f5;
    color: #8a898a;
    font-weight: bold;
    cursor: not-allowed;
    pointer-events: none;
}

#go-today {
    background-color: #6c5ce7;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-left: 5px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

#go-today:hover {
    background-color: #5a4bcf;
}

.calendar-controls {
    display: flex;
    gap: 10px;
}

.calendar-title {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.avaliacao-info {
    font-size: 10px !important;
    height: 25px !important;
    padding: 0px 2px !important;
    line-height: 12px;
    background-color: #3fc476;
    color: #ffffff;    
    border-radius: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 2px;    
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.mais-avaliacoes{
    font-size: 10px !important;
    height: 25px !important;
    padding: 0px 2px !important;
    line-height: 12px;
    background-color: #636e72;
    color: #ffffff;    
    border-radius: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 2px;    
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    cursor:pointer;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #6c5ce7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


#filters-section {
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#filters-section h1 {
    font-size: 24px;
    font-weight: bold;
    color: #6c5ce7;
    margin-bottom: 20px;
}

.calendario-form-floating {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.calendario-form-floating label {
    font-size: 14px;
    color: #444;
    font-weight: 600;
}

.calendario-form-select {
    height: 48px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.calendario-form-select:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}
