@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text: #0f172a;
    --muted: #566176;
    --border: #d8e1ee;
    --primary: #2f6df6;
    --primary-dark: #1e57d6;
    --danger: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --sidebar: #0f255f;
    --sidebar-2: #15357f;
    --radius: 12px;
    --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.text-muted {
    color: var(--muted) !important;
}

.text-center {
    text-align: center;
}

.container {
    width: min(1240px, calc(100% - 2rem));
    margin-inline: auto;
}

.section {
    padding: 2.25rem 0;
}

.section-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-title-accent {
    display: inline-block;
    width: 8px;
    height: 1.05em;
    border-radius: 999px;
    background: var(--primary);
    vertical-align: middle;
    margin-right: 0.45rem;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-body {
    padding: 1rem 1.1rem;
}

.card-header,
.card-footer {
    padding: 0.85rem 1.1rem;
    border-color: var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.58rem 1rem;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: rgba(30, 87, 214, 0.45);
    color: #fff;
    box-shadow: 0 8px 18px rgba(47, 109, 246, 0.35);
}

.btn-primary:hover { box-shadow: 0 10px 22px rgba(47, 109, 246, 0.45); }

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: #cbd6e6;
}

.btn-secondary:hover {
    background: #f8fbff;
    border-color: #9fb6dd;
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: #9fb6dd;
}

.btn-outline:hover {
    background: #eef4ff;
}

.btn-sm {
    min-height: 34px;
    font-size: 0.82rem;
    padding: 0.38rem 0.72rem;
    border-radius: 9px;
}

.btn-block { width: 100%; }

/* Forms */
.form-group { margin-bottom: 0.95rem; }

.form-label,
label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.form-help {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    color: var(--muted);
}

.form-error {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    color: var(--danger);
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    min-height: 42px;
    padding: 0.55rem 0.72rem;
    border: 1px solid #c8d6eb;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

textarea {
    min-height: 104px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: #67a0ff;
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.18);
}

input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    vertical-align: middle;
    margin-right: 0.35rem;
}

/* Alerts / badges */
.alert {
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0.8rem 0.95rem;
    margin-bottom: 1rem;
}

