/**
 * ══════════════════════════════════════════════════════════════════════════════
 * GÖKÇEOS PROTOTYPE UI V2 — SAAS YAZILIM SATIŞ, TEKLİF & LİSANS MERKEZİ CSS
 * Standard: G-109 SaaS Software Sales, CRM Pipeline, Proposals & Multi-Tenant
 * Layout: Strict Flush Left-Aligned Sidebar · Live MRR Cockpit & Proposal Engine
 * ══════════════════════════════════════════════════════════════════════════════
 */

.gkv2-sls-container {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 560px;
  background: #080d1a;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────────────────────
   1. STRICT FLUSH LEFT-ALIGNED SIDEBAR
   ───────────────────────────────────────────────────────────────────────────── */
.gkv2-sls-sidebar {
  width: 230px;
  min-width: 230px;
  max-width: 230px;
  background: #050914;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  user-select: none;
  padding: 10px 8px;
}

.gkv2-sls-brand {
  padding: 8px 10px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.gkv2-sls-brand-title {
  font-size: 13px;
  font-weight: 800;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.gkv2-sls-brand-sub {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gkv2-sls-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.gkv2-sls-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
  text-align: left;
  white-space: nowrap;
  outline: none;
}

.gkv2-sls-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
}

.gkv2-sls-nav-item.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-left: 3px solid #10b981;
  border-radius: 0 6px 6px 0;
  font-weight: 700;
}

.gkv2-sls-nav-icon {
  font-size: 14px;
  width: 18px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  flex-shrink: 0;
}

.gkv2-sls-nav-label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gkv2-sls-sidebar-footer {
  padding: 10px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. MAIN WORKSPACE & TOPBAR
   ───────────────────────────────────────────────────────────────────────────── */
.gkv2-sls-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #080d1a;
}

.gkv2-sls-topbar {
  height: 48px;
  padding: 0 18px;
  background: #0b1222;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
}

.gkv2-sls-page-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gkv2-sls-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  box-sizing: border-box;
}

.gkv2-sls-panel {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.gkv2-sls-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gkv2-sls-panel-title {
  font-size: 13px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Kanban Columns */
.gkv2-kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.gkv2-kanban-col {
  background: #131d33;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gkv2-kanban-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.gkv2-lead-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: grab;
  transition: all 0.15s ease;
}
.gkv2-lead-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* Multi-Tenant Table */
.gkv2-tenant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.gkv2-tenant-table th {
  text-align: left;
  padding: 8px 10px;
  background: #131d33;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gkv2-tenant-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}
.gkv2-tenant-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Responsive */
@media (max-width: 900px) {
  .gkv2-sls-sidebar {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    padding: 8px 4px;
  }
  .gkv2-sls-brand-title span:not(.gkv2-sls-brand-icon),
  .gkv2-sls-brand-sub,
  .gkv2-sls-nav-label,
  .gkv2-sls-sidebar-footer {
    display: none;
  }
  .gkv2-sls-nav-item {
    justify-content: center;
    padding: 0;
  }
}
