* { box-sizing: border-box; }

/* Veronni / veronni.work tasarım tokenları — mevcut palet */
:root {
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --color-bg-app: #0f0f14;
  --color-text: #e4e4e7;
  --color-text-heading: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-glass: rgba(15, 23, 42, 0.75);
  --color-glass-soft: rgba(30, 41, 59, 0.6);
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-input: rgba(255, 255, 255, 0.1);
  --color-nav-active-text: #93c5fd;
  --color-nav-active-bg: rgba(59, 130, 246, 0.15);
  --color-nav-accent: #3b82f6;
  --color-primary-orange: #ff6b35;
  --color-primary-amber: #f7931e;
  --primary-gradient: linear-gradient(135deg, var(--color-primary-orange) 0%, var(--color-primary-amber) 100%);
  --sidebar-width: 260px;
  --bottom-nav-height: 64px;
  --z-bottom-nav: 200;
}

body {
  font-family: var(--font-family);
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg-app);
  color: var(--color-text);
}
body.has-app #appScreen:not(.hidden) ~ * { display: none; }

/* ========== Arka plan: bulanık şantiye / akşam silüeti ========== */
.app-screen-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #0c4a6e 100%);
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920'), linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #0c4a6e 100%);
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  transform: scale(1.05);
}
#appScreen .app-layout { position: relative; z-index: 1; }

/* Cam morfi (glassmorphism) */
.glass {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========== Layout: Sol menü + içerik ========== */
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
}
.sidebar.glass { background: rgba(15, 23, 42, 0.75); border-right: 1px solid rgba(255,255,255,0.06); }
.sidebar-logo-wrap {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-logo-img {
  display: block;
  width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.sidebar-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  cursor: pointer;
}
.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}
.sidebar-nav-section-label {
  padding: 8px 20px 6px 28px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.85;
}
.sidebar-nav-divider {
  height: 1px;
  margin: 10px 16px;
  background: var(--color-border-subtle);
  border: none;
}

