.wc-bayi-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px 32px;
    background: var(--white, #ffffff);
    border: 2px solid #eef2f7;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(0, 16, 54, 0.07);
    font-family: var(--pri-font, "Quicksand"), var(--font-Inter, "Inter"), sans-serif;
    color: var(--black, #001036);
    box-sizing: border-box;
}

.wc-bayi-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.wc-bayi-form-title {
    margin: 0 0 8px 0;
    font-family: var(--font-Unbounded, "Unbounded"), var(--pri-font, "Quicksand"), sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #001036;
    line-height: 1.3;
}

.wc-bayi-form-subtitle {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--bs-gray-600, #6c757d);
    line-height: 1.55;
}

.wc-bayi-lang-switch {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 999px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.wc-bayi-lang-btn {
    border: none;
    background: transparent;
    color: #001036;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wc-bayi-lang-btn.active {
    background: #001036;
    color: var(--white, #ffffff);
}

.wc-bayi-row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.wc-bayi-col {
    flex: 1 1 260px;
    min-width: 0;
}

.wc-bayi-col-full {
    flex: 1 1 100%;
    min-width: 0;
}

.wc-bayi-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #001036;
}

.wc-bayi-form label .req {
    color: var(--red, #FF0047);
}

.wc-bayi-form input[type="text"],
.wc-bayi-form input[type="email"],
.wc-bayi-form input[type="password"],
.wc-bayi-form input[type="tel"],
.wc-bayi-form input[type="file"],
.wc-bayi-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #dbe2ea;
    border-radius: 12px;
    font-family: var(--pri-font, "Quicksand"), var(--font-Inter, "Inter"), sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #001036;
    background: #f9fbfd;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wc-bayi-form input:focus,
.wc-bayi-form textarea:focus {
    outline: none;
    background: var(--white, #ffffff);
    border-color: var(--bs-teal, #20c997);
    box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.16);
}

.wc-bayi-form input[type="file"] {
    padding: 8px 12px;
    cursor: pointer;
}

.wc-bayi-form input[type="file"]::file-selector-button {
    background: #001036;
    color: var(--white, #ffffff);
    border: none;
    padding: 7px 14px;
    margin-right: 12px;
    border-radius: 999px;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wc-bayi-form input[type="file"]::file-selector-button:hover {
    background: var(--bs-teal, #20c997);
}

.wc-bayi-actions {
    margin-top: 8px;
}

.wc-bayi-submit-btn {
    background: var(--orangee, #FF8800);
    color: var(--white, #ffffff);
    border: none;
    padding: 14px 32px;
    font-family: var(--pri-font, "Quicksand"), var(--font-Inter, "Inter"), sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 136, 0, 0.28);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wc-bayi-submit-btn:hover {
    background: #e67a00;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 136, 0, 0.36);
}

.wc-bayi-submit-btn:active {
    transform: translateY(0);
}

.wc-bayi-alert {
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.wc-bayi-alert-success {
    background: #e8fbf5;
    border: 1.5px solid var(--bs-teal, #20c997);
    color: #0b5e46;
}

.wc-bayi-alert-warning {
    background: #fff7e6;
    border: 1.5px solid var(--orangee, #FF8800);
    color: #8a4b00;
}

.wc-bayi-alert-info {
    background: #edf6ff;
    border: 1.5px solid #9ec5fe;
    color: #084298;
}

.wc-bayi-price-label {
    display: inline-block;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--white, #ffffff);
    background: var(--bs-teal, #20c997);
    padding: 3px 9px;
    border-radius: 999px;
    margin-right: 6px;
    vertical-align: middle;
}

.wc-bayi-qty-box {
    margin: 14px 0;
    padding: 12px 16px;
    background: #e8fbf5;
    border: 1.5px solid var(--bs-teal, #20c997);
    border-radius: 14px;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #0b5e46;
}

.wc-bayi-status-pill {
    display: inline-block;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.wc-bayi-status-pill.approved { background: var(--bs-teal, #20c997); color: var(--white, #ffffff); }
.wc-bayi-status-pill.pending  { background: var(--orangee, #FF8800); color: var(--white, #ffffff); }
.wc-bayi-status-pill.retail   { background: #001036; color: var(--white, #ffffff); }

/* Mobil ve Tablet Uyumluluğu */
@media (max-width: 768px) {
    .wc-bayi-form-wrapper {
        margin: 0 10px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .wc-bayi-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wc-bayi-form-title {
        font-size: 20px;
    }

    .wc-bayi-form-subtitle {
        font-size: 14px;
    }

    .wc-bayi-row {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 14px;
    }

    .wc-bayi-col {
        flex: 1 1 100%;
    }

    .wc-bayi-form input[type="text"],
    .wc-bayi-form input[type="email"],
    .wc-bayi-form input[type="password"],
    .wc-bayi-form input[type="tel"],
    .wc-bayi-form input[type="file"],
    .wc-bayi-form textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    .wc-bayi-submit-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}


/* Bayi Hızlı Sipariş Tablosu */
.wc-bayi-qo-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px;
    background: var(--white, #ffffff);
    border: 2px solid #eef2f7;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(0, 16, 54, 0.07);
    font-family: var(--pri-font, "Quicksand"), var(--font-Inter, "Inter"), sans-serif;
}
.wc-bayi-qo-search {
    padding: 11px 16px;
    border: 1.5px solid #dbe2ea;
    border-radius: 999px;
    font-family: var(--pri-font, "Quicksand"), sans-serif;
    font-size: 14px;
    font-weight: 600;
    min-width: 240px;
    background: #f9fbfd;
}
.wc-bayi-qo-search:focus {
    outline: none;
    border-color: var(--bs-teal, #20c997);
    background: #fff;
}
.wc-bayi-qo-table-wrap {
    overflow-x: auto;
}
.wc-bayi-qo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.wc-bayi-qo-table th {
    text-align: left;
    padding: 12px 14px;
    background: #001036;
    color: #ffffff;
    font-weight: 700;
}
.wc-bayi-qo-table th:first-child { border-radius: 12px 0 0 0; }
.wc-bayi-qo-table th:last-child  { border-radius: 0 12px 0 0; }
.wc-bayi-qo-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}
.wc-bayi-qo-prod {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #001036;
}
.wc-bayi-qo-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.wc-bayi-qo-qty {
    width: 80px;
    padding: 8px 10px;
    border: 1.5px solid #dbe2ea;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
}
.wc-bayi-stock-ok { color: #0b5e46; background: #e8fbf5; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.wc-bayi-stock-no { color: #991b1b; background: #fee2e2; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }

@media (max-width: 768px) {
    .wc-bayi-qo-wrapper { padding: 18px 12px; border-radius: 18px; }
    .wc-bayi-qo-search  { width: 100%; box-sizing: border-box; font-size: 16px; }
    .wc-bayi-qo-qty     { width: 70px; font-size: 16px; }
}