.alert-success { background: #ecfdf3; border-color: #b7efcf; color: #116734; }
.alert-error, .alert-danger { background: #fff1f2; border-color: #ffc8d0; color: #9f1239; }
.alert-info, .alert-primary { background: #eff6ff; border-color: #bfd8ff; color: #1e40af; }
.alert-warning { background: #fff7ed; border-color: #f9d4a8; color: #9a3412; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.56rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.badge-natural { background: #e9f9ef; color: #0f7a3c; }
.badge-bot { background: #e6f6ff; color: #0369a1; }
.badge-suspicious { background: #fff6e5; color: #9a5b00; }
.badge-attack { background: #ffe8ea; color: #b91c1c; }

/* Tables */
.table-wrap {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid #e7eef8;
    padding: 0.72rem 0.78rem;
    text-align: left;
    vertical-align: middle;
}

th {
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    background: #f8fbff;
    color: #334155;
}

tbody tr:hover { background: #f8fbff; }

/* Landing */
.landing-body {
    background: linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
}

.main-content {
    min-height: calc(100vh - 120px);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(90deg, #0c1f4d 0%, #15347b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nav.nav-scrolled {
    box-shadow: 0 10px 22px rgba(8, 22, 58, 0.35);
}

.nav-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: #eef2ff;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.nav-right > a {
    color: #e3e9f7;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.55rem;
    border-radius: 9px;
}

.nav-right > a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    margin: 4px auto;
}

.nav-overlay {
    display: none;
}

.hero {
    padding: 2.8rem 0 1.2rem;
}

.hero-content {
    text-align: center;
}

.solution-tagline {
    font-weight: 700;
    color: #4b6aa6;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.hero h1 {
    margin: 0.7rem auto 0.8rem;
    max-width: 860px;
}

.hero-lead {
    max-width: 860px;
    margin: 0 auto 1.1rem;
    font-size: 1.03rem;
}

.hero-cta {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-stats-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.landing-stat-card {
    text-align: center;
}

.landing-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.landing-stat-card-danger .landing-stat-value {
    color: #c62828;
}

.landing-stat-label {
    font-size: 0.9rem;
    color: var(--muted);
}

.how-steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.how-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.how-step-visual {
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9);
}

.how-step .card-body {
    padding: 1rem 1.05rem;
}

.how-step-num {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #eaf1ff;
    color: #1e4fc5;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.55rem;
}

.feature-box {
    padding: 1rem;
}

.feature-box > i {
    font-size: 1.2rem;
    color: #2459d1;
    margin-bottom: 0.35rem;
}

.pricing-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.pricing-card-inner {
    padding: 1.1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
}

.pricing-card-top {
    flex: 1 1 auto;
}

.pricing-badge {
    display: inline-flex;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eaf1ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.75rem;
}

.pricing-name { margin-bottom: 0.25rem; }
.pricing-desc { min-height: 2.3em; }
.pricing-amount { margin: 0.65rem 0 0.5rem; }
.pricing-from { font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.pricing-period { color: var(--muted); font-weight: 600; }

/* Aylık / 6 ay / yıllık: ikincil bilgi, küçük tip */
.pricing-cycles-alt {
    margin: 0.35rem 0 0.85rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #713f12;
}

.pricing-cycles-alt .pricing-cycle-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0;
    padding: 0.2rem 0;
    border-bottom: 1px dashed rgba(180, 83, 9, 0.22);
}

.pricing-cycles-alt .pricing-cycle-row:last-child {
    border-bottom: none;
}

.pricing-cycle-label {
    font-weight: 600;
    color: #92400e;
}

.pricing-cycle-price {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #451a03;
    white-space: nowrap;
}

.pricing-features {
    margin: 0.85rem 0 0;
    padding: 0.65rem 0 0;
    list-style: none;
    border-top: 1px solid #e8eef7;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-feature-icon {
    flex-shrink: 0;
    width: 1rem;
    margin-top: 0.12rem;
    text-align: center;
    color: #64748b;
    font-size: 0.82rem;
}

.pricing-feature-yes {
    color: #059669;
}

.pricing-feature-no .pricing-feature-icon {
    color: #94a3b8;
}

.pricing-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.pricing-cta .btn {
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Paket karşılaştırma tablosu (landing) */
.pricing-compare-wrap .pricing-compare-lead {
    max-width: 36rem;
    margin: 0 auto 1rem;
    font-size: 0.9rem;
}

.pricing-compare-table {
    min-width: 520px;
}

.pricing-compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #1e3a5f;
    color: #f1f5f9;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #0f172a;
    padding: 0.85rem 0.75rem;
    white-space: nowrap;
}

.pricing-compare-table .pricing-compare-feature-col {
    min-width: 10.5rem;
    text-align: left;
}

.pricing-compare-table .pricing-compare-plan-col {
    text-align: center;
    font-weight: 800;
}

.pricing-compare-table tbody th {
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    background: #f8fafc;
    color: #0f172a;
    border-right: 1px solid #e2e8f0;
}

.pricing-compare-table tbody td {
    text-align: center;
    font-size: 0.9rem;
    background: #fff;
}

.pricing-compare-table tbody tr:nth-child(even) th,
.pricing-compare-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.pricing-compare-table tbody tr:hover th,
.pricing-compare-table tbody tr:hover td {
    background: #eff6ff;
}

.pricing-compare-num {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #0f172a;
}

.pricing-compare-row-highlight td,
.pricing-compare-row-highlight th {
    background: #fffbeb !important;
    font-weight: 700;
}

.pricing-compare-cell-icon {
    font-size: 1.05rem;
}

.pricing-compare-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: #d1fae5;
    color: #047857;
}

.pricing-compare-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #94a3b8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Landing: ek IP paketleri — sadece isim + IP artışı tablosu */
.pricing-addon-section .pricing-addon-table-wrap {
    margin: 0;
}

.pricing-addon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.pricing-addon-table thead th {
    text-align: left;
    padding: 0.65rem 0.85rem;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-addon-table .pricing-addon-th-price {
    text-align: right;
    white-space: nowrap;
}

.pricing-addon-table .pricing-addon-th-action {
    width: 1%;
    white-space: nowrap;
}

.pricing-addon-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.pricing-addon-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-addon-table .pricing-addon-name {
    text-align: left;
    padding: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    vertical-align: middle;
}

.pricing-addon-table .pricing-addon-ip {
    padding: 0.85rem;
    color: #0369a1;
    vertical-align: middle;
}

.pricing-addon-table .pricing-addon-price {
    padding: 0.85rem;
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: middle;
}

.pricing-addon-table .pricing-addon-action {
    padding: 0.65rem 0.85rem;
    text-align: right;
    vertical-align: middle;
}

/* Panel + Admin */
.panel-body,
.admin-body {
    background: var(--bg);
}

.panel-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 292px 1fr;
}

/* Masaüstünde backdrop grid hücresi kapmasın; yoksa menü 1fr sütununa kayar */
.panel-sidebar-backdrop {
    display: none;
}

.panel-sidebar {
    background: linear-gradient(180deg, var(--sidebar) 0%, var(--sidebar-2) 100%);
    color: #dbe6ff;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.panel-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.panel-sidebar nav a,
.panel-sidebar-footer a {
    color: #e2e8f0;
    padding: 0.55rem 0.65rem;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 600;
}

.panel-sidebar nav a:hover,
.panel-sidebar nav a.active,
.panel-sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.panel-sidebar-last-site,
.panel-sidebar-pkg {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.6rem;
    font-size: 0.84rem;
}

.panel-sidebar-last-site-label,
.panel-sidebar-pkg-muted {
    color: #c7d2fe;
}

.panel-sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 0.5rem;
}

.panel-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 0.5rem;
    display: grid;
    gap: 0.2rem;
}

.panel-sidebar-footer-email {
    color: #bfdbfe;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.panel-main {
    padding: 1.25rem 1.4rem;
    background: var(--bg);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Masaüstü: sidebar ve içerik sütunlarını sabitle (gizli toggle/backdrop grid’i kaydırmasın) */
@media (min-width: 901px) {
    .panel-sidebar {
        grid-column: 1;
        grid-row: 1;
    }

    .panel-main {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 1280px) {
    .panel-layout {
        grid-template-columns: 252px 1fr;
    }
}

@media (min-width: 1440px) {
    .panel-main {
        padding: 1.5rem 1.9rem;
    }
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.breadcrumb {
    margin-bottom: 0.7rem;
    color: #475569;
    font-size: 0.87rem;
}

.breadcrumb a {
    color: #1d4ed8;
}

.breadcrumb-sep {
    margin: 0 0.35rem;
    color: #94a3b8;
}

.panel-footer {
    grid-column: 1 / -1;
    margin-top: 1.2rem;
    border-top: 1px solid var(--border);
    padding: 0.8rem 0 0.2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.panel-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.panel-footer-sep {
    color: #94a3b8;
}

.panel-mobile-toggle,
.panel-sidebar-close {
    display: none;
}

/* Paket satın al: panel-layout grid yerine flex (otomatik grid hücresi kayması yok) */
@media (min-width: 901px) {
    .panel-layout.panel-layout--checkout {
        display: flex;
        flex-flow: row wrap;
        align-items: stretch;
        width: 100%;
        min-height: 100vh;
    }

    .panel-layout.panel-layout--checkout .panel-sidebar {
        flex: 0 0 292px;
        width: 292px;
        max-width: 292px;
        min-width: 0;
        grid-column: unset;
        grid-row: unset;
    }

    .panel-layout.panel-layout--checkout .panel-main {
        flex: 1 1 0;
        min-width: 0;
        grid-column: unset;
        grid-row: unset;
    }

    .panel-layout.panel-layout--checkout .panel-footer {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        grid-column: unset;
    }
}

@media (min-width: 901px) and (max-width: 1280px) {
    .panel-layout.panel-layout--checkout .panel-sidebar {
        flex: 0 0 252px;
        width: 252px;
        max-width: 252px;
    }
}

@media (max-width: 900px) {
    .panel-layout.panel-layout--checkout {
        display: block;
    }

    .panel-layout.panel-layout--checkout .panel-footer {
        grid-column: unset;
    }
}

.stat-cards {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem;
    box-shadow: var(--shadow);
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
}

.stat-card .label {
    color: var(--muted);
    font-size: 0.88rem;
}

.filters {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Auth pages */
.auth-page .section {
    padding-top: 2.2rem;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #334155;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-mobile-toggle {
        position: fixed;
        top: 12px;
        left: 12px;
        right: auto;
        z-index: 40;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #bfd2f5;
        border-radius: 10px;
        background: #fff;
    }

    .panel-toggle-bar {
        width: 16px;
        height: 2px;
        background: #1e3a8a;
        margin: 2px auto;
    }

    .panel-sidebar,
    .panel-main {
        grid-column: auto;
        grid-row: auto;
    }

    .panel-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(82vw, 300px);
        transform: translateX(-105%);
        transition: transform .2s ease;
        z-index: 45;
    }

    .panel-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease;
        z-index: 44;
    }

    .panel-sidebar-close {
        display: inline-flex;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        align-items: center;
        justify-content: center;
    }

    .panel-drawer-open .panel-sidebar {
        transform: translateX(0);
    }

    .panel-drawer-open .panel-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .panel-main {
        padding-top: 3.4rem;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(82vw, 320px);
        background: #0f255f;
        padding: 5rem 1rem 1rem;
        transform: translateX(104%);
        transition: transform .2s ease;
        z-index: 35;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
    }

    .nav-right > a {
        color: #e2e8f0;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease;
        z-index: 34;
        display: block;
    }

    .nav-open .nav-right {
        transform: translateX(0);
    }

    .nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* ——— Abonelik sekmeleri (billing) ——— */
.nmip-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
    padding-bottom: 0;
}

.nmip-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nmip-tab-link:hover {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.06);
}

.nmip-tab-link.active {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    background: rgba(29, 78, 216, 0.06);
}

.nmip-tabpanel {
    margin-bottom: 1rem;
}

/* ——— Billing paket mağazası ——— */
.billing-shop-wrap {
    max-width: 1200px;
    padding: 1.15rem 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.billing-shop-title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.billing-shop-lead {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    max-width: 52rem;
}

.billing-pkg-block {
    margin-bottom: 2rem;
}

.billing-pkg-block:last-child {
    margin-bottom: 0;
}

.billing-pkg-block-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.billing-pkg-block-sub {
    margin: 0 0 1rem;
    font-size: 0.875rem;
}

.billing-pkg-block-addon .billing-pkg-block-title {
    color: #0369a1;
}

.billing-pkg-grid {
    align-items: stretch;
}

.billing-pkg-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.billing-pkg-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    border-color: #bfdbfe;
}

.billing-pkg-card-addon {
    border-color: #bae6fd;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 48%);
}

.billing-pkg-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #0369a1;
    background: #e0f2fe;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.billing-pkg-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.billing-pkg-desc {
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.billing-pkg-prices {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.9rem;
}

.billing-pkg-price-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.2rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

.billing-pkg-price-row:last-child {
    border-bottom: none;
}

.billing-pkg-price-single {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0 0.75rem;
    color: #0f172a;
}

.billing-pkg-features {
    font-size: 0.875rem;
    padding-left: 1.15rem;
    margin: 0 0 0.75rem;
    flex: 1;
    color: #475569;
}

.billing-pkg-cta {
    margin-top: auto;
}

.billing-pkg-addon-hint {
    margin-top: 0.5rem;
}

/* Paket satın al — tek sütun akış; stiller yalnızca .co-shell altında (eski checkout-* grid yok) */
.co-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Panel grid içinde ana içerik sütunu daralınca metnin “harf harf” kırılmasını önle */
.panel-main .co-shell {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.co-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.co-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.co-flow > * {
    min-width: 0;
    max-width: 100%;
}

.co-guide {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.co-guide__title {
    margin: 0 0 0.65rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e3a8a;
}

.co-guide__list {
    margin: 0;
    padding-left: 1.35rem;
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.co-guide__list li {
    margin-bottom: 0.45rem;
}

.co-heading {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.co-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.co-shell .co-hint,
.co-shell .co-guide__list,
.co-shell .co-current,
.co-shell .pricing-desc {
    overflow-wrap: break-word;
    word-break: normal;
}

.co-block--checkout {
    border-top: 2px solid #e2e8f0;
    padding-top: 1.5rem;
}

.co-current {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 1rem;
}

.co-section-label {
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.co-block--packages .co-section-label:first-of-type {
    margin-top: 0;
}

.co-block--addon .co-section-label {
    color: #0369a1;
}

.co-hint {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.co-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.co-shell .checkout-package-card.co-plan-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
    cursor: default;
    box-sizing: border-box;
    overflow: visible;
}

.co-shell .checkout-package-card.co-plan-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.co-shell .checkout-package-card.co-plan-card.selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.co-plan-card__inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.co-plan-card__body {
    padding: 1rem 1.1rem 0.75rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.co-shell .checkout-package-card .pricing-from {
    font-size: 1.45rem;
}

.co-shell .checkout-package-card .pricing-cycles-alt {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.co-shell .checkout-package-card .pricing-cycle-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.co-shell .checkout-package-card .pricing-cycle-label {
    flex: 1 1 8rem;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.co-shell .checkout-package-card .pricing-cycle-price {
    flex: 0 0 auto;
    margin-left: auto;
}

.co-shell .checkout-cycle-selectable {
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.co-shell .checkout-cycle-selectable:hover {
    background: rgba(251, 191, 36, 0.28);
}

.co-shell .checkout-cycle-selectable.selected {
    background: rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 0 0 2px #2563eb;
}

.co-plan-card__foot {
    padding: 0.65rem 1.1rem 0.95rem;
    border-top: 1px solid #e8eef7;
    font-size: 0.8125rem;
    color: #64748b;
}

.co-addon-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.co-shell .co-addon-wrap .table-wrap {
    margin: 0;
}

.co-shell .pricing-addon-table .pricing-addon-name {
    overflow-wrap: break-word;
    word-break: normal;
}

.co-shell tr.checkout-addon-row.selected th,
.co-shell tr.checkout-addon-row.selected td {
    background: rgba(37, 99, 235, 0.06);
}

.co-summary {
    margin-bottom: 1rem;
}

.co-summary__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.co-summary__row {
    margin: 0.4rem 0;
    font-size: 0.95rem;
    color: #475569;
}

.co-summary__total {
    margin: 0.85rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-weight: 800;
    font-size: 1.1rem;
    color: #0f172a;
}

.co-shell .checkout-upgrade-box,
.co-shell .checkout-downgrade-box {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f8fafc;
}

.co-shell .co-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.co-shell .co-pay-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.co-shell .co-pay-option:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.co-shell .co-submit-btn {
    margin-top: 1.25rem;
}

.co-shell .checkout-use-balance-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.65rem 0 0.35rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.badge-renewal { background: #ecfdf5; color: #047857; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 6px; }
.badge-upgrade { background: #eff6ff; color: #1d4ed8; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 6px; }
.badge-downgrade { background: #fff7ed; color: #c2410c; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 6px; }

.package-usage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

/* ——— Admin paket formları ——— */
.admin-pkg-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-pkg-form-card-addon {
    border-left: 4px solid #0ea5e9;
}