/* Mobil: sabit alt menü (veronni glass stili) */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-bottom-nav);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: stretch;
  gap: 4px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.bottom-nav.glass {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border-subtle);
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.bottom-nav-item {
  flex: 1;
  max-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-family);
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.06);
  transition: background 0.15s, color 0.15s;
}
.bottom-nav-item:hover {
  color: var(--color-text-heading);
  background: rgba(51, 65, 85, 0.35);
}
.bottom-nav-item.active {
  color: var(--color-nav-active-text);
  background: var(--color-nav-active-bg);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
}
.bottom-nav-item .nav-icon {
  width: 24px;
  height: 24px;
  opacity: 0.9;
}
.bottom-nav-label {
  line-height: 1.15;
  text-align: center;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  border-left: 3px solid transparent;
  margin: 0 8px;
  border-radius: 8px;
}
.nav-item:hover {
  background: rgba(51, 65, 85, 0.4);
  color: #fff;
}
.nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-left-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}
.nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.85;
}
.nav-item[data-icon="dashboard"] .nav-icon,
.bottom-nav-item[data-icon="dashboard"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="folder"] .nav-icon,
.bottom-nav-item[data-icon="folder"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 19a2 2 0 01-2 2H4a2 2 0 01-2-2V5a2 2 0 012-2h5l2 2h5a2 2 0 012 2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 19a2 2 0 01-2 2H4a2 2 0 01-2-2V5a2 2 0 012-2h5l2 2h5a2 2 0 012 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="building"] .nav-icon,
.bottom-nav-item[data-icon="building"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-4h6v4M9 12h6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-4h6v4M9 12h6'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="people"] .nav-icon,
.bottom-nav-item[data-icon="people"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2M9 11a4 4 0 100-8 4 4 0 000 8zM23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2M9 11a4 4 0 100-8 4 4 0 000 8zM23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="box"] .nav-icon,
.bottom-nav-item[data-icon="box"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="report"] .nav-icon,
.bottom-nav-item[data-icon="report"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="settings"] .nav-icon,
.bottom-nav-item[data-icon="settings"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-1.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h1.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v1.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-1.09a1.65 1.65 0 00-1.51 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-1.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h1.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v1.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-1.09a1.65 1.65 0 00-1.51 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="chart"] .nav-icon,
.bottom-nav-item[data-icon="chart"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z'/%3E%3C/svg%3E") center/contain no-repeat; }
.nav-item[data-icon="user"] .nav-icon,
.bottom-nav-item[data-icon="user"] .nav-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z'/%3E%3C/svg%3E") center/contain no-repeat; }

.app-body {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: transparent;
}
.top-header {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-header.glass { background: rgba(15, 23, 42, 0.7); border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-left { flex-shrink: 0; }
.header-ana-sayfa {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.header-ana-sayfa:hover { color: #e2e8f0; }
.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-home {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}
.header-home:hover { color: #e2e8f0; }
.header-bell {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
}
.header-bell:hover { color: #e2e8f0; }
.header-bell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 8A6 6 0 006 8c0 7-3 9-3 9h18s-3-2-3-9M13 21a1 1 0 01-2 0'/%3E%3C/svg%3E") center/22px no-repeat;
}
.bell-dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid rgba(15,23,42,0.8);
}
.header-profile { display: flex; align-items: center; gap: 10px; }
.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  flex-shrink: 0;
}
.header-user { color: #e2e8f0; font-size: 14px; }
.btn-logout {
  padding: 8px 16px;
  background: rgba(51, 65, 85, 0.5);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}
.btn-logout:hover { background: rgba(71, 85, 105, 0.6); color: #fff; }

.main-content {
  flex: 1;
  padding: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 24px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.dashboard-desc { color: #a1a1aa; margin-top: 16px; }

/* ========== Dashboard – Gösterge Paneli ========== */
.dashboard-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.kpi-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.08);
}
.kpi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(34,197,94,0.2), rgba(249,115,22,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.kpi-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  opacity: 0.15;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236366f1'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.kpi-aktif .kpi-value { color: #60a5fa; }
.kpi-aktif .kpi-arrow { color: #34d399; font-size: 14px; margin-left: 4px; }
.kpi-tamamlanma {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.kpi-circle-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 8px;
}
.kpi-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(#34d399 var(--p, 0%), rgba(51,65,85,0.6) 0%);
}
.kpi-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.kpi-tamamlanma .kpi-label { margin-top: 4px; }
.kpi-ekipler .kpi-value { color: #fff; font-size: 28px; }
.kpi-hardhats {
  display: flex;
  gap: 4px;
  margin: 8px 0;
}
.kpi-hardhats .hat {
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f97316'%3E%3Cpath d='M12 2L2 7v3h2c0 6.63 5.37 12 12 12s12-5.37 12-12h2V7L12 2zm0 2.18l6 3.33v1.65H6V7.51l6-3.33zM4 10h16c0 5.52-4.48 10-10 10S4 15.52 4 10z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.9;
}
.kpi-hardhats .hat.empty { opacity: 0.25; filter: grayscale(1); }
.kpi-geciken { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.kpi-geciken .kpi-value { color: #fff; font-size: 28px; }
.kpi-flag {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eab308'%3E%3Cpath d='M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.kpi-geciken .kpi-label { position: absolute; bottom: 24px; left: 24px; }
.kpi-value { font-size: 28px; font-weight: 700; }
.kpi-label { font-size: 13px; color: #a1a1aa; font-weight: 500; }

.dashboard-chart-section { margin-bottom: 24px; }
.dashboard-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}
.chart-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.legend-dot {
  font-size: 13px;
  color: #a1a1aa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.legend-proje::before { background: #3b82f6; }
.legend-santiye::before { background: #34d399; }
.legend-ekip::before { background: #f97316; }
.legend-malzeme::before { background: #06b6d4; }
.chart-area {
  min-height: 280px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.chart-area canvas { max-width: 100%; height: auto; display: block; margin: 0 auto; }

.dashboard-map-full {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 12px;
}
.dashboard-map-lead {
  margin: -8px 0 16px;
  font-size: 14px;
  color: var(--color-text-muted, #94a3b8);
  line-height: 1.5;
}
.dashboard-osm-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 360px;
}
.dashboard-osm-map {
  width: 100%;
  height: min(420px, 55vh);
  min-height: 320px;
  background: rgba(30, 41, 59, 0.5);
}
.dashboard-map-error {
  margin: 12px 0 0;
  font-size: 13px;
  color: #fca5a5;
}

/* ========== Yönetici Kokpiti — İlerleme Matrisi (dummy veri) ========== */
.dashboard-executive-cockpit {
  margin-bottom: 24px;
  padding: 22px 24px;
  border-radius: 12px;
}
.exec-cockpit-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.exec-cockpit-head-text {
  flex: 1;
  min-width: 220px;
  max-width: 640px;
}
.exec-cockpit-title {
  margin-bottom: 8px !important;
}
.exec-cockpit-lead {
  margin: 0 !important;
}
.exec-kpi-trio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.exec-kpi-card {
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.exec-kpi-card.glass {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.exec-kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.exec-kpi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 6px;
}
.exec-kpi-warn .exec-kpi-value { color: #fbbf24; }
.exec-kpi-danger .exec-kpi-value { color: #f87171; }
.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #94a3b8;
}
.matrix-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.matrix-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.progress-matrix-scroll {
  overflow-x: auto;
  overflow-y: visible;
  margin: 0 -6px;
  padding: 6px;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.progress-matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 6px;
  font-size: 12px;
}
.progress-matrix th,
.progress-matrix td {
  vertical-align: middle;
}
.progress-matrix thead th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #cbd5e1;
  text-align: center;
  padding: 10px 8px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  line-height: 1.35;
  max-width: 120px;
}
.progress-matrix thead th.matrix-th-unit {
  text-align: left;
  min-width: 200px;
  max-width: 280px;
  text-transform: none;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #94a3b8;
}
.progress-matrix tbody th {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #e2e8f0;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  line-height: 1.4;
}
.matrix-cell {
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 96px;
  max-width: 120px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.matrix-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.matrix-cell-badge {
  display: block;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.matrix-cell-sub {
  display: block;
  font-size: 10px;
  color: rgba(248, 250, 252, 0.75);
  font-variant-numeric: tabular-nums;
}
.matrix-cell-icon {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.95;
}
.matrix-cell--completed {
  background: linear-gradient(145deg, rgba(22, 101, 52, 0.85) 0%, rgba(21, 128, 61, 0.65) 100%);
  color: #ecfdf5;
}
.matrix-cell--completed .matrix-cell-badge { color: #bbf7d0; }
.matrix-cell--at-risk {
  background: linear-gradient(145deg, rgba(161, 98, 7, 0.55) 0%, rgba(120, 53, 15, 0.5) 100%);
  color: #fffbeb;
  border-color: rgba(251, 191, 36, 0.35);
}
.matrix-cell--at-risk .matrix-cell-badge { color: #fde68a; }
.matrix-cell--delayed {
  background: linear-gradient(145deg, rgba(153, 27, 27, 0.75) 0%, rgba(127, 29, 29, 0.55) 100%);
  color: #fef2f2;
  border-color: rgba(248, 113, 113, 0.4);
}
.matrix-cell--delayed .matrix-cell-badge { color: #fecaca; }
.matrix-cell--blocked {
  background: linear-gradient(145deg, rgba(185, 28, 28, 0.95) 0%, rgba(127, 29, 29, 0.85) 100%);
  color: #fff;
  border-color: rgba(252, 165, 165, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.matrix-cell--blocked .matrix-cell-badge { color: #fecaca; }
.matrix-cell--idle {
  background: rgba(51, 65, 85, 0.35);
  color: #94a3b8;
}
.matrix-cell--idle .matrix-cell-badge {
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
}
.exec-roadmap-hint {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
}
.exec-roadmap-hint.subtle {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.exec-roadmap-hint-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.exec-roadmap-hint-list {
  margin: 0;
  padding-left: 20px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
}
.exec-roadmap-hint-list strong { color: #cbd5e1; }

.dashboard-bottom-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.dashboard-updates .updates-list {
  margin: 0;
  padding-left: 24px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 2;
}
.dashboard-updates .updates-list li {
  margin-bottom: 8px;
  position: relative;
}
.dashboard-updates .updates-list li::marker { color: #3b82f6; }
.dashboard-updates .updates-list li:nth-child(1)::marker { color: #3b82f6; }
.dashboard-updates .updates-list li:nth-child(2)::marker { color: #34d399; }
.dashboard-updates .updates-list li:nth-child(3)::marker { color: #f97316; }
.dashboard-map .map-placeholder {
  min-height: 220px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.map-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, #3b82f6 12px, transparent 12px),
    radial-gradient(circle at 65% 45%, #3b82f6 12px, transparent 12px),
    radial-gradient(circle at 45% 70%, #3b82f6 12px, transparent 12px),
    radial-gradient(circle at 75% 25%, #3b82f6 12px, transparent 12px);
  opacity: 0.7;
}
.map-placeholder .map-label { position: relative; z-index: 1; color: #71717a; font-size: 14px; }

@media (max-width: 1024px) {
  .dashboard-kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dashboard-kpi-row { grid-template-columns: 1fr; }
}

/* ========== Proje Yönetim ========== */
.proje-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;
}
.proje-yonetim-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin: 0 -8px;
}
.proje-yonetim-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.proje-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.proje-select:hover,
.proje-select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(51, 65, 85, 0.65);
}
.proje-select-inline {
  width: auto;
  min-width: 200px;
  max-width: 240px;
}
.proje-yonetim-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proje-yonetim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
  min-width: 0;
}
.proje-yonetim-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.proje-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.45);
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.proje-icon-btn:hover {
  background: rgba(71, 85, 105, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}
.proje-icon-btn--sm {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.proje-icon-btn--sm svg {
  display: block;
}
.proje-icon-btn--danger:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}
.proje-th-actions {
  min-width: 148px;
  width: 1%;
  text-align: right;
}
.proje-td-actions {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
.proje-table-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.proje-table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.proje-table-action-btn--edit {
  background: rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
}
.proje-table-action-btn--edit:hover {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
  border-color: rgba(147, 197, 253, 0.35);
}
.proje-table-action-btn--sil {
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}
.proje-table-action-btn--sil:hover {
  background: rgba(239, 68, 68, 0.32);
  color: #fff;
  border-color: rgba(252, 165, 165, 0.4);
}
.btn-yeni-proje {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.btn-yeni-proje:hover {
  background: #18181f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.proje-table-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.proje-filter-input {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 220px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.proje-filter-input::placeholder { color: #94a3b8; }
.proje-filter-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.45);
}
.proje-select-filter {
  flex: 1 1 140px;
  min-width: 130px;
  max-width: 200px;
}
.proje-select-sort {
  max-width: 280px;
  flex: 1 1 220px;
}
.proje-table-wrap {
  border-radius: 12px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.proje-table-wrap.proje-view-kompakt .proje-data-table th,
.proje-table-wrap.proje-view-kompakt .proje-data-table td {
  padding: 8px 12px;
  font-size: 13px;
}
.proje-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #e4e4e7;
}
.proje-data-table thead {
  background: rgba(15, 23, 42, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.proje-data-table th {
  text-align: left;
  font-weight: 600;
  color: #f1f5f9;
  padding: 12px 16px;
  white-space: nowrap;
}
.proje-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}
.proje-data-table tbody tr:hover td {
  background: rgba(51, 65, 85, 0.2);
}
.proje-data-table tbody tr:last-child td {
  border-bottom: none;
}
.proje-th-check {
  width: 48px;
  text-align: center;
}
.proje-th-check .proje-row-check {
  margin: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}
.proje-td-check { text-align: center; }
.proje-td-check .proje-row-check {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}
.proje-cell-muted { color: #a1a1aa; }
.proje-badge-durum {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.proje-badge-devam { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.proje-badge-plan { background: rgba(234, 179, 8, 0.15); color: #fcd34d; }
.proje-badge-tamam { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.proje-empty-row td {
  text-align: center;
  color: #94a3b8;
  padding: 32px 16px !important;
}

/* Yeni Proje modal */
.proje-yeni-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  font-family: inherit;
}
.proje-yeni-overlay.is-open {
  display: flex;
}
.proje-yeni-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.proje-yeni-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.proje-yeni-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.proje-yeni-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.proje-yeni-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-proje-kaydet {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.35);
  transition: opacity 0.15s, box-shadow 0.15s;
}
.btn-proje-kaydet:hover {
  opacity: 0.95;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.45);
}
.proje-yeni-close-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.proje-yeni-close-btn:hover {
  background: rgba(71, 85, 105, 0.55);
  color: #fff;
}
.proje-yeni-form {
  padding: 20px 22px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Yeni proje: Leaflet / OSM */
.proje-map-hint {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 10px;
  line-height: 1.45;
}
.proje-map-hint-warn {
  color: #fbbf24;
}
.proje-yeni-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4px;
}
.proje-yeni-map {
  width: 100%;
  height: 260px;
  min-height: 220px;
  background: rgba(30, 41, 59, 0.55);
}
.proje-yeni-overlay .leaflet-container,
#appScreen .leaflet-container {
  font-family: var(--font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
  background: #1e293b;
}
.proje-yeni-overlay .leaflet-popup-pane,
#appScreen .leaflet-popup-pane {
  z-index: 10060 !important;
}
.proje-yeni-overlay .leaflet-popup-content-wrapper,
#appScreen .leaflet-popup-content-wrapper {
  background: rgba(15, 23, 42, 0.96);
  color: #e2e8f0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.proje-yeni-overlay .leaflet-popup-tip,
#appScreen .leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.96);
}
.veronni-map-popup {
  min-width: 168px;
  font-size: 14px;
}
.veronni-map-popup-meta {
  margin: 8px 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}
.veronni-map-popup-dir {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  color: #fff !important;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  text-decoration: none !important;
}
.veronni-map-popup-dir:hover {
  opacity: 0.95;
}
.proje-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 8px;
}
.proje-form-grid-tight {
  margin-bottom: 0;
  padding-top: 4px;
}
.proje-form-span-2 {
  grid-column: 1 / -1;
}
.proje-form-field {
  min-width: 0;
}
.proje-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.proje-req { color: #f97316; }
.proje-form-hint {
  font-weight: 400;
  color: #94a3b8;
  font-size: 12px;
}
.proje-form-hint-block {
  margin: 8px 0 0;
  font-size: 12px;
  color: #94a3b8;
}
.proje-form-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.proje-form-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(51, 65, 85, 0.6);
}
.proje-form-input::placeholder { color: #94a3b8; }
.proje-input-readonly {
  cursor: default;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.55);
  border-style: dashed;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.proje-seri-input {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.proje-select-multi {
  width: 100%;
  min-height: 120px;
  padding: 8px 10px;
}
.proje-accordion-item {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.35);
}
.proje-accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  text-align: left;
  background: rgba(30, 41, 59, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.proje-accordion-head:hover {
  background: rgba(51, 65, 85, 0.35);
}
.proje-accordion-title { flex: 1; }
.proje-accordion-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-top: -4px;
}
.proje-accordion-item.is-open .proje-accordion-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.proje-accordion-body {
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.proje-rte-wrap { margin-top: 4px; }
.proje-rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.proje-rte-btn {
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.proje-rte-btn:hover {
  background: rgba(71, 85, 105, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
}
.proje-rte-editor {
  min-height: 160px;
  max-height: 280px;
  overflow-y: auto;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
}
.proje-rte-editor:focus {
  border-color: rgba(59, 130, 246, 0.45);
}
.proje-rte-editor:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}
@media (max-width: 720px) {
  .proje-form-grid {
    grid-template-columns: 1fr;
  }
  .proje-form-span-2 {
    grid-column: 1;
  }
}

@media (max-width: 1024px) {
  .proje-yonetim-layout {
    margin: 0;
  }
}
@media (max-width: 640px) {
  .proje-yonetim-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .proje-yonetim-toolbar-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .proje-yonetim-toolbar-filters .proje-select-inline,
  .proje-yonetim-toolbar-filters .proje-select-filter {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .proje-table-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .proje-filter-input,
  .proje-select-filter,
  .proje-select-sort {
    max-width: none;
  }
  .proje-yonetim-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .proje-select-inline {
    width: 100%;
    max-width: none;
  }
}

/* ========== İçerik alanları (cam morfi) ========== */
.section {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 24px;
  color: #e2e8f0;
}
.section h3, .section h4 { color: #fff; margin-top: 0; }
.section p { color: #a1a1aa; }

.villa-selector-wrap { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.villa-selector-wrap label { margin: 0; color: #e4e4e7; }
.villa-selector-wrap select {
  min-width: 180px;
  padding: 10px 14px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  font-size: 1em;
  background: #252536;
  color: #e4e4e7;
  cursor: pointer;
}

/* Şantiyeler — görev odaklı takip (glass / dark, mecut palet) */
.santiye-workspace { margin-bottom: 32px; }
.santiye-empty { margin-bottom: 20px; }
.santiye-glass {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
  color: #e2e8f0;
  box-sizing: border-box;
}
.santiye-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 24px;
}
.santiye-top-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  flex: 1 1 200px;
}
.santiye-top-field.santiye-top-field--no {
  flex: 0 0 96px;
  min-width: 72px;
  max-width: 120px;
}
.santiye-top-badge-field {
  flex: 0 1 auto;
  min-width: 160px;
}
.santiye-top-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a1a1aa;
}
.santiye-top-select {
  min-width: 200px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  font-size: 0.95em;
  font-family: inherit;
  background: #252536;
  color: #e4e4e7;
  cursor: pointer;
}
.santiye-top-select:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}
/* Üst şerit: select ve NO input aynı kutu yüksekliği (padding 10px 14px + border ile uyumlu) */
.santiye-top-bar select.santiye-top-select,
.santiye-top-bar input.santiye-top-select {
  box-sizing: border-box;
  height: 42px;
  line-height: 1.2;
}
/* NO alanı: select veya input; select ile aynı görünüm */
.santiye-top-bar input.santiye-top-select.santiye-no-input,
.santiye-top-bar select.santiye-top-select.santiye-no-input {
  width: 100%;
  margin: 0;
  display: block;
}
.santiye-top-bar input.santiye-top-select.santiye-no-input:focus,
.santiye-top-bar select.santiye-top-select.santiye-no-input:focus {
  outline: none;
}
.santiye-durum-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
}
.santiye-badge--basla {
  background: rgba(71, 85, 105, 0.45);
  color: #cbd5e1;
}
.santiye-badge--devam {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.35);
}
.santiye-badge--tamam {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
}
.santiye-no-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 18px;
}
.santiye-top-field--no .santiye-no-input {
  flex: none;
  min-width: 0;
  max-width: none;
}
.santiye-no-input:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}
.santiye-yer-card .santiye-card-title,
.santiye-adimlar-head .santiye-card-title {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.santiye-card-sub {
  margin: 0 0 14px 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.45;
}
.santiye-yer-checks {
  margin: 0;
  padding: 12px;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.santiye-adimlar-wrap {
  position: relative;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.santiye-adimlar-wrap.is-locked .santiye-adimlar-inner {
  pointer-events: none;
  user-select: none;
  filter: blur(5px);
  opacity: 0.42;
}
.santiye-adimlar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.santiye-lock-msg {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fb923c;
  max-width: 420px;
  text-align: right;
}
.santiye-lock-msg[hidden] {
  display: none !important;
}
.santiye-adimlar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.santiye-step-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.25);
}
.santiye-step-item:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }
.santiye-step-item:first-child { border-radius: 8px 8px 0 0; }
.santiye-step-label {
  flex: 1 1 200px;
  color: #e4e4e7;
  font-size: 0.95em;
  line-height: 1.4;
}
.santiye-step-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.9em;
  margin: 0;
}
.santiye-step-check input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.santiye-aksaklik-footer {
  margin-top: 8px;
  margin-bottom: 0;
}
.santiye-footer-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1a1aa;
  margin-bottom: 10px;
}
.santiye-footer-textarea {
  margin-bottom: 12px;
}
.santiye-footer-save {
  margin-top: 0;
}

table.dataframe {
  border-collapse: collapse;
  margin-bottom: 24px;
  width: 100%;
  background: #1e1e2e;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2d2d3d;
}
table.dataframe th, table.dataframe td {
  border: 1px solid #2d2d3d;
  padding: 10px 12px;
  text-align: left;
  color: #e4e4e7;
}
table.dataframe th {
  background: #252536;
  color: #fff;
  font-weight: 600;
  font-size: 0.85em;
}
.villa-no th { background: #2d2d3d; color: #e4e4e7; }
.task-row th { width: 250px; background: #252536; color: #a1a1aa; border-left: 4px solid #ff6b35; }
.task-row:hover td { background-color: #252536; }
input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: #ff6b35; }
select.worker-assignment, .tip-select, .gorev-tipi-select, .select-teslim-durumu {
  padding: 8px 10px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  background: #252536;
  color: #e4e4e7;
  font-size: 0.9em;
}
.worker-assignment { margin-top: 5px; width: 100%; min-width: 160px; }
.site-status { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #252536; border-radius: 8px; }
.site-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #e4e4e7; }
.issue-textarea {
  width: 100%;
  min-height: 60px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9em;
  resize: vertical;
  background: #252536;
  color: #e4e4e7;
}
.issue-datetime {
  width: 100%;
  padding: 8px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  font-size: 0.9em;
  margin-top: 8px;
  background: #252536;
  color: #e4e4e7;
}

/* Şantiyeler — görev tablosu (koyu tema, turuncu vurgu, satır aralığı) */
table.santiye-task-table th,
table.santiye-task-table td {
  padding: 14px 16px;
  vertical-align: middle;
}
table.santiye-task-table .task-row th {
  border-left: 4px solid #ff6b35;
}
.santiye-th2-inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.santiye-dynamic-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.santiye-head-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.santiye-inline-label {
  color: #a1a1aa;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.santiye-sablon-cells {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 6px 0;
}
.santiye-check-wrap {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.santiye-check-wrap input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #ff6b35;
}
.santiye-worker-select {
  flex: 1;
  min-width: 200px;
  margin-top: 0 !important;
}
.santiye-fixed-row .issue-textarea { margin-bottom: 4px; }
.santiye-accordions {
  margin-top: 8px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.santiye-acc-item.proje-accordion-item {
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.santiye-acc-hint {
  color: #a1a1aa;
  font-size: 0.9em;
  margin: 0 0 12px 0;
}
.santiye-acc-field {
  margin-bottom: 14px;
}
.santiye-acc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a1a1aa;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.santiye-acc-input,
.santiye-notlar-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  background: #252536;
  color: #e4e4e7;
  font-size: 0.95em;
  box-sizing: border-box;
}
.santiye-notlar-textarea { min-height: 140px; resize: vertical; }
.santiye-accordions .btn {
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #ff6b35 0%, #ea580c 100%);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
}
.santiye-accordions .btn:hover:not(:disabled) {
  filter: brightness(1.06);
}
.santiye-accordions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.charts-top-container { display: flex; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.chart-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #1e1e2e;
  border: 1px solid #2d2d3d;
  border-radius: 12px;
  flex: 1;
  min-width: 280px;
}
.chart-details { display: flex; flex-direction: column; }
.chart-text { color: #e4e4e7; font-weight: 600; }
.chart-details small { color: #a1a1aa; }
.progress-circle {
  width: 100px;
  height: 100px;
  background: conic-gradient(#4CAF50 var(--p, 0%), #2d2d3d 0%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 18px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-weight: 500;
  min-width: 250px;
}
.notification.error { background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%); }

.view { display: none; }
.view.active { display: block; }

#reportOutput h4 { color: #fff; }
#reportOutput p, #reportOutput ul { color: #a1a1aa; }
#yonetimIcerik .section { margin-bottom: 20px; }
#yonetimIcerik label { color: #e4e4e7; }
#yonetimIcerik input[type="text"], #yonetimIcerik input[type="password"] {
  padding: 8px 12px;
  border: 1px solid #3d3d50;
  border-radius: 8px;
  background: #252536;
  color: #e4e4e7;
  margin-right: 8px;
}
#ekipListesi table, #malzemeIcerik { color: #e4e4e7; }

/* ========== Envanter Yönetimi – site ile uyumlu ========== */
#envanter-root {
  color: #e4e4e7;
  max-width: 1600px;
  margin: 0 auto;
}
#envanter-root .page-title { margin-bottom: 24px; }
.envanter-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.envanter-btn-add {
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.envanter-btn-add:hover { opacity: 0.95; }
.envanter-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1200px) { .envanter-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .envanter-cards { grid-template-columns: repeat(2, 1fr); } }
.envanter-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.envanter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(6,182,212,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.envanter-card-label {
  font-size: 13px;
  color: #a1a1aa;
  font-weight: 500;
  margin-bottom: 4px;
}
.envanter-card-value {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
}
.envanter-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.envanter-filters select {
  min-width: 180px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.5);
  color: #e2e8f0;
  font-size: 14px;
  cursor: pointer;
}
.envanter-filters select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
}
.envanter-error {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 14px;
}
.envanter-loading {
  margin-bottom: 16px;
  color: #a1a1aa;
  font-size: 14px;
}
.envanter-table-wrap {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.envanter-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.envanter-table-wrap th,
.envanter-table-wrap td {
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 14px;
  text-align: left;
  color: #e4e4e7;
}
.envanter-table-wrap th {
  background: #252536;
  color: #fff;
  font-weight: 600;
}
.envanter-table-wrap tbody tr:hover td {
  background: rgba(51, 65, 85, 0.25);
}
.envanter-table-wrap td.envanter-td-id {
  font-family: ui-monospace, monospace;
  color: #94a3b8;
}
.envanter-table-wrap .envanter-td-actions { text-align: right; }
.envanter-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
}
.envanter-badge-aktif {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.envanter-badge-pasif {
  background: rgba(71, 85, 105, 0.4);
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.08);
}
.envanter-btn-icon {
  padding: 8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  transition: background 0.15s;
}
.envanter-btn-icon:first-child { margin-left: 0; }
.envanter-btn-view {
  background: transparent;
  color: #60a5fa;
}
.envanter-btn-view:hover { background: rgba(59, 130, 246, 0.2); }
.envanter-btn-edit {
  background: transparent;
  color: #fbbf24;
}
.envanter-btn-edit:hover { background: rgba(251, 191, 36, 0.15); }
.envanter-btn-delete {
  background: transparent;
  color: #f87171;
}
.envanter-btn-delete:hover { background: rgba(248, 113, 113, 0.15); }
.envanter-btn-icon svg { width: 18px; height: 18px; }
.envanter-empty { padding: 32px 16px; text-align: center; color: #94a3b8; }
/* Modal */
.envanter-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.envanter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.envanter-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.envanter-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 20px;
}
.envanter-detail-item {
  margin-bottom: 12px;
  font-size: 14px;
  color: #e2e8f0;
}
.envanter-detail-item span:first-child { color: #94a3b8; margin-right: 6px; }
.envanter-form-group {
  margin-bottom: 16px;
}
.envanter-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.envanter-form-group input,
.envanter-form-group select,
.envanter-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.4);
  color: #e2e8f0;
  font-size: 14px;
  box-sizing: border-box;
}
.envanter-form-group input:focus,
.envanter-form-group select:focus,
.envanter-form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
}
.envanter-form-group input:disabled,
.envanter-form-group select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.envanter-form-group textarea { min-height: 80px; resize: vertical; }
.envanter-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.envanter-btn-primary {
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.envanter-btn-secondary {
  padding: 10px 20px;
  background: rgba(51, 65, 85, 0.6);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.envanter-btn-secondary:hover { background: rgba(71, 85, 105, 0.6); }
.envanter-detail-actions { margin-top: 20px; padding-top: 16px; }

/* İstatistikler / Profil (menü placeholder görünümleri) */
.istatistikler-page-root {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.istatistik-page-title {
  margin-bottom: 8px;
}
.istatistik-page-lead {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0 0 20px;
  line-height: 1.5;
}
.istat-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
}
.istat-chart-card--wide {
  grid-column: 1 / -1;
}
.istat-chart-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
}
.istat-chart-sub {
  margin: -4px 0 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}
.istat-chart-canvas-wrap {
  position: relative;
  height: 320px;
  width: 100%;
}
.istat-chart-canvas-wrap--short {
  height: 240px;
}
.istat-loading-msg,
.istatistik-error-msg {
  padding: 20px 24px;
  color: #e2e8f0;
}
.istatistik-error-msg p {
  margin: 0;
  color: #fecaca;
}
@media (max-width: 900px) {
  .istat-charts-grid {
    grid-template-columns: 1fr;
  }
  .istat-chart-card--wide {
    grid-column: auto;
  }
}

.istatistik-intro {
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
}
.istatistik-intro-text {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.istatistik-dashboard-link {
  color: var(--color-nav-active-text);
  font-weight: 600;
  text-decoration: none;
}
.istatistik-dashboard-link:hover {
  text-decoration: underline;
  color: var(--color-text-heading);
}
.kpi-ist-plain {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-heading);
}
.istatistik-kpi-row {
  margin-top: 0;
}
.profil-card {
  padding: 0;
  border-radius: 12px;
  max-width: 480px;
}
.profil-card-inner {
  padding: 24px;
}
.profil-avatar-large {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.profil-dl {
  margin: 0;
}
.profil-dl-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: 14px;
}
.profil-dl-row:last-child {
  border-bottom: none;
}
.profil-dl dt {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 600;
}
.profil-dl dd {
  margin: 0;
  color: var(--color-text-heading);
}

@media (max-width: 768px) {
  .sidebar {
    display: none !important;
  }
  .app-body {
    margin-left: 0;
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
  }
  .bottom-nav {
    display: flex;
  }
  .main-content {
    padding: 16px;
  }
  .page-title {
    font-size: 20px;
  }
  .top-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .btn-logout {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Yeni Görev Oluştur: çoklu NO + görev satırları (proje-form-input / proje-select ile aynı yükseklik hissi) */
.santiye-yeni-gorev-satirlari-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
  min-width: 0;
}
.santiye-yeni-gorev-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px 20px;
  align-items: end;
  min-width: 0;
}
.santiye-yeni-gorev-row .proje-form-field {
  margin-bottom: 0;
  min-width: 0;
}
.santiye-yeni-gorev-row-actions {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 1px;
}
.santiye-yeni-gorev-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.45);
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.santiye-yeni-gorev-icon-btn:hover {
  background: rgba(71, 85, 105, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
