.pqf-wrapper {
    background: #f5f5f5;
    padding: 24px;
    border-radius: 8px;
}

.pqf-wrapper form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pqf-buttons {
    grid-column: 1 / -1;
}

.pqf-select {
    width: 100%;
    height: 40px;
    padding: 0 32px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    color: #999;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    padding-left: 45px;
    cursor: pointer;
    text-align: right;
    direction: rtl;
}
.pqf-select:focus {
    outline: none;
    border-color: #C9A961;
}

.pqf-buttons {
    display: grid;
    grid-template-columns: 1fr auto;  /* بدل auto 1fr بـ 1fr auto */
    gap: 16px;
    margin-top: 8px;
    grid-column: 1 / -1;
}

.pqf-reset {
    height: 22px;
    padding: 0 32px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
}

.pqf-submit {
    height: 22px;
    background: linear-gradient(to right, #C9A961, #D4AF6A);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.pqf-submit:hover {
    background: linear-gradient(to right, #B89850, #C9A961);
}

.pqf-reset:hover {
    background: #fafafa;
}

@media (max-width: 768px) {
    .pqf-buttons {
        grid-template-columns: 1fr;
    }
}