:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --navy: #0f172a;
  --navy-2: #111827;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --info: #0284c7;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, Segoe UI, Arial, sans-serif; background: #f4f7fb; color: var(--text); }
a { color: inherit; }

/* AUTH LAYOUT */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.05fr) minmax(420px, .95fr); background: radial-gradient(circle at 20% 20%, #2f5bff 0, transparent 32%), linear-gradient(135deg, #0b1224 0%, #15285f 52%, #0f172a 100%); }
.auth-left { color: white; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-left::after { content: ""; position: absolute; inset: auto -140px -180px auto; width: 430px; height: 430px; border-radius: 999px; border: 80px solid rgba(255,255,255,.06); }
.auth-brand-row { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.auth-logo, .brand-mark { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-weight: 900; color: white; background: linear-gradient(135deg, #3b82f6, #7c3aed); box-shadow: 0 14px 28px rgba(37,99,235,.28); }
.auth-brand-title { font-size: 20px; font-weight: 850; letter-spacing: -.02em; }
.auth-brand-subtitle { color: rgba(255,255,255,.68); font-size: 13px; margin-top: 2px; }
.auth-hero { max-width: 720px; position: relative; z-index: 1; }
.auth-pill { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.auth-hero h1 { font-size: clamp(42px, 5vw, 70px); line-height: .98; margin: 0 0 22px; letter-spacing: -.055em; }
.auth-hero p { max-width: 620px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.78); margin: 0; }
.auth-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 1; }
.auth-feature-card { min-height: 150px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); }
.auth-feature-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.14); margin-bottom: 14px; font-weight: 800; }
.auth-feature-card strong { display:block; font-size: 15px; margin-bottom: 8px; }
.auth-feature-card span { display:block; color: rgba(255,255,255,.70); font-size: 13px; line-height:1.5; }
.auth-right { display: flex; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.95)); }
.auth-card-pro { width: min(100%, 520px); background: rgba(255,255,255,.94); border: 1px solid rgba(226,232,240,.9); border-radius: 32px; padding: 34px; box-shadow: 0 28px 70px rgba(15,23,42,.18); }
.auth-card-header-pro { margin-bottom: 24px; }
.auth-secure-badge { display:inline-flex; padding: 8px 13px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; font-size: 13px; margin-bottom: 16px; }
.auth-card-header-pro h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.04em; margin: 0 0 10px; }
.auth-card-header-pro p { margin: 0; color: var(--muted); line-height: 1.55; }
.auth-form-pro { display: grid; gap: 16px; }
.form-floating-pro label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; color: #334155; }
.input-with-icon { display: flex; align-items: center; gap: 10px; border: 1px solid #cbd5e1; border-radius: 16px; padding: 0 14px; background: #f8fafc; transition: .15s ease; }
.input-with-icon:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.10); background: white; }
.input-with-icon input { width: 100%; height: 54px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.auth-options { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.auth-options a { color: var(--primary); text-decoration: none; font-weight: 700; }
.check-line { display: inline-flex; align-items:center; gap: 8px; }
.login-submit { height: 56px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; font-size: 16px; font-weight: 900; cursor:pointer; display:flex; align-items:center; justify-content:center; gap: 12px; box-shadow: 0 16px 30px rgba(37,99,235,.28); }
.login-arrow { font-size: 22px; }
.auth-alert { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #fee2e2; color: #991b1b; font-weight: 700; }
.demo-account-box { margin-top: 22px; border: 1px solid var(--line); border-radius: 20px; background: #f8fafc; padding: 16px; display:flex; justify-content:space-between; gap: 16px; align-items:center; }
.demo-account-box strong { display:block; margin-bottom:4px; }
.demo-account-box span { color: var(--muted); font-size:13px; }
.demo-credentials { display:flex; flex-direction:column; gap:6px; align-items:flex-end; }
.demo-credentials span { color:#0f172a; font-weight:800; }

/* ADMIN LAYOUT */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 292px minmax(0, 1fr); background: #f4f7fb; }
.admin-sidebar { background: linear-gradient(180deg, #0f172a 0%, #111c3a 52%, #09111f 100%); color: #e5e7eb; padding: 22px 16px; display:flex; flex-direction:column; gap: 18px; position: sticky; top: 0; height: 100vh; }
.sidebar-brand { display:flex; align-items:center; gap:12px; padding: 8px 8px 18px; border-bottom:1px solid rgba(255,255,255,.08); }
.brand-name { font-size: 19px; font-weight: 900; letter-spacing:-.02em; }
.brand-caption { color:#94a3b8; font-size: 12px; margin-top:2px; }
.sidebar-section-title { margin: 4px 10px -6px; color: #94a3b8; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.admin-menu { display:flex; flex-direction:column; gap: 6px; }
.menu-link { text-decoration:none; display:flex; align-items:center; gap: 12px; padding: 12px 12px; border-radius: 14px; color:#dbeafe; font-weight: 700; transition:.16s ease; }
.menu-link:hover { background: rgba(255,255,255,.08); transform: translateX(2px); }
.menu-icon { width: 28px; height: 28px; border-radius: 10px; display:grid; place-items:center; background: rgba(255,255,255,.08); font-size:14px; }
.sidebar-footer-card { margin-top:auto; display:flex; gap:12px; align-items:center; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); }
.sidebar-footer-card strong { display:block; font-size: 13px; }
.sidebar-footer-card span { display:block; font-size: 12px; color:#94a3b8; margin-top:2px; }
.status-dot { width: 12px; height:12px; border-radius:99px; background:#22c55e; box-shadow:0 0 0 6px rgba(34,197,94,.14); }
.admin-main { min-width:0; display:flex; flex-direction:column; }
.admin-topbar { min-height: 82px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding: 18px 28px; background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 5; }
.topbar-kicker { color: var(--primary); font-size: 12px; font-weight: 900; text-transform:uppercase; letter-spacing:.12em; margin-bottom: 3px; }
.admin-topbar h1 { margin: 0; font-size: 20px; line-height:1.2; letter-spacing:-.02em; }
.topbar-actions { display:flex; align-items:center; gap: 10px; flex-wrap:wrap; }
.topbar-btn, .btn { min-height: 40px; display:inline-flex; align-items:center; justify-content:center; border:0; padding: 10px 15px; border-radius: 13px; font-weight:800; cursor:pointer; text-decoration:none; }
.topbar-btn.primary, .btn { background: var(--primary); color:white; box-shadow: 0 10px 20px rgba(37,99,235,.16); }
.topbar-btn.secondary, .btn-light { background:#eef2ff; color:#1e3a8a; }
.user-chip { height: 42px; display:flex; align-items:center; gap:10px; padding: 5px 12px 5px 5px; border-radius: 999px; background:white; border:1px solid var(--line); text-decoration:none; font-weight: 800; }
.avatar { width:32px; height:32px; border-radius:999px; display:grid; place-items:center; background:#0f172a; color:white; font-size:13px; }
.admin-content { padding: 28px; }

/* COMMON UI */
h1, h2, h3 { letter-spacing: -.025em; }
h1, h3 { margin-top: 0; }
.page-title-row { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom: 20px; }
.page-title-row h1 { margin:0; font-size: 30px; }
.page-title-row p { margin: 7px 0 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.stat-card { position:relative; overflow:hidden; }
.stat-card::after { content:""; position:absolute; right:-35px; top:-35px; width:110px; height:110px; border-radius:999px; background: rgba(37,99,235,.08); }
.card-title { font-size: 12px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.big { font-size: 36px; font-weight: 950; letter-spacing:-.04em; }
.stat-sub { color: var(--muted); font-size:12px; margin-top: 4px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th { color:#475569; font-size:12px; text-transform:uppercase; letter-spacing:.06em; background:#f8fafc; }
.table th, .table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.table tr:hover td { background:#fbfdff; }
.form-control { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 13px; background: white; outline:0; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.10); }
.textarea-lg { min-height: 280px; font-family: Consolas, monospace; }
.textarea-md { min-height: 140px; font-family: Consolas, monospace; }
.field { margin-bottom: 14px; }
.toolbar { display: flex; gap: 10px; margin: 14px 0; }
.wrap { flex-wrap: wrap; }
pre { white-space: pre-wrap; background: #0f172a; color: #e5e7eb; padding: 16px; border-radius: 16px; margin: 0; min-height: 120px; overflow: auto; }
.muted { color: var(--muted); font-size: 12px; margin-top: 4px; }
.success { color: var(--success); }
.error { color: var(--danger); }
.section-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1d4ed8; }
.badge-muted { background: #e5e7eb; color: #374151; }
.validation-message { color: var(--danger); font-size: 12px; }
.compact-card { margin-bottom: 0; }
label { display:block; margin-bottom:6px; font-size:13px; color:#334155; font-weight:700; }
.quick-action-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; }
.quick-action { text-decoration:none; display:flex; align-items:center; gap:12px; padding:14px; border:1px solid var(--line); border-radius:18px; background:#f8fafc; font-weight:900; }
.quick-action span { width:34px; height:34px; border-radius:12px; display:grid; place-items:center; background:white; border:1px solid var(--line); }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-left { display:none; }
}
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position:static; height:auto; }
  .cards { grid-template-columns: 1fr; }
  .admin-content { padding: 16px; }
  .admin-topbar { padding: 14px 16px; }
  .quick-action-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .auth-right { padding: 18px; }
  .auth-card-pro { padding: 24px; border-radius: 24px; }
  .demo-account-box { align-items:flex-start; flex-direction:column; }
  .demo-credentials { align-items:flex-start; }
}

/* Çıkış Hareketleri professional page */
.page-hero.compact {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #0f2557 0%, #204ecf 58%, #35a3ff 100%);
    color: #fff;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 18px 45px rgba(28, 78, 216, .22);
}
.page-hero .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.page-hero h1 { margin: 6px 0 8px; font-size: 30px; }
.page-hero p { margin: 0; max-width: 760px; opacity: .9; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.metric-grid.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card { background:#fff; border:1px solid #e6ebf5; border-radius:18px; padding:18px; box-shadow:0 10px 28px rgba(15,23,42,.06); }
.metric-card span { display:block; color:#64748b; font-weight:700; font-size:13px; }
.metric-card strong { display:block; color:#0f172a; font-size:30px; line-height:1.1; margin-top:8px; }
.metric-card small { color:#94a3b8; }
.metric-card.success strong { color:#10b981; }
.metric-card.danger strong { color:#ef4444; }
.metric-card.muted strong { color:#64748b; }
.panel-card { background:#fff; border:1px solid #e6ebf5; border-radius:22px; box-shadow:0 16px 42px rgba(15,23,42,.07); overflow:hidden; }
.panel-toolbar { display:grid; grid-template-columns: 160px 160px minmax(260px, 1fr) 160px 110px; gap:12px; align-items:end; padding:18px; border-bottom:1px solid #eef2f7; background:#fbfdff; }
.filter-group label { display:block; font-size:12px; font-weight:800; color:#475569; margin-bottom:6px; }
.form-control, .form-select { width:100%; border:1px solid #d8e0ed; border-radius:12px; padding:10px 12px; min-height:42px; background:#fff; }
.bulkbar { display:flex; justify-content:space-between; align-items:center; padding:12px 18px; background:#f8fafc; border-bottom:1px solid #eef2f7; }
.bulk-actions { display:flex; gap:8px; flex-wrap:wrap; }
.btn-soft { background:#eef4ff; color:#1d4ed8; border:1px solid #d9e7ff; }
.btn-warning { background:#fff7ed; color:#c2410c; border:1px solid #fed7aa; }
.btn-danger { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.alert { border-radius:16px; padding:12px 16px; margin-bottom:16px; font-weight:700; }
.alert-success { background:#ecfdf5; color:#047857; border:1px solid #a7f3d0; }
.alert-danger { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.pro-table-wrap { max-height: calc(100vh - 430px); overflow:auto; }
.pro-table { margin:0; width:100%; border-collapse:separate; border-spacing:0; }
.pro-table thead th { position:sticky; top:0; z-index:2; background:#f8fafc; color:#475569; font-size:12px; text-transform:uppercase; letter-spacing:.04em; border-bottom:1px solid #e2e8f0; padding:12px; }
.pro-table tbody td { padding:12px; border-bottom:1px solid #edf2f7; vertical-align:middle; }
.pro-table tbody tr:hover { background:#f8fbff; }
.selected-row { background:#eef6ff !important; }
.strong { font-weight:800; color:#0f172a; }
.code-chip { display:inline-flex; align-items:center; padding:5px 8px; border-radius:10px; background:#f1f5f9; color:#0f172a; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12px; }
.status-pill { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:800; white-space:nowrap; }
.status-pill.wait { background:#eff6ff; color:#1d4ed8; }
.status-pill.work { background:#fefce8; color:#a16207; }
.status-pill.ok { background:#ecfdf5; color:#047857; }
.status-pill.bad { background:#fef2f2; color:#b91c1c; }
.status-pill.cancel { background:#f1f5f9; color:#475569; }
.error-cell { max-width:260px; color:#b91c1c; font-size:12px; }
.empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:180px; color:#64748b; }
@media (max-width: 1100px) {
    .page-hero.compact, .bulkbar { flex-direction:column; align-items:flex-start; }
    .metric-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .panel-toolbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .metric-grid.four, .panel-toolbar { grid-template-columns: 1fr; }
}

/* Mapping + Netlog parameter management */
.page-head { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; margin-bottom:18px; }
.page-head h1 { margin:4px 0 6px; }
.eyebrow { color:#2563eb; font-size:12px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.head-actions { display:flex; gap:10px; flex-wrap:wrap; }
.form-grid { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:14px; margin-top:16px; }
.form-field label { display:block; font-size:12px; font-weight:900; color:#334155; margin-bottom:6px; }
.param-key { display:inline-flex; margin-left:6px; padding:2px 7px; border-radius:999px; background:#f1f5f9; color:#64748b; font-size:10px; font-weight:800; }
.small { font-size:12px; }
.mapping-card { overflow:hidden; }
.table-wrap { overflow:auto; }
.actions-cell { white-space:nowrap; }
.btn-sm { min-height:34px; padding:7px 10px; border-radius:10px; font-size:12px; }
.text-end { text-align:right; }
.text-center { text-align:center; }
.mb-4 { margin-bottom:24px; }
@media (max-width: 1200px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .page-head { flex-direction:column; align-items:flex-start; } .form-grid { grid-template-columns: 1fr; } }

/* Pro mapping/modal additions */
.pro-head { align-items: flex-start; }
.panel-title-row { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1rem; }
.search-input { min-width: 260px; }
.table-subtitle { display:flex; gap:.75rem; align-items:center; margin:.25rem 0 1rem; }
.modal-backdrop-lite { position:fixed; inset:0; background:rgba(15,23,42,.48); display:flex; align-items:center; justify-content:center; z-index:1050; padding:1rem; }
.modal-card { width:min(680px, 96vw); background:#fff; border-radius:22px; box-shadow:0 28px 80px rgba(15,23,42,.28); padding:1.25rem; border:1px solid rgba(148,163,184,.28); }
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; border-bottom:1px solid rgba(148,163,184,.22); padding-bottom:1rem; margin-bottom:1rem; }
.modal-head h3 { margin:0; font-size:1.35rem; }
.modal-actions { display:flex; justify-content:flex-end; gap:.75rem; border-top:1px solid rgba(148,163,184,.22); padding-top:1rem; margin-top:1rem; }
.form-grid.single { display:grid; grid-template-columns:1fr; gap:1rem; }
.check-line { display:flex; gap:.5rem; align-items:center; font-weight:600; color:#334155; }
.btn-danger { background:#dc2626; color:#fff; border-color:#dc2626; }
.btn-danger:hover { background:#b91c1c; color:#fff; }
@media (max-width: 900px) { .panel-title-row, .head-actions { flex-direction:column; align-items:stretch; } .search-input { min-width:0; width:100%; } }

.status-list { display: grid; gap: 12px; font-size: 14px; }
.status-list code { background: #f3f4f6; padding: 4px 8px; border-radius: 8px; }
.mt-4 { margin-top: 1.5rem; }
.status-pill.warning { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.modal-card-wide { width:min(980px, 96vw); max-height:92vh; overflow:auto; background:#fff; border-radius:24px; box-shadow:0 32px 90px rgba(15,23,42,.32); padding:1.35rem; border:1px solid rgba(148,163,184,.28); }
.badge-soft { display:inline-flex; align-items:center; border-radius:999px; background:#eef4ff; color:#1d4ed8; padding:4px 10px; font-weight:700; font-size:12px; }
.small { font-size:12px; }
.check-row { display:flex; gap:18px; align-items:end; }

/* Service Definitions Pro Center */
.service-hero { background: linear-gradient(135deg, #101a3b 0%, #1743c8 52%, #27a6ff 100%); }
.service-layout { display:grid; grid-template-columns: 430px minmax(0, 1fr); gap:18px; align-items:start; }
.service-left { position:sticky; top:100px; max-height: calc(100vh - 128px); overflow:hidden; display:flex; flex-direction:column; }
.service-filters { display:grid; grid-template-columns:1fr; gap:12px; margin-bottom:14px; }
.service-list { overflow:auto; padding-right:4px; display:grid; gap:10px; }
.service-item { width:100%; text-align:left; border:1px solid #e2e8f0; background:#fff; border-radius:18px; padding:14px; display:flex; justify-content:space-between; gap:12px; cursor:pointer; transition:.16s ease; }
.service-item:hover { border-color:#bfdbfe; box-shadow:0 14px 30px rgba(37,99,235,.10); transform:translateY(-1px); }
.service-item.active { border-color:#2563eb; background:#eff6ff; box-shadow:0 16px 34px rgba(37,99,235,.14); }
.service-item-main { min-width:0; display:grid; gap:7px; }
.service-item-main strong { color:#0f172a; font-size:15px; }
.service-item-main small { color:#64748b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:260px; }
.service-code-row { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.method-pill { display:inline-flex; align-items:center; border-radius:999px; padding:4px 9px; background:#e0f2fe; color:#0369a1; font-size:11px; font-weight:900; }
.service-flags { display:flex; flex-direction:column; gap:7px; align-items:flex-end; }
.service-right { min-width:0; }
.service-detail-card { min-height:650px; }
.service-detail-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding-bottom:18px; border-bottom:1px solid #e2e8f0; margin-bottom:16px; }
.service-detail-head h2 { margin:4px 0 10px; font-size:28px; }
.service-endpoint-line { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.service-endpoint-line code { background:#f1f5f9; color:#0f172a; border-radius:10px; padding:7px 10px; font-size:12px; }
.service-tabs { display:flex; gap:8px; padding:6px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; margin-bottom:18px; overflow:auto; }
.service-tabs button { border:0; background:transparent; padding:10px 14px; border-radius:12px; font-weight:900; color:#64748b; cursor:pointer; white-space:nowrap; }
.service-tabs button.active { background:#2563eb; color:white; box-shadow:0 10px 20px rgba(37,99,235,.18); }
.service-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-span { grid-column: 1 / -1; }
.textarea-md { min-height:110px; }
.json-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.json-editor { min-height:470px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size:12px; line-height:1.5; }
.compact-header { margin-bottom:8px; }
.mapping-toolbar-pro { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.empty-detail { min-height:420px; display:grid; place-items:center; }
.service-modal { max-height:92vh; overflow:auto; }
@media (max-width: 1280px) { .service-layout { grid-template-columns:1fr; } .service-left { position:static; max-height:none; } .service-list { max-height:460px; } }
@media (max-width: 800px) { .service-detail-head, .mapping-toolbar-pro { flex-direction:column; } .service-detail-grid, .json-grid { grid-template-columns:1fr; } }


/* Enterprise delete confirmation */
.btn-danger-outline {
  border: 1px solid rgba(220, 38, 38, .28) !important;
  background: #fff !important;
  color: #b91c1c !important;
}
.btn-danger-outline:hover {
  background: #fef2f2 !important;
  border-color: rgba(220, 38, 38, .45) !important;
}
.btn-danger {
  border: 0;
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(220,38,38,.18);
}
.confirm-card {
  max-width: 560px;
}
.danger-head {
  border-bottom: 1px solid #fee2e2;
}
.text-danger {
  color: #dc2626 !important;
}
.confirm-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 6px 0 12px;
}
.confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fef2f2;
  color: #dc2626;
  font-size: 28px;
  font-weight: 900;
  border: 1px solid #fecaca;
}
.confirm-body p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.6;
}

/* Enterprise grouped sidebar menu */
.enterprise-menu { display:flex; flex-direction:column; gap:8px; }
.menu-group { border-radius:16px; overflow:hidden; }
.menu-group summary { list-style:none; cursor:pointer; min-height:48px; display:flex; align-items:center; gap:12px; padding:8px 10px; color:#e2e8f0; font-weight:900; border-radius:16px; transition:.18s ease; }
.menu-group summary::-webkit-details-marker { display:none; }
.menu-group summary:hover { background:rgba(255,255,255,.07); color:#fff; }
.menu-group .chevron { margin-left:auto; color:#93c5fd; transition:.18s ease; font-size:16px; }
.menu-group[open] .chevron { transform:rotate(180deg); }
.submenu { margin:4px 0 6px 18px; padding:6px 0 6px 19px; border-left:1px solid rgba(147,197,253,.25); display:flex; flex-direction:column; gap:4px; }
.submenu a { min-height:36px; display:flex; align-items:center; padding:7px 10px; border-radius:12px; color:#b6c7e5; text-decoration:none; font-size:14px; font-weight:800; }
.submenu a:hover { background:rgba(59,130,246,.16); color:#fff; }
.admin-sidebar .menu-link { min-height:48px; }


/* Payload preview modal */
.modal-backdrop-pro { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); z-index: 1040; }
.modal-pro { position: fixed; z-index: 1050; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 64px); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(15,23,42,.32); overflow: hidden; border: 1px solid rgba(148,163,184,.35); }
.modal-pro-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #e5e7eb; background: linear-gradient(180deg,#fff,#f8fafc); }
.modal-pro-header h3 { margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; }
.modal-pro-body { padding: 16px; overflow: auto; max-height: calc(100vh - 170px); background: #f8fafc; }
.payload-preview { margin: 0; padding: 16px; background: #0f172a; color: #dbeafe; border-radius: 14px; font-size: 12.5px; line-height: 1.5; white-space: pre; overflow: auto; }


/* =========================================================
   REAL MODERN ENTERPRISE OPERATION CENTER - APPLIED TO /giris-hareketleri
========================================================= */

.eoc-page{
    padding:22px;
    background:#f3f6fb;
    min-height:100vh;
}

.eoc-hero{
    background:linear-gradient(135deg,#14245f,#2f8dfb);
    color:white;
    border-radius:26px;
    padding:30px 34px;
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:center;
    box-shadow:0 18px 50px rgba(15,23,42,.12);
    margin-bottom:18px;
}

.eoc-eyebrow{
    color:#7eb7ff;
    font-weight:900;
    letter-spacing:2px;
    font-size:12px;
    text-transform:uppercase;
}

.eoc-hero h1{
    margin:8px 0;
    font-size:34px;
    font-weight:900;
}

.eoc-hero p{
    margin:0;
    max-width:680px;
    color:#dbeafe;
    font-size:15px;
}

.eoc-hero-actions{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
}

.eoc-btn{
    border:none;
    border-radius:15px;
    padding:12px 18px;
    font-weight:800;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    cursor:pointer;
    transition:.18s ease;
}

.eoc-btn:hover{
    transform:translateY(-1px);
}

.eoc-btn.small{
    padding:10px 14px;
    font-size:13px;
}

.eoc-btn.primary{
    background:#2563eb;
    color:white;
    box-shadow:0 10px 22px rgba(37,99,235,.22);
}

.eoc-btn.soft{
    background:#eef4ff;
    color:#1d4ed8;
}

.eoc-btn.ghost{
    background:white;
    color:#17306c;
}

.eoc-btn.warning{
    background:#fff7ed;
    color:#c2410c;
    border:1px solid #fed7aa;
}

.eoc-btn.danger{
    background:#dc2626;
    color:white;
}

.eoc-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none;
}

.eoc-alert{
    border-radius:18px;
    padding:14px 18px;
    margin-bottom:16px;
    font-weight:700;
}

.eoc-alert.success{
    background:#dcfce7;
    color:#166534;
}

.eoc-alert.danger{
    background:#fee2e2;
    color:#991b1b;
}

.eoc-kpis{
    display:grid;
    grid-template-columns:repeat(5,minmax(160px,1fr));
    gap:14px;
    margin-bottom:18px;
}

.eoc-kpi{
    background:white;
    border-radius:22px;
    padding:18px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    border:1px solid #eef2f7;
}

.eoc-kpi span{
    display:block;
    color:#64748b;
    font-weight:800;
    font-size:12px;
    margin-bottom:6px;
}

.eoc-kpi strong{
    display:block;
    color:#0f172a;
    font-size:32px;
    line-height:1;
    font-weight:900;
}

.eoc-kpi small{
    display:block;
    color:#94a3b8;
    margin-top:8px;
}

.eoc-kpi.success strong{color:#10b981;}
.eoc-kpi.danger strong{color:#ef4444;}
.eoc-kpi.muted strong{color:#64748b;}
.eoc-kpi.live strong{font-size:22px;color:#2563eb;}

.eoc-toolbar{
    background:white;
    border-radius:22px;
    padding:16px;
    box-shadow:0 12px 35px rgba(15,23,42,.05);
    border:1px solid #eef2f7;
    display:flex;
    gap:12px;
    align-items:end;
    margin-bottom:18px;
}

.eoc-filter{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:150px;
}

.eoc-filter.grow{
    flex:1;
}

.eoc-filter label{
    font-size:12px;
    font-weight:900;
    color:#475569;
}

.eoc-input{
    border:1px solid #dce5f2;
    background:#f8fafc;
    border-radius:14px;
    padding:12px 14px;
    min-height:44px;
    outline:none;
}

.eoc-input:focus{
    border-color:#2563eb;
    background:white;
}

.eoc-workspace{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) 420px;
    gap:18px;
    align-items:start;
}

.eoc-grid-card,
.eoc-side-panel{
    background:white;
    border-radius:24px;
    box-shadow:0 14px 45px rgba(15,23,42,.06);
    border:1px solid #eef2f7;
    overflow:hidden;
}

.eoc-grid-top{
    padding:18px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #eef2f7;
    background:#fbfdff;
}

.eoc-grid-top span{
    color:#64748b;
}

.eoc-bulk{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.eoc-empty{
    padding:36px;
    color:#64748b;
    display:flex;
    flex-direction:column;
    gap:6px;
}

.eoc-table{
    width:100%;
}

.eoc-row{
    display:grid;
    grid-template-columns:42px 120px 1.45fr 1fr .8fr .75fr 1fr 110px;
    gap:14px;
    align-items:center;
    padding:16px 20px;
    border-bottom:1px solid #eef2f7;
}

.eoc-row.head{
    background:#f8fafc;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.eoc-row.selected{
    background:#eff6ff;
}

.eoc-row strong{
    display:block;
    color:#0f172a;
}

.eoc-row small{
    display:block;
    color:#64748b;
    margin-top:3px;
}

.eoc-row .num{
    font-weight:800;
    color:#0f172a;
}

.eoc-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:7px 11px;
    font-size:12px;
    font-weight:900;
    background:#e2e8f0;
    color:#334155;
}

.eoc-status.ok{
    background:#dcfce7;
    color:#166534;
}

.eoc-status.danger{
    background:#fee2e2;
    color:#991b1b;
}

.eoc-status.warn{
    background:#fef3c7;
    color:#92400e;
}

.eoc-status.pending{
    background:#e0f2fe;
    color:#075985;
}

.eoc-status.muted{
    background:#f1f5f9;
    color:#475569;
}

.eoc-chip{
    background:#f1f5f9;
    color:#334155;
    border-radius:999px;
    padding:7px 10px;
    font-weight:900;
    font-size:12px;
}

.eoc-icon-btn{
    border:none;
    border-radius:13px;
    padding:9px 13px;
    color:#1d4ed8;
    background:#eef4ff;
    font-weight:900;
}

.eoc-side-panel{
    padding:22px;
    position:sticky;
    top:18px;
}

.eoc-side-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:18px;
}

.eoc-side-header span:first-child{
    color:#2563eb;
    font-weight:900;
    letter-spacing:1.5px;
    font-size:11px;
}

.eoc-side-header h3{
    margin:4px 0 0;
    font-weight:900;
}

.eoc-detail-line{
    padding:14px 0;
    border-bottom:1px solid #eef2f7;
}

.eoc-detail-line label{
    display:block;
    font-size:12px;
    font-weight:900;
    color:#64748b;
    margin-bottom:5px;
}

.eoc-detail-line strong{
    color:#0f172a;
}

.eoc-json-preview{
    margin-top:18px;
}

.eoc-json-preview div{
    color:#64748b;
    font-size:12px;
    font-weight:900;
    margin-bottom:8px;
}

.eoc-json-preview pre{
    background:#0f172a;
    color:#dbeafe;
    border-radius:18px;
    padding:16px;
    font-size:12px;
    overflow:auto;
}

.eoc-side-actions{
    display:flex;
    gap:10px;
    margin-top:18px;
}

.eoc-modal{
    width:min(1100px,92vw);
}

@media(max-width:1300px){
    .eoc-workspace{
        grid-template-columns:1fr;
    }

    .eoc-side-panel{
        position:static;
    }

    .eoc-kpis{
        grid-template-columns:repeat(2,minmax(160px,1fr));
    }
}

@media(max-width:900px){
    .eoc-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .eoc-toolbar{
        flex-direction:column;
        align-items:stretch;
    }

    .eoc-filter{
        width:100%;
    }

    .eoc-row{
        grid-template-columns:1fr;
        gap:8px;
    }

    .eoc-row.head{
        display:none;
    }
}

/* SQL Source Center */
.sql-source-workspace {
    grid-template-columns: minmax(0, 1.5fr) 440px;
}

.sql-side {
    min-height: 620px;
}

.sql-editor {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-top: 1px solid #eef2f7;
    background: #0f172a;
    color: #dbeafe;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    padding: 20px;
    outline: none;
    resize: vertical;
}

.sql-test-result {
    padding: 18px 20px;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
}

.sql-test-result pre {
    margin-top: 10px;
    background: #111827;
    color: #d1fae5;
    border-radius: 14px;
    padding: 14px;
    overflow: auto;
}

.eoc-toolbar.flat {
    border-radius: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
    margin-bottom: 0;
}

/* Enterprise Platform Modules */
.enterprise-workspace {
    grid-template-columns: minmax(0, 1.45fr) 440px;
}

.eoc-textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #dce5f2;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 14px;
    outline: none;
    resize: vertical;
}

.eoc-textarea.code {
    font-family: Consolas, 'Courier New', monospace;
    min-height: 180px;
    background: #0f172a;
    color: #dbeafe;
}

.eoc-input.mini {
    max-width: 220px;
}

.timeline-shell {
    display: grid;
    gap: 18px;
}

.timeline-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 14px 45px rgba(15,23,42,.06);
}

.timeline-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.timeline-title span {
    color: #64748b;
    font-weight: 700;
}

.timeline-event {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 12px 0;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    margin-top: 4px;
    background: #38bdf8;
    box-shadow: 0 0 0 6px #e0f2fe;
}

.timeline-dot.ok {
    background: #22c55e;
    box-shadow: 0 0 0 6px #dcfce7;
}

.timeline-dot.danger {
    background: #ef4444;
    box-shadow: 0 0 0 6px #fee2e2;
}

.timeline-content strong {
    display: block;
    color: #0f172a;
}

.timeline-content span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}

.timeline-content p {
    margin: 6px 0 0;
    color: #334155;
}


/* =========================================================
   PRO ENTERPRISE SIDEBAR / LAYOUT FIX
   - Sidebar scroll
   - Grouped admin menu
   - Better spacing
   - Hidden bottom menu fix
========================================================= */

.pro-shell,
.admin-shell {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background: #f3f6fb;
}

.pro-sidebar,
.admin-sidebar {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    color: #e5e7eb;
    border-right: 1px solid rgba(255,255,255,.08);
}

.pro-brand,
.sidebar-brand {
    flex: 0 0 auto;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-home {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.brand-home:hover {
    color: #fff;
}

.sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 12px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148,163,184,.55) transparent;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 7px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,.45);
    border-radius: 999px;
}

.pro-footer-card,
.sidebar-footer-card {
    flex: 0 0 auto;
    margin: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .92);
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.sidebar-section-title {
    margin: 14px 8px 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.enterprise-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.enterprise-menu .menu-link,
.enterprise-menu .menu-group > summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    text-decoration: none;
    padding: 10px 11px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .16s ease;
    list-style: none;
}

.enterprise-menu .menu-group > summary::-webkit-details-marker {
    display: none;
}

.enterprise-menu .menu-link:hover,
.enterprise-menu .menu-group > summary:hover {
    background: rgba(59, 130, 246, .14);
    color: #fff;
}

.enterprise-menu .menu-icon {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.enterprise-menu .chevron {
    margin-left: auto;
    font-size: 13px;
    color: #94a3b8;
    transition: .16s ease;
}

.enterprise-menu details[open] > summary .chevron {
    transform: rotate(180deg);
}

.enterprise-menu .submenu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px 0 8px 34px;
    border-left: 1px solid rgba(148,163,184,.16);
    margin-left: 20px;
}

.enterprise-menu .submenu a {
    color: #a8b4c7;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    transition: .16s ease;
}

.enterprise-menu .submenu a:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
    transform: translateX(2px);
}

.enterprise-menu .menu-group {
    border-radius: 16px;
}

.enterprise-menu .menu-group[open] {
    background: rgba(255,255,255,.025);
}

.pro-main,
.admin-main {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pro-topbar,
.admin-topbar {
    flex: 0 0 auto;
    min-height: 76px;
    border-bottom: 1px solid #e5eaf2;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(14px);
    z-index: 10;
}

.pro-content,
.admin-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f3f6fb;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-btn,
.user-chip {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .pro-shell,
    .admin-shell {
        height: auto;
        overflow: visible;
    }

    .pro-sidebar,
    .admin-sidebar {
        position: sticky;
        top: 0;
        z-index: 30;
        width: 100%;
        height: auto;
        max-height: 65vh;
    }

    .sidebar-scroll {
        max-height: 48vh;
    }

    .pro-main,
    .admin-main {
        height: auto;
        overflow: visible;
    }

    .pro-content,
    .admin-content {
        overflow: visible;
    }
}

@media (max-width: 720px) {
    .pro-topbar,
    .admin-topbar {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .topbar-actions {
        width: 100%;
    }

    .topbar-btn,
    .user-chip {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.users-workspace {
    grid-template-columns: minmax(0, 1.4fr) 420px;
}

.users-row {
    grid-template-columns: 1.3fr 1.2fr 1.5fr .7fr .7fr 1fr;
}

.user-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.eoc-icon-btn.danger {
    background: #fee2e2;
    color: #991b1b;
}

.eoc-input.full {
    width: 100%;
}


/* =========================================================
   NOVAPRIMA CARGO TEST PANEL
========================================================= */
.cargo-hero {
    background: linear-gradient(135deg, #0f172a, #2563eb);
}

.cargo-test-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 14px 45px rgba(15,23,42,.06);
    margin-bottom: 18px;
}

.cargo-test-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 16px;
}

.cargo-test-head span {
    color: #2563eb;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
}

.cargo-test-head h3 {
    margin: 5px 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.cargo-test-head p {
    margin: 0;
    color: #64748b;
}

.cargo-test-grid {
    display: grid;
    grid-template-columns: 260px minmax(180px, 260px) minmax(260px, 1fr) 180px;
    gap: 14px;
    align-items: end;
}

.test-result-badge {
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-weight: 950;
    background: #f1f5f9;
    color: #334155;
}

.test-result-badge.ok {
    background: #dcfce7;
    color: #166534;
}

.test-result-badge.pending {
    background: #eef2ff;
    color: #1d4ed8;
}

.cargo-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.cargo-result-box {
    border: 1px solid #eef2f7;
    background: #f8fafc;
    border-radius: 18px;
    overflow: hidden;
}

.cargo-result-box label {
    display: block;
    padding: 10px 14px;
    color: #475569;
    font-size: 12px;
    font-weight: 950;
    border-bottom: 1px solid #eef2f7;
    text-transform: uppercase;
}

.cargo-result-box pre {
    margin: 0;
    padding: 14px;
    min-height: 68px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 12px;
    color: #0f172a;
}

.cargo-test-payload {
    min-height: 260px;
    max-height: 460px;
}

.cargo-workspace {
    grid-template-columns: minmax(0, 1.55fr) 390px;
}

@media (max-width: 1200px) {
    .cargo-test-grid,
    .cargo-result-grid,
    .cargo-workspace {
        grid-template-columns: 1fr;
    }

    .cargo-test-head {
        flex-direction: column;
    }
}
