.tag-checkbox {
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #FCEAD8 !important;
    border-color: #264263 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23264263'/%3e%3c/svg%3e") !important;
}

.tag-checkbox:checked {
    background-color: #264263 !important;
    border-color: #264263 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FCEAD8'/%3e%3c/svg%3e") !important;
}

.tag-checkbox:focus {
    border-color: #264263 !important;
    box-shadow: 0 0 0 0.25rem rgba(38, 66, 99, 0.25) !important;
}
#tag-filter-form {
    transition: all 0.3s ease;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.period-filter {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #FCF5EE;
}

.period-filter h6 {
    color: #264263;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Estilos para o slider customizado */
.custom-slider-container {
    margin: 20px 0;
    position: relative;
}

.custom-slider {
    position: relative;
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
    margin: 20px 0;
}

.custom-slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #dee2e6;
    border-radius: 3px;
}

.custom-slider-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: #264263;
    border-radius: 3px;
    z-index: 2;
}

.custom-slider-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #FCF5EE;
    border: 2px solid #264263;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.custom-slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.custom-slider-handle.active {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.custom-slider-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #264263;
    font-weight: 500;
}

.slider-label {
    font-size: 0.9rem;
    color: #264263;
    margin-bottom: 10px;
    font-weight: 500;
}

.reset-btn {
    font-size: 0.8rem;
    padding: 2px 8px;
    margin-left: 10px;
    background: #264263;
    color: #FCEAD8;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: #8a2600;
    transform: scale(1.05);
}
