/* Wrapper layout */
.archive-filter-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Label */
.dropdown-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

/* Dropdown wrapper */
.dropdown-wrapper {
    display: flex;
    flex-direction: column;
}

/* Modern dropdown */
.archive-filter-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 12px 16px;
    padding-right: 40px; /* space for arrow */
    font-size: 15px;

    background: #fff url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 12px center;
    background-size: 18px;

    border: 1px solid #d3d3d3;
    border-radius: 8px;

    min-width: 180px;
    cursor: pointer;

    transition: 0.2s ease-in-out;
}

/* Hover + focus */
.archive-filter-form select:hover,
.archive-filter-form select:focus {
    border-color: #888;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Button styling */
.archive-filter-btn {
    padding: 12px 26px !important;
    font-size: 15px;
    font-weight: 600;
    background: #005ab7 !important;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

/* Button hover */
.archive-filter-btn:hover {
    background: #004a98 !important;
}




/* Mobile layout */
@media (max-width: 768px) {
    .archive-filter-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-filter-form select {
        width: 100%;
    }

    .archive-filter-btn {
        width: 100%;
    }
}
