/* ===============================
   ROOT WRAPPER
=============================== */
#wcs-invoice-form {
    color: #0f172a;
    background-color: var(--white);
    padding: 30px;
    border-radius: 16px;
    @media (max-width:767px){
        padding: 30px 10px;
    }
}

/* ===============================
   ROW LAYOUT
=============================== */
.wcs-invoice__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 28px;
    margin-bottom: 36px;
}

/* Full-width fields */
.wcs-invoice__address-line1,
.wcs-invoice__notes {
    grid-column: 1 / -1;
}

/* ===============================
   FIELD
=============================== */
.wcs-invoice__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===============================
   LABEL
=============================== */
.wcs-invoice__field label {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

/* ===============================
   INPUT / TEXTAREA / SELECT
=============================== */
.wcs-invoice-form-update .wcs-invoice__field input,
.wcs-invoice__field textarea,
.wcs-invoice__field select {
    width: 100%;
    height: 52px;
    padding: 0 18px !important;
    background-color: #f1f4f7;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    color: #0f172a;
    outline: none;
    @media (max-width:767px){
        height: 35px;
    }
}

/* Textarea */
.wcs-invoice__field textarea {
    height: 120px;
    padding: 15px 18px !important;
    padding: 16px 18px;
    resize: none;
}

/* Placeholder */
.wcs-invoice__field input::placeholder,
.wcs-invoice__field textarea::placeholder {
    color: #9aa3af;
}

/* Focus state (very subtle) */
.wcs-invoice__field input:focus,
.wcs-invoice__field textarea:focus,
.wcs-invoice__field select:focus {
    background-color: #eef2f6;
}

/* ===============================
   SELECT ARROW
=============================== */
.wcs-invoice__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L10 12L14 8' stroke='%239aa3af' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 46px;
}

/* ===============================
   ACTIONS
=============================== */
.wcs-invoice__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    @media (max-width:767px){
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Cancel */
.wcs-invoice__cancel-button {
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    align-self: center;
}

/* Submit */
.wcs-invoice__submit-button {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {
    .wcs-invoice__row {
        grid-template-columns: 1fr;
    }
}