.customerSaleForm {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.45);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.customerSaleForm.open {
    display: flex;
}

.saleForm {
    background: var(--brown2); /* your theme color */
    padding: 20px;
    width: 450px;
    max-width: 90%;
    border-radius: 12px;
    position: relative;
}

.customer-sale-close {
    position: absolute;
    right: 16px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.sale-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sale-form-row input,
.sale-form-row textarea,
.sale-form-row select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--Lightbrown);
    font-size: 15px;
}

.sale-form button {
    background: var(--Lightbrown);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
}

@media (max-width: 768px) {
  #SalesForm.sales-section {
    padding: 0 !important; /* main already has padding */
  }
}
