/* Bayi / İş Ortağı paneli — mevcut tasarımın üzerine eklenir */
:root {
    --bayi-primary: #0369a1;
    --bayi-dark: #0f172a;
    --bayi-success: #10b981;
    --bayi-warn: #f59e0b;
    --bayi-danger: #ef4444;
    --bayi-border: #e2e8f0;
    --bayi-muted: #64748b;
}

.bayi-wrap .bayi-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0c4a6e 100%);
    color: #fff;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
.bayi-wrap .bayi-hero::after {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    right: -70px; top: -110px;
    background: radial-gradient(circle, rgba(56, 189, 248, .35) 0%, rgba(56, 189, 248, 0) 70%);
    pointer-events: none;
}
.bayi-wrap .bayi-hero h1 { font-weight: 900; letter-spacing: -.5px; }
.bayi-wrap .bayi-hero .bayi-kod {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}
.bayi-wrap .bayi-stat {
    background: #fff;
    border: 1px solid var(--bayi-border);
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}
.bayi-wrap .bayi-stat .bayi-stat-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.bayi-wrap .bayi-stat strong { display: block; font-size: 24px; color: var(--bayi-dark); font-weight: 900; line-height: 1.1; }
.bayi-wrap .bayi-stat span { font-size: 12px; color: var(--bayi-muted); font-weight: 700; }
.bayi-wrap .bayi-card {
    background: #fff;
    border: 1px solid var(--bayi-border);
    border-radius: 22px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .05);
    overflow: hidden;
}
.bayi-wrap .bayi-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--bayi-border);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap;
}
.bayi-wrap .bayi-card-header h2 { margin: 0; font-weight: 900; color: var(--bayi-dark); }
.bayi-wrap .bayi-table { width: 100%; }
.bayi-wrap .bayi-table th {
    background: #f8fafc;
    color: var(--bayi-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight: 800;
    padding: 13px 16px;
    white-space: nowrap;
}
.bayi-wrap .bayi-table td { padding: 15px 16px; border-top: 1px solid #f1f5f9; font-size: 13px; vertical-align: middle; }
.bayi-wrap .bayi-table tr:hover td { background: #fbfdff; }
.bayi-wrap .bayi-badge { border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 800; display: inline-block; }
.bayi-wrap .bayi-badge-wait { background: #fff7ed; color: #c2410c; }
.bayi-wrap .bayi-badge-ok { background: #ecfdf5; color: #047857; }
.bayi-wrap .bayi-badge-no { background: #fef2f2; color: #b91c1c; }
.bayi-wrap .bayi-form-label { font-size: 12px; font-weight: 800; color: #334155; margin-bottom: 7px; display: block; }
.bayi-wrap .bayi-input {
    width: 100%;
    border: 1px solid var(--bayi-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: .2s;
}
.bayi-wrap .bayi-input:focus { border-color: var(--bayi-primary); box-shadow: 0 0 0 4px rgba(14, 165, 233, .12); }
.bayi-wrap .bayi-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    transition: .2s;
}
.bayi-wrap .bayi-btn-primary { background: var(--bayi-primary); color: #fff; }
.bayi-wrap .bayi-btn-primary:hover { background: #075985; transform: translateY(-1px); color: #fff; }
.bayi-wrap .bayi-btn-dark { background: var(--bayi-dark); color: #fff; }
.bayi-wrap .bayi-btn-dark:hover { background: #1e293b; color: #fff; }
.bayi-wrap .bayi-price-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 18px;
    padding: 18px;
}
.bayi-wrap .bayi-price-box .bayi-old { text-decoration: line-through; color: #94a3b8; font-size: 13px; }
.bayi-wrap .bayi-price-box .bayi-new { font-size: 30px; font-weight: 900; color: #0369a1; line-height: 1.1; }
.bayi-wrap .bayi-price-box .bayi-profit { font-size: 12px; font-weight: 800; color: #047857; }
.bayi-wrap .bayi-note { font-size: 12px; color: var(--bayi-muted); font-weight: 600; }
.bayi-wrap .bayi-empty { text-align: center; padding: 48px 20px; color: var(--bayi-muted); }
.bayi-wrap .bayi-empty i { font-size: 42px; opacity: .35; display: block; margin-bottom: 12px; }
.bayi-wrap .bayi-alert { border-radius: 16px; border: 0; font-weight: 700; font-size: 13px; }

/* Bağımsız bayi alanı — giriş, başvuru, panel ve tanıtım sayfası */
.bayi-wrap .bayi-page-hero {
    background: linear-gradient(120deg, #0f172a 0%, #1e3a5f 60%, #0c4a6e 100%);
    color: #fff;
    padding: 44px 0 52px;
    position: relative;
    overflow: hidden;
}
.bayi-wrap .bayi-page-hero::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    right: -110px; top: -150px;
    background: radial-gradient(circle, rgba(56, 189, 248, .28) 0%, rgba(56, 189, 248, 0) 70%);
    pointer-events: none;
}
.bayi-wrap .bayi-page-hero .bayi-kod { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.bayi-wrap .bayi-hero-acik { max-width: 720px; font-size: 15px; font-weight: 600; opacity: .86; }
.bayi-wrap .bayi-page-body { padding: 36px 0 64px; background: #f8fafc; min-height: 60vh; }

.bayi-wrap .bayi-nav {
    background: #fff;
    border: 1px solid var(--bayi-border);
    border-radius: 18px;
    padding: 8px;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}
.bayi-wrap .bayi-nav-inner { display: flex; flex-wrap: wrap; gap: 6px; }
.bayi-wrap .bayi-nav-link {
    display: inline-flex; align-items: center;
    padding: 10px 15px;
    border-radius: 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.bayi-wrap .bayi-nav-link:hover { background: #f1f5f9; color: #0f172a; }
.bayi-wrap .bayi-nav-link.is-active { background: var(--bayi-primary); color: #fff; }
.bayi-wrap .bayi-nav-cikis { margin-left: auto; color: #b91c1c; }

.bayi-wrap .bayi-btn-light { background: #fff; color: #0f172a; }
.bayi-wrap .bayi-btn-light:hover { background: #f1f5f9; color: #0f172a; }

.bayi-wrap .bayi-tutar-pill {
    width: 100%;
    border: 2px solid var(--bayi-border);
    background: #fff;
    border-radius: 14px;
    padding: 14px 8px;
    font-weight: 900;
    color: #0f172a;
    transition: .2s;
}
.bayi-wrap .bayi-tutar-pill:hover { border-color: var(--bayi-primary); }
.bayi-wrap .bayi-tutar-pill.is-active { border-color: var(--bayi-primary); background: #f0f9ff; color: #0369a1; }

.bayi-wrap .bayi-sozlesme {
    display: flex; align-items: flex-start; gap: 14px;
    border: 1.5px dashed #f59e0b;
    background: #fffbeb;
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
}
.bayi-wrap .bayi-sozlesme input { width: 20px; height: 20px; min-width: 20px; margin-top: 2px; accent-color: #10b981; cursor: pointer; }
.bayi-wrap .pay-locked { position: relative; }
.bayi-wrap .pay-locked #paytr-container,
.bayi-wrap .pay-locked iframe { filter: blur(4px) grayscale(60%); pointer-events: none; opacity: .4; }

.bayi-wrap .bayi-bolum-baslik h2 { color: var(--bayi-dark); }
.bayi-wrap .bayi-avantaj,
.bayi-wrap .bayi-adim,
.bayi-wrap .bayi-sss {
    background: #fff;
    border: 1px solid var(--bayi-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}
.bayi-wrap .bayi-avantaj-no,
.bayi-wrap .bayi-adim-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}
.bayi-wrap .bayi-adim-no { background: var(--bayi-primary); color: #fff; font-size: 15px; }
.bayi-wrap .bayi-avantaj-no { color: #475569; }

/* Üst bardaki küçük bağlantıların dokunma alanı */
.top-header .nav-link { min-height: 24px; display: inline-flex; align-items: center; }
.bayi-wrap .bayi-avantaj p,
.bayi-wrap .bayi-adim h3,
.bayi-wrap .bayi-sss h3 { color: #1e293b; }
.bayi-wrap .bayi-cta {
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
    border-radius: 24px;
    padding: 30px;
}

/* Bayilik paket kartları */
.bayi-wrap .bayi-paket-kart {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--bayi-border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bayi-wrap .bayi-paket-kart:hover { transform: translateY(-3px); border-color: #bae6fd; box-shadow: 0 16px 34px rgba(14, 165, 233, .12); }
.bayi-wrap .bayi-paket-kart.is-populer { border-color: #0ea5e9; box-shadow: 0 16px 34px rgba(14, 165, 233, .16); }
.bayi-wrap .bayi-paket-etiket {
    position: absolute; top: 16px; right: 16px;
    background: #0369a1; color: #fff;
    border-radius: 999px; padding: 5px 12px;
    font-size: 10px; font-weight: 900; letter-spacing: .04em;
}
.bayi-wrap .bayi-paket-fiyat { border-top: 1px solid var(--bayi-border); padding-top: 16px; margin-top: 8px; }
.bayi-wrap .bayi-paket-fiyat strong { font-size: 26px; font-weight: 900; color: var(--bayi-dark); }
.bayi-wrap .bayi-paket-kredi {
    margin: 14px 0; padding: 12px 14px;
    background: #f0f9ff; color: #0369a1;
    border-radius: 12px; font-size: 13px; font-weight: 700;
}
.bayi-wrap .bayi-paket-ozellikler { list-style: none; padding: 0; margin: 0 0 20px; }
.bayi-wrap .bayi-paket-ozellikler li {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 7px 0; color: #475569; font-size: 13px; font-weight: 600;
    border-bottom: 1px dashed #e2e8f0;
}
.bayi-wrap .bayi-paket-ozellikler li:last-child { border-bottom: 0; }
.bayi-wrap .bayi-paket-ozellikler i { color: #0ea5e9; margin-top: 3px; }

@media (max-width: 767px) {
    .bayi-wrap .bayi-hero { padding: 22px; border-radius: 18px; }
    .bayi-wrap .bayi-page-hero { padding: 32px 0 38px; }
    .bayi-wrap .bayi-page-body { padding: 24px 0 44px; }
    .bayi-wrap .bayi-nav-link { padding: 9px 12px; font-size: 12px; }
    .bayi-wrap .bayi-nav-cikis { margin-left: 0; }
    .bayi-wrap .bayi-stat strong { font-size: 20px; }
    .bayi-wrap .bayi-table th, .bayi-wrap .bayi-table td { padding: 11px 10px; font-size: 12px; }
    .bayi-wrap .bayi-cta { padding: 22px; border-radius: 18px; }
}
