/* Wrapper */
.bazarkif-reseller-register-wrapper {
    direction: rtl;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 8px;
    box-sizing: border-box;
}

/* Form Card */
.bazarkif-reseller-register-form {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.bazarkif-form-row {
    margin-bottom: 18px;
}

.bazarkif-form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.bazarkif-form-row label span {
    color: #e53935;
}

.bazarkif-form-row small {
    font-size: 12px;
    color: #777;
    font-weight: 400;
}

.bazarkif-reseller-register-form input[type="text"],
.bazarkif-reseller-register-form input[type="tel"],
.bazarkif-reseller-register-form select {
    width: 100%;
    height: 48px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 0 14px;
    background: #fafafa;
    color: #222;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.bazarkif-reseller-register-form input:focus,
.bazarkif-reseller-register-form select:focus {
    border-color: #158ABE;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.12);
}

.bazarkif-reseller-register-form input::placeholder {
    color: #aaa;
}

.bazarkif-checkbox-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bazarkif-checkbox-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.bazarkif-checkbox-list label:hover {
    border-color: #158ABE;
    background: #fff7ef;
}

.bazarkif-checkbox-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #389EFB;
}

.bazarkif-reseller-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #389EFB, #158ABE);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 12px 25px rgba(40, 161, 242, 0.28);
}

.bazarkif-reseller-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(40, 144, 242, 0.34);
}

.bazarkif-reseller-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.bazarkif-reseller-form-note {
    margin-top: 14px;
    color: #777;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}

/* Modal */
.bazarkif-reseller-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-sizing: border-box;
}

.bazarkif-reseller-modal-overlay.is-active {
    display: flex;
}

.bazarkif-reseller-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 24px;
    padding: 28px 24px 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
    text-align: center;
    direction: rtl;
    animation: bazarkifModalIn 0.22s ease;
}

@keyframes bazarkifModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bazarkif-reseller-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f3f3f3;
    color: #333;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
}

.bazarkif-reseller-modal-close:hover {
    background: #e9e9e9;
}

.bazarkif-reseller-modal-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bazarkif-reseller-modal-icon.success {
    background: #e9f8ef;
    color: #1f9d55;
}

.bazarkif-reseller-modal-icon.error {
    background: #fff0f0;
    color: #e53935;
}

.bazarkif-reseller-modal-icon svg {
    width: 30px;
    height: 30px;
}

.bazarkif-reseller-modal-title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 900;
    color: #222;
}

.bazarkif-reseller-modal-message {
    font-size: 15px;
    line-height: 2;
    color: #444;
}

.bazarkif-reseller-modal-message a {
    color: #158ABE;
    font-weight: 700;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 600px) {
    .bazarkif-reseller-register-wrapper {
        padding: 0;
    }

    .bazarkif-reseller-register-form {
        padding: 20px;
        border-radius: 18px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    }

    .bazarkif-checkbox-list {
        grid-template-columns: 1fr;
    }

    .bazarkif-reseller-modal {
        max-width: 100%;
        border-radius: 22px;
        padding: 26px 18px 22px;
    }

    .bazarkif-reseller-modal-title {
        font-size: 18px;
    }

    .bazarkif-reseller-modal-message {
        font-size: 14px;
    }
}

body.bazarkif-modal-open {
    overflow: hidden;
}



.bazarkif-reseller-support-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 16px;
    width: 100%;
}

.bazarkif-reseller-support-links a {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff3e8;
    color: #0075c3;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border: 1px solid #c4dfff;
}

.bazarkif-reseller-support-links a:hover {
    background: #ffe7d1;
    color: #9c4500;
}

