/* ==========================================================================
   🚗 WEBB2B - ENTERPRISE LIGHT THEME (KURUMSAL AÇIK TEMA)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f1f5f9;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: #0284c7;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ==========================================
   LAYOUT (AÇIK TEMA)
   ========================================== */
.b2b-portal-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* TEK VE BİRLEŞİK ÜST HEADER */
.b2b-portal-header {
    background: #ffffff;
    border-bottom: 2px solid #0284c7;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.brand-box .brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-icon {
    font-size: 22px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.portal-nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.portal-nav-link:hover, .portal-nav-link.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    text-decoration: none;
}

/* KULLANICI PİLL & ÇIKIŞ */
.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
}

.role-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    text-transform: uppercase;
}
.role-badge.musteri { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.role-badge.plasiyer { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.role-badge.yonetici { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }

.user-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.btn-portal-logout {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-portal-logout:hover { background: #ef4444; color: #ffffff; }

.b2b-portal-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 12px 20px;
    color: #64748b;
    font-size: 12px;
    margin-top: auto;
}

.footer-container {
    max-width: 1540px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================
   BUTTONS & FORMS (AÇIK TEMA)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-primary { background: #0284c7; color: #ffffff; border-color: #0284c7; }
.btn-success { background: #16a34a; color: #ffffff; border-color: #16a34a; }
.btn-warning { background: #f59e0b; color: #ffffff; border-color: #f59e0b; }
.btn-danger { background: #dc2626; color: #ffffff; border-color: #dc2626; }
.btn-secondary { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }
.btn-outline-info { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.btn-outline-warning { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.btn-outline-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

.form-control, .form-select-control {
    width: 100%;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    font-size: 13px;
    transition: border-color 0.15s;
}
.form-control:focus, .form-select-control:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

/* ==========================================
   PLASİYER VE BAYİ KOMPAKT ÜST BARI (TEK SATIR)
   ========================================== */
.b2b-consolidated-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 20px;
}
.b2b-consolidated-inner {
    max-width: 1540px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.b2b-balance-pill {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 5px 12px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    cursor: pointer;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.dot.green { background: #16a34a; }
.dot.red { background: #dc2626; }

.b2b-cart-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
    transition: background 0.15s;
    flex-shrink: 0;
}
.b2b-cart-btn:hover { background: #0369a1; }
.cart-icon { font-size: 18px; }
.cart-info { display: flex; flex-direction: column; text-align: left; }
.cart-count { font-size: 11px; opacity: 0.9; }
.cart-total { font-size: 13px; font-weight: 800; }

/* ==========================================
   KOMPAKT ARAMA & TECDOC ÇUBUĞU (EN TEPEDE)
   ========================================== */
.b2b-smart-search-box {
    max-width: 1540px;
    margin: 12px auto 0 auto;
    padding: 0 20px;
}
.search-card-wrapper {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.search-mode-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}
.btn-search-tab {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
}
.btn-search-tab:hover { background: #f1f5f9; color: #0f172a; }
.btn-search-tab.active {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
}

/* ==========================================
   ÜRÜN TABLOSU (AÇIK TEMA & YÜKSEK OKUNABİLİRLİK)
   ========================================== */
.b2b-storefront-content {
    max-width: 1540px;
    margin: 12px auto;
    padding: 0 20px;
}

.quick-table-container {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.quick-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.quick-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    padding: 9px 12px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    white-space: nowrap;
}
.quick-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #1e293b;
}
.quick-table tr:hover {
    background: #f8fafc;
}

.thumb-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #0284c7;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 2px;
}

.oem-badge {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}
.brand-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.stock-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}
.stock-badge.green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.stock-badge.red { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.qty-selector {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}
.btn-qty {
    background: #f8fafc;
    border: none;
    color: #475569;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-weight: 800;
}
.btn-qty:hover { background: #e2e8f0; }
.qty-input {
    width: 38px;
    text-align: center;
    background: transparent;
    border: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 12px;
}

/* KATALOG KARTLARI */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.catalog-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.card-media-wrapper {
    height: 160px;
    background: #f8fafc;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}
.card-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body {
    padding: 12px 14px;
    flex: 1;
}
.card-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0;
    line-height: 1.3;
}
.card-footer {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================
   SEPET VE MODALLAR (AÇIK TEMA)
   ========================================== */
.b2b-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1500;
}
.b2b-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    border-left: 2px solid #0284c7;
    z-index: 1600;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}
.drawer-header {
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-close-drawer {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
}
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
}
.cart-item-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.drawer-footer {
    padding: 16px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.b2b-custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 760px;
    max-width: 95vw;
    max-height: 90vh;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    z-index: 1600;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-header-custom {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-body-custom {
    padding: 20px;
}

/* ==========================================
   FEATURE TOGGLE KARTLARI (YÖNETİM PANELİ)
   ========================================== */
.feature-toggle-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.feature-toggle-card.enabled {
    border-color: #0284c7;
    background: #f0f9ff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .25s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .25s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input:checked + .slider {
    background-color: #16a34a;
}
input:checked + .slider:before {
    transform: translateX(20px);
}

/* ==========================================
   GİRİŞ EKRANI (AÇIK TEMA - MOBİL & MASAÜSTÜ OPTİMİZE)
   ========================================== */
.b2b-login-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    background: #f1f5f9;
}

.b2b-login-card-container {
    width: 100%;
    max-width: 940px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    transition: all 0.2s ease;
}

/* SOL BANNER (KURUMSAL VE GÜVENLİK) */
.b2b-login-banner-side {
    background: linear-gradient(145deg, #0369a1 0%, #0284c7 60%, #38bdf8 100%);
    padding: 40px 32px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.b2b-login-banner-side::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.b2b-banner-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.b2b-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.b2b-banner-titles h1 {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.b2b-banner-titles span {
    font-size: 11px;
    color: #e0f2fe;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.b2b-banner-desc {
    color: #f0f9ff;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 26px;
    opacity: 0.95;
}

.b2b-banner-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.b2b-banner-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.b2b-banner-feat-icon {
    font-size: 20px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.b2b-banner-feat-item strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.b2b-banner-feat-item small {
    color: #e0f2fe;
    font-size: 12px;
    line-height: 1.3;
    display: block;
}

.b2b-banner-mobile-badge {
    display: none;
}

.b2b-banner-footer {
    font-size: 11px;
    color: #bae6fd;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
    margin-top: 24px;
}

/* SAĞ BÖLÜM: FORM ALANI */
.b2b-login-form-side {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.b2b-form-header {
    margin-bottom: 24px;
}

.b2b-form-title {
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.b2b-form-subtitle {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

.b2b-login-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.b2b-login-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    transition: all 0.15s ease;
}

.b2b-login-input:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

.b2b-password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 18px;
    color: #64748b;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-password-toggle-btn:hover {
    color: #0284c7;
    background: #f1f5f9;
}

.b2b-login-submit-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 10px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
    transition: all 0.15s ease;
}

.b2b-login-submit-btn:hover:not(:disabled) {
    background: #0369a1;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.b2b-login-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.b2b-login-help-box {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

.b2b-login-help-box a {
    color: #0284c7;
    font-weight: 700;
    text-decoration: none;
}
.b2b-login-help-box a:hover {
    text-decoration: underline;
}

/* ==========================================
   📱 MOBİL VE TABLET UYARLAMALARI (RESPONSIVE)
   ========================================== */
@media (max-width: 820px) {
    .b2b-login-wrapper {
        padding: 16px 12px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 20px;
    }

    .b2b-login-card-container {
        grid-template-columns: 1fr;
        max-width: 440px;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .b2b-login-banner-side {
        padding: 22px 20px 18px 20px;
        border-radius: 14px 14px 0 0;
    }

    .b2b-banner-brand {
        margin-bottom: 0;
        gap: 12px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .b2b-banner-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
        border-radius: 10px;
    }

    .b2b-banner-titles h1 {
        font-size: 19px;
    }

    .b2b-banner-titles span {
        font-size: 10px;
    }

    /* Mobilde uzun metinleri ve uzun listeyi gizle */
    .b2b-banner-desc,
    .b2b-banner-features,
    .b2b-banner-footer {
        display: none;
    }

    /* 256-Bit SSL güvenlik rozeti kaldırıldı */
    .b2b-banner-mobile-badge {
        display: none !important;
    }

    .b2b-login-form-side {
        padding: 24px 20px;
    }

    .b2b-form-title {
        font-size: 20px;
    }

    /* iOS auto-zoom engellemek için mobilde input font-size kesinlikle en az 16px olmalıdır */
    .b2b-login-input {
        font-size: 16px !important;
        min-height: 48px;
    }

    .b2b-login-submit-btn {
        min-height: 48px;
        font-size: 16px;
    }
}

/* ==========================================
   📱 MOBİL ALT GEZİNME BARI (BOTTOM NAVIGATION)
   ========================================== */
.b2b-mobile-bottom-bar {
    display: none;
}
.b2b-mobile-sheet-backdrop {
    display: none;
}
.b2b-mobile-sheet {
    display: none;
}

/* ========================================================
   📱 VİTRİN MOBİL KARTLARI & FİLTRELEME & SAYFALAMA SİSTEMİ
   ======================================================== */
.b2b-search-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.b2b-search-input-group {
    flex: 2;
    min-width: 260px;
    position: relative;
    display: flex;
    align-items: center;
}

.b2b-search-icon {
    position: absolute;
    left: 12px;
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.b2b-search-input {
    padding-left: 36px !important;
    padding-right: 32px !important;
}

.btn-clear-search {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.b2b-desktop-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 3;
}

.b2b-mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    height: 38px;
}

.b2b-mobile-filter-trigger.has-filters {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.b2b-filter-count-badge {
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1;
}

.b2b-live-stock-tag {
    font-size: 11px;
    color: #16a34a;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    white-space: nowrap;
}

.b2b-live-stock-tag .live-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 4px #22c55e;
}

/* MOBİL PARÇA KARTLARI */
.b2b-mobile-products-list {
    display: none;
}

.b2b-mobile-prod-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.b2b-mpc-top {
    display: flex;
    gap: 12px;
}

.b2b-mpc-thumb-box {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-mpc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b2b-mpc-thumb-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
}

.b2b-mpc-info {
    flex: 1;
    min-width: 0;
}

.b2b-mpc-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.b2b-mpc-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.35;
    cursor: pointer;
    word-break: break-word;
}

.b2b-mpc-code {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.b2b-mpc-code code {
    color: #0f172a;
    font-weight: 700;
}

.b2b-mpc-koli {
    background: #fef3c7;
    color: #b45309;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}

.b2b-mpc-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11.5px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 8px 10px;
}

.b2b-mpc-vehicle strong,
.b2b-mpc-cross strong {
    color: #1e293b;
}

.b2b-mpc-stock-row {
    margin-top: 2px;
}

.b2b-mpc-depo-chips {
    display: flex;
    gap: 8px;
    font-size: 10.5px;
    flex-wrap: wrap;
}

.b2b-mpc-depo-chips strong {
    color: #0284c7;
}

.b2b-mpc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.b2b-mpc-price-box {
    display: flex;
    flex-direction: column;
}

.b2b-mpc-gross-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.b2b-mpc-gross {
    font-size: 11px;
    text-decoration: line-through;
    color: #94a3b8;
}

.b2b-mpc-discount {
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
}

.b2b-mpc-net {
    font-size: 17px;
    font-weight: 900;
    color: #0284c7;
    line-height: 1.15;
}

.b2b-mpc-kdv {
    font-size: 10px;
    color: #64748b;
}

.b2b-mpc-action-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2b-mpc-qty-wrap {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
}

.btn-mpc-qty {
    background: #f8fafc;
    border: none;
    color: #334155;
    width: 32px;
    height: 38px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mpc-qty:active {
    background: #e2e8f0;
}

.input-mpc-qty {
    width: 38px;
    height: 38px;
    text-align: center;
    background: transparent;
    border: none;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
}

.btn-mpc-add-cart {
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.btn-mpc-add-cart:active {
    transform: scale(0.97);
}

.btn-mpc-add-cart.warning {
    background: #f59e0b;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* SAYFALAMA (PAGINATION) BARI */
.b2b-pagination-container {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 18px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pagination-info {
    font-size: 12.5px;
    color: #475569;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}

.btn-page-size {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    color: #334155;
}

.btn-page-size.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-page-nav,
.btn-page-num {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.btn-page-nav:hover:not(:disabled),
.btn-page-num:hover:not(.active) {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-page-num.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* ==========================================
   SİPARİŞLERİM MOBİL KARTLARI
   ========================================== */
.b2b-mobile-orders-list {
    display: none;
}

.b2b-mobile-order-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b2b-moc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.b2b-moc-no {
    font-size: 15px;
    font-weight: 800;
    color: #0284c7;
    cursor: pointer;
}

.b2b-moc-date {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.b2b-moc-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.b2b-moc-badge.warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.b2b-moc-badge.info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.b2b-moc-badge.primary { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.b2b-moc-badge.success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.b2b-moc-badge.danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.b2b-moc-badge.secondary { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.b2b-moc-note {
    background: #f8fafc;
    border-left: 3px solid #0284c7;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    color: #334155;
}

.b2b-moc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.b2b-moc-item-count {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.b2b-moc-total {
    text-align: right;
}

.b2b-moc-total-label {
    font-size: 11px;
    color: #64748b;
    margin-right: 4px;
}

.b2b-moc-total strong {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
}

.b2b-moc-accordion {
    margin-top: 4px;
}

.btn-moc-accordion {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.btn-moc-accordion:hover {
    background: #e2e8f0;
}

.b2b-moc-items-body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.b2b-moc-item-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px dashed #cbd5e1;
}

.b2b-moc-item-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.b2b-moc-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

/* ==========================================
   CARİ EKSTRE MOBİL KARTLARI
   ========================================== */
.b2b-mobile-statement-list {
    display: none;
}

.b2b-mobile-stat-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b2b-mobile-stat-card.card-borc {
    border-left: 4px solid #ef4444;
}

.b2b-mobile-stat-card.card-tahsilat {
    border-left: 4px solid #22c55e;
}

.b2b-msc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.b2b-msc-no {
    font-size: 14px;
    font-weight: 800;
    color: #0284c7;
    cursor: pointer;
}

.b2b-msc-date {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.b2b-msc-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
}

.b2b-msc-amount-label {
    font-size: 10.5px;
    color: #64748b;
    display: block;
}

.b2b-msc-amount {
    font-size: 16px;
    font-weight: 900;
}

.b2b-msc-amount.borc {
    color: #dc2626;
}

.b2b-msc-amount.alacak {
    color: #16a34a;
}

.b2b-msc-extra {
    background: #f8fafc;
    border-radius: 6px;
    padding: 6px 10px;
    border: 1px solid #f1f5f9;
}

.b2b-msc-actions {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

/* ==========================================
   SAHA PLASİYER MOBİL MÜŞTERİ KARTLARI
   ========================================== */
.b2b-mobile-plasiyer-list {
    display: none;
}

.b2b-mobile-cust-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.15s;
}

.b2b-mobile-cust-card.cust-active {
    background: #f0f9ff;
    border: 2px solid #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.b2b-mcc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.b2b-mcc-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-top: 4px;
    line-height: 1.3;
}

.b2b-mcc-fin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
}

.b2b-mcc-quick-actions {
    display: flex;
    gap: 8px;
}

.btn-saha-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-saha-action:hover {
    text-decoration: none;
    opacity: 0.9;
}

.btn-saha-action.tel {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.btn-saha-action.wa {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.btn-saha-action.map {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

@media (max-width: 820px) {
    /* Alt bar içerikleri engellemesin diye alt boşluk */
    .b2b-portal-body {
        padding-bottom: 76px !important;
    }

    .b2b-portal-footer {
        margin-bottom: 64px;
        font-size: 11px;
        padding: 10px 14px;
    }

    /* Mobilde üst header sadeleştirme: nav linkleri ve çıkış alt bara/menüye geçer */
    .b2b-portal-header .header-container {
        padding: 8px 14px;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .b2b-portal-header .header-nav-center {
        display: none !important;
    }

    .b2b-portal-header .btn-portal-logout {
        display: none !important;
    }

    .b2b-portal-header .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 18px;
        border-radius: 8px;
    }

    .b2b-portal-header .brand-main {
        font-size: 15px;
    }

    .b2b-portal-header .brand-sub {
        font-size: 10px;
    }

    .b2b-portal-header .user-pill {
        padding: 4px 10px;
    }

    .b2b-portal-header .user-name {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
    }

    /* MOBİL SABİT ALT BAR */
    .b2b-mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: #ffffff;
        border-top: 1.5px solid #e2e8f0;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
        z-index: 1400;
        align-items: center;
        justify-content: space-around;
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .b2b-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        color: #64748b;
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
        gap: 3px;
        position: relative;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.15s ease;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .b2b-bottom-nav-item:hover,
    .b2b-bottom-nav-item.active {
        color: #0284c7;
        text-decoration: none;
    }

    .b2b-bottom-nav-item.active .b2b-bottom-icon {
        transform: scale(1.15);
        color: #0284c7;
    }

    .b2b-bottom-nav-item.active span:last-child {
        color: #0284c7;
        font-weight: 800;
    }

    .b2b-bottom-icon {
        font-size: 20px;
        line-height: 1;
        position: relative;
        transition: transform 0.15s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .b2b-bottom-badge {
        position: absolute;
        top: -5px;
        right: -10px;
        background: #ef4444;
        color: #ffffff;
        font-size: 10px;
        font-weight: 900;
        padding: 2px 6px;
        border-radius: 9999px;
        line-height: 1;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    }

    /* MOBİL ALT SHEET / HESABIM MENÜSÜ */
    .b2b-mobile-sheet-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.5);
        z-index: 1550;
        backdrop-filter: blur(2px);
    }

    .b2b-mobile-sheet {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 20px 20px 0 0;
        border-top: 1px solid #cbd5e1;
        box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.18);
        z-index: 1600;
        padding: 20px 18px;
        padding-bottom: calc(26px + env(safe-area-inset-bottom, 0));
        animation: sheetSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: 85vh;
        overflow-y: auto;
    }

    @keyframes sheetSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .sheet-handle {
        width: 40px;
        height: 4px;
        background: #cbd5e1;
        border-radius: 999px;
        margin: 0 auto 16px auto;
    }

    .sheet-user-card {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 14px 16px;
        margin-bottom: 16px;
    }

    .sheet-action-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sheet-action-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.15s;
    }

    .sheet-action-btn:hover {
        background: #f1f5f9;
        text-decoration: none;
        color: #0284c7;
    }

    .sheet-action-btn.danger {
        background: #fef2f2;
        border-color: #fecaca;
        color: #b91c1c;
    }

    .sheet-action-btn.danger:hover {
        background: #fee2e2;
        color: #991b1b;
    }

    /* Mobilde Sepet Çekmecesini Tam Ekran Yap */
    .b2b-cart-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        border-left: none !important;
    }

    /* Vitrin Mobil Uyarlamaları */
    .b2b-desktop-filters {
        display: none !important;
    }

    .b2b-mobile-filter-trigger {
        display: inline-flex !important;
    }

    .quick-table-container {
        display: none !important;
    }

    .b2b-mobile-products-list {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    .b2b-search-bar-row {
        gap: 8px;
    }

    .b2b-search-input-group {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .b2b-tecdoc-row {
        grid-template-columns: 1fr 1fr !important;
    }

    .b2b-pagination-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 14px;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 12px;
    }

    .catalog-grid {
        grid-template-columns: 1fr !important;
    }

    /* Siparişlerim Mobil */
    .b2b-desktop-orders-table {
        display: none !important;
    }

    .b2b-mobile-orders-list {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    /* Cari Ekstre Mobil */
    .b2b-stat-metrics-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .b2b-desktop-statement-table {
        display: none !important;
    }

    .b2b-mobile-statement-list {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    /* Saha Plasiyer Mobil */
    .b2b-plasiyer-metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .b2b-desktop-plasiyer-table {
        display: none !important;
    }

    .b2b-mobile-plasiyer-list {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    /* Yönetici Dashboard Mobil */
    .b2b-admin-kpi-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .b2b-admin-2col-layout {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .b2b-admin-kpi-grid {
        grid-template-columns: 1fr !important;
    }
}

.b2b-desktop-only-btn {
    display: inline-flex !important;
}

@media (max-width: 768px) {
    .b2b-desktop-only-btn {
        display: none !important;
    }
}
/* ========================================================================== */
/* ?? KESÝNTÝSÝZ YENÝDEN BAÐLANMA (RECONNECT) SESSÝZ TOAST ROZETÝ */
/* ========================================================================== */
#components-reconnect-modal {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
    display: none;
}

#components-reconnect-modal.components-reconnect-show, #components-reconnect-modal.components-reconnect-failed, #components-reconnect-modal.components-reconnect-rejected {
    display: block !important;
}

#components-reconnect-modal .reconnect-toast,
#components-reconnect-modal > div {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.3) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    animation: pulseReconnect 2s infinite ease-in-out !important;
}

#components-reconnect-modal.components-reconnect-failed > div,
#components-reconnect-modal.components-reconnect-rejected > div {
    border-color: #ef4444 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(239, 68, 68, 0.3) !important;
}

@keyframes pulseReconnect {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
