.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tab {
    position: relative;
}

.filter-tab input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.filter-tab label {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.filter-tab label:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.filter-tab input[type="radio"]:checked + label {
    background-color: #1E9FFF;
    color: white;
    border-color: #1E9FFF;
    box-shadow: 0 3px 8px rgba(30, 159, 255, 0.2);
}

.date-picker-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: none;
}

.date-input {
    width: 150px;
}

.date-divider {
    color: #6c757d;
    font-size: 14px;
}

.result-display {
    margin-top: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    border-left: 1px solid #1E9FFF;
}

.result-display span {
    font-weight: 600;
    color: #1E9FFF;
}

@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-title {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .filter-tabs {
        width: 100%;
    }

    .filter-tab {
        flex: 1;
        min-width: calc(33.333% - 8px);
    }

    .filter-tab label {
        width: 100%;
        text-align: center;
        padding: 10px 5px;
    }

    .date-picker-container {
        flex-direction: column;
        align-items: stretch;
    }

    .date-input {
        width: 100%;
    }

    .date-divider {
        text-align: center;
    }
}