/* assets/css/app.css - ŞANTİYE ERP Kurumsal Tasarım Sistemi (Mercan & İndigo Lacivert Tema) */
:root {
  --primary-navy: #1d1d4c;
  --primary-navy-dark: #141438;
  --primary-navy-light: #2e2e6e;
  --accent-blue: #eb644c;
  --accent-blue-hover: #d9533b;
  --accent-indigo: #1d1d4c;
  --bg-main: #fbf4f2;
  --bg-card: #ffffff;
  --border-color: #eedfd9;
  --text-main: #1d1d4c;
  --text-muted: #5c5f7e;
  --sidebar-width: 270px;
  --topbar-height: 68px;
  --success-color: #2e8555;
  --warning-color: #f59e0b;
  --danger-color: #db4437;
  --info-color: #1d1d4c;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(29, 29, 76, 0.05);
  --shadow-md: 0 6px 18px rgba(29, 29, 76, 0.08);
  --shadow-lg: 0 12px 28px rgba(29, 29, 76, 0.12);
  --font-family: "Plus Jakarta Sans", "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-primary: #eb644c;
  --bs-primary-rgb: 235, 100, 76;
  --bs-link-color: #eb644c;
  --bs-link-hover-color: #d9533b;
}


html, body {
  font-family: var(--font-family);
  background-color: var(--bg-main) !important;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.1px;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family);
  color: var(--primary-navy);
  font-weight: 800;
  letter-spacing: -0.3px;
}


/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #fbf4f2;
}
::-webkit-scrollbar-thumb {
  background: #e2c9c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #eb644c;
}


/* SIDEBAR */
#sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #ffffff;
  border-right: 1px solid var(--border-color);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}


.sidebar-header {
  height: var(--topbar-height);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #f7e6e2;
  background: #ffffff;
}


.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eb644c 0%, #c93b2b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(235, 100, 76, 0.28);
  flex-shrink: 0;
}


.brand-text-box {
  margin-left: 0.75rem;
  line-height: 1.2;
}


.brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #eb644c;
  margin: 0;
}


.brand-subtitle {
  font-size: 0.72rem;
  color: var(--primary-navy);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}


.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
}


.nav-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #eb644c;
  padding: 0.75rem 0.75rem 0.35rem;
}


.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}


.sidebar-nav-item {
  margin-bottom: 5px;
}


.nav-link-custom {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  color: #2c2f48;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  letter-spacing: -0.15px;
}


.nav-link-custom i.menu-icon {
  font-size: 1.18rem;
  margin-right: 0.8rem;
  color: #6a6e8e;
  width: 22px;
  text-align: center;
  transition: all 0.22s ease;
}


.nav-link-custom:hover {
  background-color: #fbeee9;
  color: #eb644c;
  transform: translateX(2px);
}


.nav-link-custom:hover i.menu-icon {
  color: #eb644c;
  transform: scale(1.08);
}


.nav-link-custom.active {
  background: linear-gradient(135deg, #1d1d4c 0%, #15153b 100%);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(29, 29, 76, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.nav-link-custom.active i.menu-icon {
  color: #eb644c;
  filter: drop-shadow(0 2px 4px rgba(235, 100, 76, 0.4));
}


.nav-link-custom.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 4px;
  background: linear-gradient(180deg, #eb644c 0%, #ff836d 100%);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 8px rgba(235, 100, 76, 0.6);
}


.nav-link-custom .submenu-arrow {
  margin-left: auto;
  font-size: 0.72rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #8c8fa8;
}


.nav-link-custom.active .submenu-arrow {
  color: rgba(255, 255, 255, 0.75);
}


.nav-link-custom[aria-expanded="true"] .submenu-arrow {
  transform: rotate(90deg);
}


.sidebar-submenu {
  list-style: none;
  padding: 0.35rem 0 0.45rem 1.85rem;
  margin: 0;
  border-left: 2px dashed #eedfd9;
  margin-left: 1.55rem;
}


.submenu-link {
  display: flex;
  align-items: center;
  padding: 0.48rem 0.75rem;
  color: #555877;
  font-size: 0.83rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  margin-bottom: 2px;
}


.submenu-link::before {
  content: "•";
  margin-right: 0.6rem;
  font-size: 0.95rem;
  color: #cbd5e1;
  transition: color 0.18s ease;
}


.submenu-link:hover {
  color: #eb644c;
  background-color: #fdece8;
  padding-left: 0.95rem;
}


.submenu-link:hover::before {
  color: #eb644c;
}


.submenu-link.active {
  color: #eb644c;
  font-weight: 700;
  background: linear-gradient(90deg, #fdece8 0%, #ffffff 100%);
  border: 1px solid rgba(235, 100, 76, 0.25);
  box-shadow: 0 2px 6px rgba(235, 100, 76, 0.08);
}


.submenu-link.active::before {
  color: #eb644c;
  font-weight: 900;
}
  transition: all 0.15s ease;
  cursor: pointer;
}


.submenu-link::before {
  content: "•";
  margin-right: 0.5rem;
  font-size: 0.9rem;
  color: #eb644c;
}


.submenu-link:hover {
  color: #eb644c;
  background-color: #fdece8;
}


.submenu-link.active {
  color: #eb644c;
  font-weight: 700;
  background-color: #fdece8;
}


.submenu-link.active::before {
  color: #eb644c;
}


.sidebar-footer {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border-color);
  background: #fbf4f2;
}


/* TOPBAR */
#topbar {
  height: var(--topbar-height);
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width);
  background: #ffffff;
  border-bottom: 2px solid #f7e6e2;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}


.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: 30px;
  background-color: #fbf4f2;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s;
}


.user-profile-badge:hover {
  background-color: #fdece8;
}


.user-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eb644c 0%, #1d1d4c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* MAIN CONTENT WRAPPER */
#main-wrapper {
  margin-left: var(--sidebar-width);
  margin-top: var(--topbar-height);
  padding: 1.5rem;
  min-height: calc(100vh - var(--topbar-height));
  background-color: var(--bg-main) !important;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


#appWrapper,
#viewContainer {
  background-color: var(--bg-main) !important;
}


/* MOBILE BACKDROP */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1035;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}


.sidebar-backdrop.show {
  display: block;
  opacity: 1;
}


/* CARDS */
.card-custom {
  background: #ffffff;
  border: 1px solid #eedfd9;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(29, 29, 76, 0.04);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}


.card-custom:hover {
  box-shadow: 0 10px 28px rgba(29, 29, 76, 0.08);
  border-color: #e5d1cb;
}


.card-custom .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #faf6f5 100%);
  border-bottom: 1px solid #eedfd9;
  padding: 1.05rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.card-custom .card-body {
  padding: 1.35rem;
}


.card-title-custom {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.2px;
  margin: 0;
}


/* STAT CARDS */
.stat-card {
  padding: 1.35rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbfb 100%);
  border: 1px solid #eedfd9;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(29, 29, 76, 0.04);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}


.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(29, 29, 76, 0.09);
  border-color: #e2cec7;
}


.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.06);
}


.stat-icon.primary { background: #fdece8; color: #eb644c; }
.stat-icon.success { background: #dcfce7; color: #2e8555; }
.stat-icon.warning { background: #fef3c7; color: #d97706; }
.stat-icon.danger { background: #fee2e2; color: #db4437; }
.stat-icon.info { background: #ececf6; color: #1d1d4c; }
.stat-icon.navy { background: #ececf6; color: #1d1d4c; }


.stat-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #7b809a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.3rem;
}


.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
}


.stat-subtext {
  font-size: 0.76rem;
  color: #8c8fa8;
  margin-top: 0.45rem;
  font-weight: 500;
}


/* BADGES */
.badge-custom {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.32em 0.75em;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.2px;
}


.badge-devam { background-color: #fdece8; color: #d9533b; }
.badge-tamam { background-color: #dcfce7; color: #2e8555; }
.badge-plan { background-color: #ececf6; color: #1d1d4c; }
.badge-bekle { background-color: #fef3c7; color: #b45309; }
.badge-gecikti { background-color: #fee2e2; color: #b91c1c; font-weight: 700; }
.badge-onay { background-color: #d1fae5; color: #047857; }
.badge-odendi { background-color: #dcfce7; color: #2e8555; }
.badge-kismi { background-color: #ffedd5; color: #c2410c; }
.badge-red { background-color: #fee2e2; color: #b91c1c; }
.badge-taslak { background-color: #f3f4f6; color: #4b5563; }


/* DATA TABLES & TOOLBARS */
.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}


.table-search-box {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 380px;
}


.table-search-box i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #eb644c;
}


.table-search-box input {
  padding-left: 2.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
}


.table-search-box input:focus {
  border-color: #eb644c;
  box-shadow: 0 0 0 3px rgba(235, 100, 76, 0.16);
}


.table-custom {
  margin-bottom: 0;
  font-size: 0.86rem;
  vertical-align: middle;
}


.table-custom th {
  font-weight: 800;
  color: var(--primary-navy);
  background-color: #fbf4f2;
  border-bottom: 2px solid var(--border-color);
  padding: 0.85rem 0.95rem;
  white-space: nowrap;
  user-select: none;
}


.table-custom th.sortable {
  cursor: pointer;
}


.table-custom th.sortable:hover {
  background-color: #fdece8;
}


.table-custom td {
  padding: 0.85rem 0.95rem;
  color: var(--primary-navy);
  border-bottom: 1px solid #f5ebe8;
}


.table-custom tbody tr:hover {
  background-color: #fdf8f6;
}


/* GLOBAL MERCAN & İNDİGO LACİVERT BUTON VE FORM STİLLERİ */
.text-navy {
  color: var(--primary-navy) !important;
}
.btn-primary {
  --bs-btn-bg: #eb644c;
  --bs-btn-border-color: #eb644c;
  --bs-btn-hover-bg: #d9533b;
  --bs-btn-hover-border-color: #d9533b;
  --bs-btn-active-bg: #c4442e;
  --bs-btn-active-border-color: #c4442e;
  --bs-btn-disabled-bg: #eb644c;
  --bs-btn-disabled-border-color: #eb644c;
  --bs-btn-focus-shadow-rgb: 235, 100, 76;
  font-weight: 700;
}
.btn-outline-primary {
  --bs-btn-color: #eb644c;
  --bs-btn-border-color: #eb644c;
  --bs-btn-hover-bg: #eb644c;
  --bs-btn-hover-border-color: #eb644c;
  --bs-btn-active-bg: #d9533b;
  --bs-btn-active-border-color: #d9533b;
  --bs-btn-focus-shadow-rgb: 235, 100, 76;
  font-weight: 700;
}
.form-control:focus,
.form-select:focus {
  border-color: #eb644c;
  box-shadow: 0 0 0 0.2rem rgba(235, 100, 76, 0.16);
}
.nav-tabs .nav-link {
  color: #5c5f7e;
  font-weight: 600;
}
.nav-tabs .nav-link.active {
  color: #eb644c !important;
  font-weight: 700;
  border-bottom: 2px solid #eb644c;
}


/* PAGINATION */
.pagination-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}


/* PROGRESS BAR */
.progress-bar-custom {
  height: 8px;
  border-radius: 4px;
  background-color: #e2e8f0;
  overflow: hidden;
}


.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}


/* SVG CHARTS */
.chart-container {
  position: relative;
  width: 100%;
}


.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}


.chart-bar {
  transition: opacity 0.2s, height 0.3s;
  cursor: pointer;
}
.chart-bar:hover {
  opacity: 0.85;
}


.chart-slice {
  transition: transform 0.2s;
  cursor: pointer;
}
.chart-slice:hover {
  transform: scale(1.03);
  transform-origin: center;
}


/* A4 PRINT MODAL STYLING */
@media print {
  body * {
    visibility: hidden;
  }
  #printableArea, #printableArea * {
    visibility: visible;
  }
  #printableArea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20mm;
    background: #fff;
    box-shadow: none;
    font-size: 12pt;
    color: #000;
  }
  .no-print, .modal-footer, .btn-close {
    display: none !important;
  }
}


.a4-document-preview {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  max-width: 800px;
}


.report-header-border {
  border-bottom: 2px solid #0f2744;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}


.report-sign-box {
  border-top: 1px solid #94a3b8;
  margin-top: 3.5rem;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
}


/* Sliding menu and clickable brand */
.brand-reload { color: inherit; text-decoration: none; cursor: pointer; }
.brand-reload:hover { color: inherit; text-decoration: none; }
.brand-reload:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: -3px; border-radius: 6px; }
.sidebar-header.brand-reload { flex-shrink: 0; }
.sidebar-mobile-open { overflow: hidden; }
@media (min-width: 992px) {
  body.sidebar-collapsed #sidebar { transform: translateX(-100%); }
  body.sidebar-collapsed #topbar { left: 0; }
  body.sidebar-collapsed #main-wrapper { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #sidebar, #topbar, #main-wrapper, .sidebar-backdrop { transition: none; }
}


/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991.98px) {
  #sidebar {
    transform: translateX(-100%);
  }
  #sidebar.show {
    transform: translateX(0);
  }
  #topbar {
    left: 0;
  }
  #main-wrapper {
    margin-left: 0;
    padding: 1rem;
  }
}


@media (max-width: 575.98px) {
  .topbar-brand-text {
    font-size: 0.9rem !important;
  }
  .stat-card {
    padding: 1rem;
  }
  .stat-value {
    font-size: 1.25rem;
  }
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .table-search-box {
    max-width: 100%;
  }
  .user-name-label {
    display: none;
  }
}


/* ========================================================
   ŞANTİYE AJANDASI & TAKVİM STİLLERİ
   ======================================================== */
.btn-navy {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}
.btn-navy:hover {
  background-color: var(--primary-navy-dark);
  color: #ffffff;
}


.calendar-week-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}
.calendar-week-day {
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 0;
  overflow: hidden;
}
.calendar-week-day.weekend {
  color: var(--accent-blue);
}


.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}


.calendar-cell {
  min-height: 110px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.calendar-cell:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
  transform: translateY(-1px);
  z-index: 2;
}
.calendar-cell.today {
  border: 2px solid var(--accent-blue);
  background-color: #f0f9ff;
}
.calendar-cell.selected {
  outline: 2px solid var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(15, 39, 68, 0.18);
  z-index: 3;
}
.calendar-cell.other-month {
  background-color: #f8fafc;
  border-color: #f1f5f9;
  opacity: 0.5;
  cursor: default;
}
.calendar-cell.other-month:hover {
  transform: none;
  box-shadow: none;
  border-color: #f1f5f9;
}


.calendar-cell-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  min-width: 0;
}
.calendar-cell-header .day-number {
  font-size: 0.85rem;
  color: var(--text-main);
}
.calendar-cell-header .badge-count {
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
}


.calendar-cell-events {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 85px;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  width: 100%;
}
.calendar-event-pill {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  font-weight: 500;
  min-width: 0;
  max-width: 100%;
  transition: filter 0.15s ease;
}
.calendar-event-pill i {
  flex-shrink: 0;
}
.calendar-event-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-event-pill:hover {
  filter: brightness(0.92);
}
.calendar-more-badge {
  font-size: 0.68rem;
  padding-left: 2px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* Event Type Badges */
.badge-event-custom {
  background-color: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}
.badge-work-custom {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.badge-task-custom {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-pay-custom {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.badge-order-custom {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.badge-loan-custom {
  background-color: #ede9fe;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}
.badge-card-custom {
  background-color: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.badge-kmh-custom {
  background-color: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}


/* KPI OBLIGATION INTERACTIVE BOXES */
.kpi-obligation-box {
  transition: all 0.22s ease-in-out;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.kpi-obligation-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09) !important;
}
.kpi-obligation-box.active-obligation-box {
  border-width: 2px !important;
  transform: translateY(-2px);
}
.kpi-obligation-box#kpiBox_loans.active-obligation-box {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25), 0 8px 20px rgba(124, 58, 237, 0.12) !important;
  background-color: #f5f3ff !important;
}
.kpi-obligation-box#kpiBox_cards.active-obligation-box {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25), 0 8px 20px rgba(225, 29, 72, 0.12) !important;
  background-color: #fff1f2 !important;
}
.kpi-obligation-box#kpiBox_kmh.active-obligation-box {
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25), 0 8px 20px rgba(234, 88, 12, 0.12) !important;
  background-color: #fff7ed !important;
}


.btn-purple-active {
  background-color: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #fff !important;
}
.btn-danger-active {
  background-color: #e11d48 !important;
  border-color: #e11d48 !important;
  color: #fff !important;
}
.btn-warning-active {
  background-color: #ea580c !important;
  border-color: #ea580c !important;
  color: #fff !important;
}


.cursor-pointer {
  cursor: pointer;
}
.border-dashed {
  border-style: dashed !important;
}
.hover-elevate {
  transition: all 0.2s ease;
}
.hover-elevate:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}
.hover-bg-light:hover {
  background-color: #f8fafc;
}


@media (max-width: 767.98px) {
  .calendar-cell {
    min-height: 85px;
    padding: 3px;
  }
  .calendar-cell-events {
    display: flex;
    max-height: 60px;
  }
  .calendar-event-pill {
    font-size: 0.65rem;
    padding: 1px 3px;
  }
  .calendar-week-day {
    font-size: 0.7rem;
  }
}


/* ========================================================
   SİSTEM ARAÇLARI: BİLDİRİMLER VE HIZLI ARAMA (CTRL+K)
   ======================================================== */
.notification-dropdown-menu {
  animation: fadeInDown 0.15s ease-out;
}
.notification-list::-webkit-scrollbar {
  width: 4px;
}
.notification-list::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}


#globalSearchModal .modal-content {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
#globalSearchInput:focus {
  outline: none !important;
  box-shadow: none !important;
}


@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================================================
   PARAŞÜT STİLİ KURUMSAL ANA SAYFA & ÜYELİK / GİRİŞ PORTALI
   ======================================================== */
:root {
  --parasut-navy: #1d1d4c;
  --parasut-navy-dark: #141438;
  --parasut-coral: #eb644c;
  --parasut-coral-hover: #d9533b;
  --parasut-salmon-btn: #eb7c68;
  --parasut-cream-bg: #fbf4f2;
}


.parasut-navy-text {
  color: var(--parasut-navy) !important;
}
.parasut-coral-text {
  color: var(--parasut-coral) !important;
}


/* 1. Üst Lacivert Kurumsal Bar */
.parasut-landing-wrapper {
  background-color: var(--parasut-cream-bg, #fbf4f2);
  min-height: 100vh;
  color: var(--parasut-navy);
}
.parasut-topbar {
  background-color: var(--parasut-navy);
  color: #ffffff;
  padding: 0.55rem 0;
  font-size: 0.82rem;
}
.parasut-topbar-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.parasut-topbar-link:hover {
  color: #ffffff;
}


/* 2. Ana Beyaz Navigasyon Çubuğu */
.parasut-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #eef0f5;
  z-index: 1020;
}
.parasut-logo-mark {
  position: relative;
  width: 40px;
  height: 28px;
  display: inline-flex;
  align-items: center;
}
.parasut-logo-mark .circle-left {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f06c54;
  display: inline-block;
}
.parasut-logo-mark .circle-right {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #c93b2b;
  display: inline-block;
  margin-left: -10px;
  margin-top: 4px;
}
.parasut-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--parasut-coral);
}
.parasut-brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--parasut-coral);
  text-align: right;
  margin-top: -2px;
}


.parasut-nav-item {
  color: var(--parasut-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.5rem 0;
  transition: color 0.15s ease;
}
.parasut-nav-item:hover,
.parasut-nav-item.active {
  color: var(--parasut-coral);
}


.parasut-btn-outline-navy {
  border: 1.5px solid var(--parasut-navy);
  color: var(--parasut-navy);
  background-color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.parasut-btn-outline-navy:hover {
  background-color: var(--parasut-navy);
  color: #ffffff;
}


.parasut-btn-coral {
  background-color: var(--parasut-coral);
  border: 1.5px solid var(--parasut-coral);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.35rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.parasut-btn-coral:hover {
  background-color: var(--parasut-coral-hover);
  border-color: var(--parasut-coral-hover);
  color: #ffffff;
}


/* 3. Sektörel Çözümler Alt Barı */
.parasut-sector-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #eef0f5;
  padding: 0.65rem 0;
}
.parasut-sector-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.parasut-sector-scroll::-webkit-scrollbar {
  display: none;
}
.parasut-sector-link {
  border: none;
  background: transparent;
  color: var(--parasut-navy);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.parasut-sector-link:hover {
  background-color: #f4f6fb;
  color: var(--parasut-navy);
}
.parasut-sector-link.active {
  background-color: var(--parasut-navy);
  color: #ffffff;
  font-weight: 700;
}


/* 4. Ana Hero Alanı */
.parasut-hero-section {
  padding: 0 0 3.5rem 0;
}
.parasut-hero-top-pill {
  display: inline-block;
  background-color: var(--parasut-coral);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  padding: 0.65rem 2.25rem;
  border-radius: 0 0 36px 36px;
  margin-left: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(235, 100, 76, 0.22);
  transition: all 0.25s ease;
}
.parasut-hero-pill-animate {
  animation: heroPillGlide 0.28s ease;
}
@keyframes heroPillGlide {
  0% { opacity: 0.3; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.parasut-hero-card {
  background-color: var(--parasut-cream-bg);
  border-radius: 16px;
  overflow: hidden;
}
.parasut-hero-kicker {
  color: var(--parasut-coral);
  font-weight: 700;
  font-size: 1rem;
}
.parasut-hero-title {
  color: var(--parasut-navy);
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.5px;
}
.parasut-hero-desc {
  color: #4f5275;
  font-size: 1.08rem;
  line-height: 1.65;
}


/* Sağ Kemer (Arch) Şantiye & Mühendis Sahnesi */
.parasut-hero-arch-wrap {
  padding: 0;
  height: 100%;
  min-height: 440px;
  display: flex;
  align-items: stretch;
}
.parasut-hero-arch-scene {
  display: none;
  position: relative;
  width: 100%;
  min-height: 440px;
  border-radius: 260px 0 0 260px;
  overflow: hidden;
  background: #9ec9f2;
  box-shadow: -8px 0 28px rgba(29, 29, 76, 0.08);
  animation: archSceneFade 0.35s ease;
}
.parasut-hero-arch-scene.active {
  display: block;
}
@keyframes archSceneFade {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.parasut-scene-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* Şantiye Tabelası: GÜVENLE GELECEĞE İNŞA EDİYORUZ */
.parasut-site-board {
  position: absolute;
  left: 34px;
  top: 72px;
  width: 245px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
  border: 2px solid #e2e8f0;
  transform: perspective(600px) rotateY(8deg);
  z-index: 2;
}
.parasut-board-top {
  padding: 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
}
.parasut-board-logo {
  font-size: 2.1rem;
  color: #1e293b;
  line-height: 1;
}
.parasut-board-headline {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}
.parasut-board-bottom {
  display: flex;
  min-height: 128px;
}
.parasut-board-left-col {
  flex: 1.25;
  background-color: #1e293b;
  color: #ffffff;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.board-check-item {
  font-size: 0.64rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}
.parasut-board-right-col {
  flex: 0.95;
  background-color: #2e8555;
  color: #ffffff;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.board-safety-cross {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.board-safety-text {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}


.parasut-engineer-figure {
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 280px;
  height: 390px;
  z-index: 3;
}


/* Modül Kartları */
.parasut-module-card {
  background: #ffffff;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: all 0.22s ease;
}
.parasut-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(29, 29, 76, 0.08);
  border-color: #f5c2b8;
}
.parasut-module-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: #fdece8;
  color: var(--parasut-coral);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}


/* Sağ Alt Yukarı Dön Yuvarlak Butonu */
.parasut-scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--parasut-coral);
  color: var(--parasut-coral);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.05;
  box-shadow: 0 6px 20px rgba(235, 100, 76, 0.22);
  z-index: 1030;
  transition: all 0.2s ease;
}
.parasut-scroll-top-btn:hover {
  background: var(--parasut-coral);
  color: #ffffff;
  transform: translateY(-3px);
}


/* ========================================================
   BÖLÜM B: PARAŞÜT STİLİ GİRİŞ / ÜYELİK / DOĞRULAMA EKRANI
   ======================================================== */
.parasut-auth-portal {
  min-height: 100vh;
  background-color: var(--parasut-cream-bg, #fbf4f2);
  display: flex;
  flex-direction: column;
}
.parasut-auth-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eedfd9;
}
.parasut-auth-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3.5rem 0;
  overflow-x: hidden;
}
.parasut-form-container {
  max-width: 470px;
}
.parasut-auth-heading {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.3px;
}


/* 2 Adımlı Sekme Çubuğu: 1. Hesap Bilgileri | 2. Son Adım */
.parasut-step-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid #eef0f5;
}
.parasut-step-tab {
  font-size: 0.85rem;
  font-weight: 600;
  color: #b0b7c3;
  padding-bottom: 0.65rem;
  position: relative;
}
.parasut-step-tab.active {
  color: var(--parasut-coral);
  font-weight: 700;
}
.parasut-step-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  background-color: var(--parasut-coral);
}
.parasut-step-tab.completed {
  color: #10b981;
}


/* Form Inputları */
.parasut-input {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #d5dce6;
  color: var(--parasut-navy);
  font-size: 0.92rem;
  padding: 0.6rem 1rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.parasut-input::placeholder {
  color: #8792a2;
}
.parasut-input:focus {
  border-color: var(--parasut-coral);
  box-shadow: 0 0 0 3px rgba(235, 100, 76, 0.14);
}
.parasut-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--parasut-navy);
  font-size: 1.1rem;
  cursor: pointer;
}


/* +90 Ülke Kodu Seçici */
.parasut-phone-prefix {
  height: 48px;
  border: 1px solid #d5dce6;
  border-radius: 8px;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
}
.tr-flag-circle {
  font-size: 1.1rem;
  line-height: 1;
}


/* Şifre Kuralları Kontrol Listesi (Görsel 3 Birebir) */
.parasut-pass-rules-title {
  font-size: 0.76rem;
  color: #6b7280;
  margin-bottom: 0.45rem;
}
.parasut-pass-rules-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.parasut-rule-item {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}
.parasut-rule-item i {
  color: #64748b;
  font-size: 0.82rem;
}
.parasut-rule-item.valid {
  color: #10b981;
}
.parasut-rule-item.valid i {
  color: #10b981;
}


/* Mercan Gönder (Devam Et / Giriş Yap) Butonu */
.parasut-submit-btn {
  height: 48px;
  background-color: var(--parasut-salmon-btn);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.parasut-submit-btn:hover {
  background-color: var(--parasut-coral);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(235, 100, 76, 0.28);
}


.parasut-bottom-switch {
  font-size: 0.88rem;
}
.parasut-coral-link {
  color: var(--parasut-coral);
  font-weight: 700;
  text-decoration: none;
}
.parasut-coral-link:hover {
  color: var(--parasut-coral-hover);
  text-decoration: underline;
}


/* E-Posta Doğrulama Kartı (Görsel 2 Birebir) */
.parasut-email-verify-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.parasut-email-verify-header {
  background-color: #d5d8dc;
  padding: 1.25rem 1.5rem;
}
.parasut-email-verify-body {
  padding: 1.5rem;
}
.parasut-verify-red-btn {
  background-color: #db4437;
  color: #ffffff;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  border: none;
  transition: background 0.2s ease;
}
.parasut-verify-red-btn:hover {
  background-color: #c53727;
  color: #ffffff;
}


/* Sağ Sütun Kemer (D-Arch) + Çoklu Görsel Vitrini + Haplar ve Değerlendirme Kartları */
.parasut-auth-visual-wrap {
  position: relative;
  padding-left: 48px;
  min-height: 530px;
}
.parasut-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateX(12px);
}
.parasut-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}
.parasut-auth-arch {
  width: 100%;
  height: 520px;
  border-radius: 300px 0 0 300px;
  overflow: hidden;
  box-shadow: -10px 14px 36px rgba(29, 29, 76, 0.14);
  position: relative;
}
.parasut-arch-caption {
  position: absolute;
  bottom: 22px;
  right: 28px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.parasut-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  color: #1d1d4c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}
.parasut-slider-nav-btn:hover {
  background: #ffffff;
  color: #eb644c;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(235, 100, 76, 0.28);
}
.parasut-slider-prev {
  left: 28px;
}
.parasut-slider-next {
  right: 14px;
}
.parasut-slider-dots {
  position: absolute;
  top: 14px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 8;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.parasut-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}
.parasut-slider-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #eb644c;
}


/* =====================================================
   DOĞAN İNŞAAT - YENİ NESİL KURUMSAL YÖNETİM PORTALI
   ===================================================== */
.dogan-auth-portal-wrap {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}


.dogan-auth-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}


.dogan-brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d1d4c 0%, #eb644c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(235, 100, 76, 0.25);
  flex-shrink: 0;
}


.dogan-auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2.25rem 2rem 2.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}


.dogan-auth-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}


.dogan-quick-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 1.25rem;
}


.dogan-role-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}


.dogan-role-tile:hover {
  background: #fff5f2;
  border-color: #eb644c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 100, 76, 0.12);
}


.dogan-role-tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}


.dogan-role-tile-info .name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}


.dogan-role-tile-info .role {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
}


.dogan-input-group {
  position: relative;
}


.dogan-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.05rem;
  pointer-events: none;
}


.dogan-form-input {
  height: 48px;
  padding-left: 42px !important;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
}


.dogan-form-input:focus {
  border-color: #eb644c;
  box-shadow: 0 0 0 3px rgba(235, 100, 76, 0.16);
  background-color: #ffffff;
}


.dogan-showcase-canvas {
  background: linear-gradient(135deg, #0b1120 0%, #171d36 50%, #1e1b4b 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.dogan-showcase-glow-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 100, 76, 0.25) 0%, rgba(235, 100, 76, 0) 70%);
  pointer-events: none;
}


.dogan-showcase-glow-2 {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
  pointer-events: none;
}


.dogan-glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.25s ease;
}


.dogan-glass-card:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(4px);
  border-color: rgba(235, 100, 76, 0.4);
}


.dogan-glass-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}


/* Yüzen 4,6 ★ Google Play / App Store Kartı */
.parasut-rating-card {
  position: absolute;
  top: 32px;
  left: 165px;
  width: 195px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  z-index: 4;
}
.parasut-rating-score {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--parasut-navy);
  line-height: 1.1;
  margin-bottom: 6px;
}
.parasut-rating-stars {
  background: #ffffff;
  border-radius: 30px;
  padding: 4px 10px;
  color: #f5b942;
  font-size: 1rem;
  display: inline-flex;
  gap: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 8px;
}
.parasut-rating-stores {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
}


/* Sol Kenardan Taşan "Kolay kullanım" & "Uzman destek" Hapları */
.parasut-floating-pills {
  position: absolute;
  left: 0;
  top: 195px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 4;
}
.parasut-feature-pill {
  background-color: #db6b58;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(219, 107, 88, 0.32);
}


.auth-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.auth-status-dot.offline {
  background-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}


/* Inline Alert Banner */
.auth-inline-alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: fadeInDown 0.2s ease;
}
.auth-inline-alert.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.auth-inline-alert.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}
.auth-inline-alert.alert-info {
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}


@media (max-width: 991.98px) {
  .parasut-hero-top-pill {
    font-size: 1.35rem;
    margin-left: 1rem;
    padding: 0.5rem 1.5rem;
  }
  .parasut-hero-title {
    font-size: 1.85rem;
  }
  .parasut-hero-arch-scene {
    border-radius: 32px;
    min-height: 360px;
  }
  .parasut-auth-visual-wrap {
    padding-left: 0;
  }
  .parasut-auth-arch {
    border-radius: 36px;
    height: 380px;
  }
  .parasut-rating-card {
    left: 20px;
    top: 20px;
  }
  .parasut-floating-pills {
    left: 20px;
    top: auto;
    bottom: 20px;
  }
  .parasut-feature-pill {
    font-size: 1rem;
    padding: 0.45rem 1.15rem;
  }
}


@media (max-width: 575.98px) {
  .parasut-brand-name {
    font-size: 1.15rem;
  }
  .parasut-btn-outline-navy,
  .parasut-btn-coral {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  .parasut-site-board {
    left: 12px;
    top: 30px;
    width: 195px;
  }
  .parasut-engineer-figure {
    width: 210px;
    height: 300px;
    right: 4px;
  }
  .parasut-auth-heading {
    font-size: 1.45rem;
  }
}


/* =====================================================
   NEXT-GEN SAAS ERP GÖRSEL SİSTEMİ (ŞANTİYE ERP V3)
   ===================================================== */
.nextgen-welcome-banner {
  background: linear-gradient(125deg, #1d1d4c 0%, #2b2b6e 58%, #eb644c 145%);
  border-radius: 18px;
  padding: 1.65rem 2rem;
  box-shadow: 0 12px 32px rgba(29, 29, 76, 0.16);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}


.nextgen-welcome-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 100, 76, 0.28) 0%, rgba(235, 100, 76, 0) 70%);
  pointer-events: none;
}


.nextgen-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}


.nextgen-live-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}


.nextgen-step-card {
  background: #ffffff;
  border: 1.5px solid #f0ded9;
  border-radius: 14px;
  padding: 1.15rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(29, 29, 76, 0.04);
}


.nextgen-step-card:hover {
  transform: translateY(-4px);
  border-color: #eb644c;
  box-shadow: 0 10px 24px rgba(235, 100, 76, 0.14);
}


.nextgen-step-card .step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1d1d4c;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.nextgen-step-card:hover .step-num {
  background: #eb644c;
}


/* Gelişmiş Kart & Tablo & Modal Efektleri */
#topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}


.stat-card {
  border-radius: 16px;
  border: 1px solid #f0ded9;
  box-shadow: 0 4px 14px rgba(29, 29, 76, 0.05);
}


.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #eb644c 0%, #1d1d4c 100%);
  opacity: 0.85;
}


.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(29, 29, 76, 0.11);
  border-color: #eb644c;
}


.card-custom {
  border-radius: 16px;
  border: 1px solid #f0ded9;
  box-shadow: 0 4px 16px rgba(29, 29, 76, 0.05);
}


.modal-content {
  border-radius: 18px !important;
  overflow: hidden;
  background-color: var(--bg-main, #fbf4f2) !important;
  border: 1px solid var(--border-color, #eedfd9);
  box-shadow: 0 16px 40px rgba(29, 29, 76, 0.16);
}


.modal-header {
  border-bottom: 1px solid var(--border-color, #eedfd9);
}


.modal-body {
  background-color: var(--bg-main, #fbf4f2) !important;
}


.modal-footer {
  background-color: var(--bg-main, #fbf4f2) !important;
  border-top: 1px solid var(--border-color, #eedfd9) !important;
}


.modal-body .bg-light {
  background-color: var(--bg-main, #fbf4f2) !important;
}


.modal-body .nav-tabs {
  background-color: var(--bg-main, #fbf4f2) !important;
  border-bottom: 1px solid var(--border-color, #eedfd9);
}


.nav-pills.bg-white,
.nav-tabs.bg-white {
  background-color: #ffffff !important;
  border: 1px solid #eedfd9 !important;
  box-shadow: 0 2px 8px rgba(29, 29, 76, 0.04);
}


/* Modallardaki iç kart ve daire kartları zemin kontrastı */
.modal-body .card:not(.bg-primary):not(.bg-success):not(.bg-warning):not(.bg-danger):not(.bg-info):not([style*="background:"]):not([style*="background-color:"]) {
  background-color: #ffffff;
  border-color: #eedfd9;
}


/* Daireler & Proje Detay Modalı Özel Zemin Kuralları */
#projectDetailModal .modal-content,
#projectDetailModal .modal-body,
#projectDetailModal .tab-content,
#projectDetailModal #projectDetailTabContent,
#projectDetailModal #tabDaireler,
#projectBuyerFormModal .modal-content,
#projectBuyerFormModal .modal-body,
#projectUnitFormModal .modal-content,
#projectUnitFormModal .modal-body {
  background-color: #fbf4f2 !important;
}


#projectDetailModal .modal-body .bg-light,
#projectBuyerFormModal .modal-body .bg-light,
#projectUnitFormModal .modal-body .bg-light {
  background-color: #fbf4f2 !important;
  border-color: #eedfd9 !important;
}


/* =====================================================
   ULTRA-PRATİK KULLANICI DENEYİMİ (UX V4) STİLLERİ
   ===================================================== */


/* 1. Sol Menü Hızlı Filtre & Canlı Kayıt Rozetleri */
.sidebar-search-box {
  position: relative;
}


.sidebar-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b7e7a;
  font-size: 0.78rem;
  pointer-events: none;
}


.sidebar-search-input {
  padding-left: 30px !important;
  border-radius: 20px !important;
  background-color: #fbf4f2 !important;
  border: 1px solid #ead8d3 !important;
  font-size: 0.78rem !important;
  color: #1d1d4c !important;
  height: 32px;
  transition: all 0.2s ease;
}


.sidebar-search-input:focus {
  background-color: #ffffff !important;
  border-color: #eb644c !important;
  box-shadow: 0 0 0 3px rgba(235, 100, 76, 0.14) !important;
}


.sidebar-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 19px;
  padding: 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 20px;
  background-color: #f3e6e2;
  color: #6b5e5a;
  transition: all 0.2s ease;
}


.sidebar-count-badge.has-items {
  background-color: #fdece8;
  color: #eb644c;
  border: 1px solid rgba(235, 100, 76, 0.28);
}


.nav-link-custom.active .sidebar-count-badge {
  background-color: #eb644c;
  color: #ffffff;
}


/* 2. Üst Bar Canlı KPI Hapları & + Hızlı İşlem Menüsü */
.topbar-kpi-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: #fbf4f2;
  border: 1px solid #ead8d3;
  font-size: 0.76rem;
  color: #1d1d4c;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}


.topbar-kpi-pill:hover {
  background: #fdece8;
  border-color: #eb644c;
  transform: translateY(-1px);
}


.quick-create-dropdown .qc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}


.quick-create-dropdown .dropdown-item:hover {
  background-color: #fbf4f2;
}


/* 3. 8'li Görsel Hızlı İşlem Komuta Merkezi Kartları */
.quick-command-tile {
  background: #ffffff;
  border: 1px solid #eedfd9;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: 0 2px 8px rgba(29, 29, 76, 0.03);
  position: relative;
  overflow: hidden;
}


.quick-command-tile:hover {
  background: #ffffff;
  border-color: #eb644c;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(235, 100, 76, 0.14);
}


.qc-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-bottom: 0.45rem;
  transition: transform 0.22s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.quick-command-tile:hover .qc-tile-icon {
  transform: scale(1.08);
}


.qc-tile-icon.primary { background: #fdece8; color: #eb644c; }
.qc-tile-icon.success { background: #dcfce7; color: #15803d; }
.qc-tile-icon.warning { background: #fef3c7; color: #d97706; }
.qc-tile-icon.danger  { background: #fee2e2; color: #dc2626; }
.qc-tile-icon.info    { background: #e0f2fe; color: #0369a1; }
.qc-tile-icon.navy    { background: #ececf6; color: #1d1d4c; }


/* 4. Mobil Alt Hızlı Navigasyon Barı (Native Uygulama Deneyimi) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid #ead8d3;
  box-shadow: 0 -4px 20px rgba(29, 29, 76, 0.08);
  z-index: 1032;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}


.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6b5e5a;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 2px;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}


.mobile-nav-item i {
  font-size: 1.15rem;
  line-height: 1;
}


.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #eb644c;
  font-weight: 700;
}


.mobile-nav-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: linear-gradient(135deg, #eb644c 0%, #1d1d4c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-top: -20px;
  box-shadow: 0 6px 18px rgba(235, 100, 76, 0.38);
  transition: transform 0.2s ease;
}


.mobile-nav-fab:active {
  transform: scale(0.93);
}


@media (max-width: 991.98px) {
  #main-wrapper {
    padding-bottom: 5.5rem !important;
  }
}


/* =====================================================
   PC / LAPTOP / TABLET / MOBİL TAM ORANTILAMA SİSTEMİ
   ===================================================== */


/* 1. Yatay Taşma (Overflow) Koruması ve Ana Kapsayıcı Dengesi */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* Evrensel Görsel ve Medya Orantılaması (Kayma & Taşma Önleyici) */
img, video, canvas {
  max-width: 100%;
  height: auto;
}


svg:not(.brand-icon-box svg):not(.mobile-nav-fab svg) {
  max-width: 100%;
}


#appWrapper {
  max-width: 100vw;
  overflow-x: hidden;
}


#main-wrapper {
  max-width: 100%;
  box-sizing: border-box;
}


#viewContainer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
}


/* 2. Üst Bar (Topbar) Başlık & Buton Orantılaması */
.topbar-left {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}


.topbar-left .brand-reload {
  min-width: 0;
  overflow: hidden;
  display: flex !important;
  align-items: center;
}


#topbar [data-theme-subtitle] {
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.topbar-right {
  flex-shrink: 0;
}


/* 3. Sekme Barları (Nav Tabs) - Tablet ve Mobilde Kaydırılabilir Tek Satır */
.nav-tabs {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}


.nav-tabs::-webkit-scrollbar {
  height: 3px;
}


.nav-tabs::-webkit-scrollbar-thumb {
  background: #e2d1cc;
  border-radius: 3px;
}


.nav-tabs .nav-link {
  white-space: nowrap;
  flex-shrink: 0;
}


/* 4. Tablo ve Kart İçerikleri Orantılaması */
.table-responsive {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  max-width: 100%;
}


.table-custom th,
.table-custom td {
  vertical-align: middle;
}


.table-custom th {
  white-space: nowrap;
}


/* 5. PC & Dizüstü Ekranlar (992px - 1440px: Sol Menü Açıkken İçerik Orantısı) */
@media (min-width: 992px) and (max-width: 1480px) {
  :root {
    --sidebar-width: 240px;
  }
  #main-wrapper {
    padding: 1.25rem;
  }
  .stat-card {
    padding: 0.95rem 1rem;
  }
  .stat-value {
    font-size: 1.15rem !important;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    border-radius: 10px;
  }
  .stat-label {
    font-size: 0.72rem;
  }
  .stat-subtext {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-kpi-pill {
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
  }
}


/* 5B. Masaüstünde Sidebar Kapandığında (Sidebar-Collapsed) */
body.sidebar-collapsed #sidebar {
  transform: translateX(-100%);
}
body.sidebar-collapsed #topbar {
  left: 0 !important;
}
body.sidebar-collapsed #main-wrapper {
  margin-left: 0 !important;
}

/* 6. Tablet Ekranlar (768px - 991.98px) & Mobil Kayar Menü */
@media (max-width: 991.98px) {
  #sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: 280px !important;
    max-width: 84vw !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    box-shadow: 0 0 32px rgba(15, 23, 42, 0.28) !important;
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.28s cubic-bezier(0.32, 1, 0.23, 1), visibility 0.28s !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
  }
  #sidebar.show {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .sidebar-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 1045 !important;
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
  }
  .sidebar-backdrop.show {
    display: block !important;
    opacity: 1 !important;
  }
  #topbar {
    left: 0 !important;
    top: 0 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-left: max(1rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    padding-bottom: 0 !important;
    height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1030 !important;
  }
  #main-wrapper {
    margin-left: 0 !important;
    margin-top: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding: 1rem 1rem calc(75px + env(safe-area-inset-bottom, 20px)) 1rem !important;
  }
  .sidebar-header {
    height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    box-sizing: border-box !important;
  }
  .nextgen-welcome-banner {
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
  }
  .nextgen-welcome-banner h2 {
    font-size: 1.35rem !important;
  }
  .card-custom .card-header {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
  }
  .card-custom .card-body {
    padding: 1rem;
  }
  /* Kurumsal Tanıtım (Landing Page) Tablet Uyumluluğu */
  .parasut-hero-arch-wrap {
    min-height: 340px;
  }
  .parasut-hero-arch-scene {
    min-height: 340px;
    border-radius: 24px;
    margin-top: 1rem;
  }
  .parasut-site-board {
    left: 24px;
    top: 32px;
    width: 220px;
    transform: none;
  }
  .parasut-engineer-figure {
    right: 16px;
    width: 230px;
    height: 320px;
  }
}


/* 7. Mobil Telefon Ekranları (< 767.98px - iPhone Çentik & Dinamik Ada Desteği) */
@media (max-width: 767.98px) {
  #topbar {
    top: 0 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-left: max(0.65rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px)) !important;
    padding-bottom: 0 !important;
    height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
  }
  #main-wrapper {
    margin-top: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding: 0.75rem 0.65rem calc(75px + env(safe-area-inset-bottom, 20px)) 0.65rem !important;
  }
  #sidebar {
    padding-top: env(safe-area-inset-top, 0px) !important;
  }
  .sidebar-header {
    height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    box-sizing: border-box !important;
  }
  #btnMobileMenuToggle {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    background-color: #fbf4f2 !important;
    border: 1px solid #eedfd9 !important;
    color: var(--primary-navy) !important;
    box-shadow: 0 1px 3px rgba(29, 29, 76, 0.08) !important;
    position: relative !important;
    z-index: 1035 !important;
  }
  #btnMobileMenuToggle i {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }
  /* Mobilde logonun daire ikonunu gizleyip ŞANTİYE ERP yazısına tam alan aç */
  #topbar .parasut-logo-mark {
    display: none !important;
  }
  .topbar-left {
    gap: 0.5rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }
  .brand-text-box {
    margin-left: 0.15rem !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .topbar-brand-text {
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  /* Mobilde Bulut Canlı yazısını gizle, sadece yeşil parlayan noktayı şık tut */
  #topbarSyncText {
    display: none !important;
  }
  #topbarSyncStatus {
    padding: 0.35rem 0.55rem !important;
    gap: 0 !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .topbar-right {
    gap: 0.35rem !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }
  /* Mobilde üst bardaki ikincil çıkış ikonunu gizle (profil menüsünde zaten mevcut) */
  .topbar-right > button[title="Güvenli Çıkış Yap"] {
    display: none !important;
  }
  #btnTopbarQuickCreate {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem;
  }
  .user-profile-badge {
    padding: 0.2rem 0.35rem;
    gap: 0.25rem;
  }
  .user-avatar-circle {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  .nextgen-welcome-banner {
    padding: 1.05rem 1rem;
    border-radius: 14px;
  }
  .nextgen-welcome-banner h2 {
    font-size: 1.18rem !important;
    line-height: 1.3;
  }
  .nextgen-welcome-banner p {
    font-size: 0.78rem !important;
  }
  .quick-command-tile {
    padding: 0.7rem 0.75rem;
  }
  .qc-tile-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .stat-card {
    padding: 0.85rem 0.9rem;
  }
  .stat-value {
    font-size: 1.15rem !important;
    word-break: break-word;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  /* Modalların mobilde ekran dışına taşmasını önle */
  .modal-dialog {
    margin: 0.5rem;
  }
  .modal-body {
    padding: 1rem !important;
    max-height: calc(100vh - 135px);
    overflow-y: auto;
  }
  .a4-document-preview {
    padding: 1rem;
  }
  /* Tanıtım ve Giriş Sayfası Mobil Orantılaması */
  .parasut-hero-top-pill {
    font-size: 1.1rem;
    margin-left: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 0 0 20px 20px;
  }
  .parasut-hero-title {
    font-size: 1.45rem;
  }
  .parasut-hero-desc {
    font-size: 0.92rem;
  }
  .parasut-hero-arch-wrap {
    min-height: 270px;
  }
  .parasut-hero-arch-scene {
    min-height: 270px;
    border-radius: 20px;
  }
  .parasut-site-board {
    left: 10px;
    top: 16px;
    width: 175px;
    transform: scale(0.85);
    transform-origin: top left;
  }
  .parasut-engineer-figure {
    width: 155px;
    height: 225px;
    right: 0;
    bottom: -4px;
  }
  .parasut-auth-body {
    padding: 1.25rem 0 2rem 0;
  }
  .parasut-auth-heading {
    font-size: 1.35rem;
  }
  .parasut-scroll-top-btn {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: 14px;
    font-size: 0.58rem;
  }
}


/* 8. Ekstra Dar Mobil Ekranlar (< 576px) - Buton ve İkon Sıkışma Koruması */
@media (max-width: 575.98px) {
  #btnTopbarQuickCreate span,
  #btnTopbarQuickCreate .bi-chevron-down {
    display: none !important;
  }
  #btnTopbarQuickCreate {
    padding: 0.38rem 0.55rem !important;
    border-radius: 50px !important;
  }
}


/* 9. Küçük Akıllı Telefonlar (< 480px) - Tabela & Figür Çarpışma Koruması */
@media (max-width: 480px) {
  .parasut-hero-arch-wrap {
    min-height: 240px;
  }
  .parasut-hero-arch-scene {
    min-height: 240px;
  }
  .parasut-site-board {
    left: 6px;
    top: 12px;
    transform: scale(0.72);
    transform-origin: top left;
  }
  .parasut-engineer-figure {
    width: 135px;
    height: 195px;
    right: -4px;
    bottom: -2px;
  }
}


/* 10. En Küçük Ekranlar (< 400px: iPhone SE, Galaxy A serisi vb.) */
@media (max-width: 400px) {
  .topbar-brand-text {
    font-size: 0.82rem !important;
  }
  .mobile-nav-item {
    padding: 0.25rem 0.35rem;
    font-size: 0.62rem;
  }
  .mobile-nav-fab {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .parasut-site-board {
    transform: scale(0.62);
  }
  .parasut-engineer-figure {
    width: 120px;
    height: 175px;
  }
}/* Daire ve Alıcı Kartı Kenarlık Stilleri */
.border-dashed {
  border-style: dashed !important;
}
.hover-elevate {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hover-elevate:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}


/* ========================================================
   LOGO ORANTILAMA VE MASAÜSTÜ/MOBİL ÇİFT BAŞLIK KORUMASI
   ======================================================== */
.parasut-logo-mark {
  display: inline-flex !important;
  align-items: center;
  position: relative;
  width: 38px !important;
  height: 26px !important;
  flex-shrink: 0 !important;
}


.parasut-logo-mark .circle-left {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background-color: #eb644c !important;
  position: absolute;
  left: 0;
  top: 2px;
  z-index: 1;
}


.parasut-logo-mark .circle-right {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background-color: #c93b2b !important;
  position: absolute;
  right: 0;
  top: 4px;
  z-index: 2;
  opacity: 0.92;
}


/* Masaüstünde Sidebar açıkken Topbar'daki ikincil logoyu gizle (Çift logo ve çakışmayı önler) */
@media (min-width: 992px) {
  body:not(.sidebar-collapsed) #topbar .brand-reload {
    display: none !important;
  }
}


/* Sidebar kapalıyken veya mobilde Topbar logosunu şık ve orantılı göster */
body.sidebar-collapsed #topbar .brand-reload,
@media (max-width: 991.98px) {
  #topbar .brand-reload {
    display: flex !important;
    align-items: center;
    text-decoration: none !important;
  }
}


/* ========================================================
   MODAL PROJE BAŞLIKLARI VE KOYU BANTTA YÜKSEK KONTRAST
   ======================================================== */
#projectDetailModal .modal-header,
.modal-header.bg-dark-corporate {
  background: linear-gradient(135deg, #1d1d4c 0%, #151538 100%) !important;
  border-bottom: 3px solid #eb644c !important;
}


#projectDetailModal .modal-header .modal-title,
#projectDetailModal .modal-header h3,
#projectDetailModal .modal-header h4,
#projectDetailModal .modal-header h5,
#projectDetailModal .modal-header strong {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}


/* ========================================================
   TÜM SAYFALARDA YATAY KAYMA (HORIZONTAL SCROLL/SHIFT)
   VE EKRANDAN TAŞMAYI ÖNLEYEN KAPSAMLI KURALLAR
   ======================================================== */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}


*, *::before, *::after {
  box-sizing: border-box;
}


#appWrapper {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
}


#main-wrapper {
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}


#viewContainer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}


/* Tabloların hiçbir ekranda dışarı taşmaması için güvenli taşma */
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}


/* Kartlar ve Flexbox içeriklerinin taşma koruması */
.card, .card-custom, .stat-card {
  min-width: 0;
  max-width: 100%;
}


.row {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}


.row > * {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}


/* ========================================================
   MOBİL, TABLET VE PC KAPSAMLI EKRAN ORANTILAMA MOTORU
   ======================================================== */


/* 1. SEKMELER (TABS) - Mobil & Tablette Yatay Kaydırma (Swipe) */
@media (max-width: 991.98px) {
  #settingsNavTabs,
  #reportsNavTabs,
  .nav-tabs.px-2,
  .nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 1.15rem !important;
    border-radius: 12px;
  }
  #settingsNavTabs::-webkit-scrollbar,
  #reportsNavTabs::-webkit-scrollbar,
  .nav-tabs::-webkit-scrollbar {
    display: none;
  }
  #settingsNavTabs .nav-item,
  #reportsNavTabs .nav-item,
  .nav-tabs .nav-item {
    flex-shrink: 0 !important;
  }
  #settingsNavTabs .nav-link,
  #reportsNavTabs .nav-link,
  .nav-tabs .nav-link {
    white-space: nowrap !important;
    padding: 0.65rem 0.95rem !important;
    font-size: 0.85rem !important;
  }
}


/* 2. SAYFA BAŞLIKLARI VE AKSİYON BUTONLARI (Mobilde Dikey Hizalama) */
@media (max-width: 767.98px) {
  .d-flex.flex-wrap.justify-content-between.align-items-center.mb-4 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }
  .d-flex.flex-wrap.justify-content-between.align-items-center.mb-4 > div:first-child h2 {
    font-size: 1.35rem !important;
    line-height: 1.25;
  }
  .d-flex.flex-wrap.justify-content-between.align-items-center.mb-4 > div:first-child p {
    font-size: 0.8rem !important;
  }
  .d-flex.flex-wrap.justify-content-between.align-items-center.mb-4 > div:last-child {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
  }
  .d-flex.flex-wrap.justify-content-between.align-items-center.mb-4 > div:last-child .btn {
    flex: 1 1 auto !important;
    text-align: center;
    font-size: 0.78rem !important;
    padding: 0.45rem 0.65rem !important;
    white-space: nowrap;
  }
}


/* 3. AYARLAR & FİRMA BİLGİLERİ MOBİL DOKUNMATİK ORANTILAMA */
@media (max-width: 767.98px) {
  #companySettingsForm .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
  }
  #companySettingsForm .form-control,
  #companySettingsForm textarea {
    min-height: 44px;
    font-size: 0.92rem;
    border-radius: 8px;
  }
  #companySettingsForm textarea {
    min-height: 72px;
  }
  #btnSaveCompanySettings {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
}


/* 4. TABLET EKRANLAR (768px - 1024px iPad & Android Tabletler) */
@media (min-width: 768px) and (max-width: 1024px) {
  .stat-card {
    padding: 1rem;
  }
  .stat-card .fs-4 {
    font-size: 1.25rem !important;
  }
  .quick-command-tile {
    padding: 0.85rem;
  }
  .qc-tile-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .card-custom .card-body {
    padding: 1.25rem;
  }
  .table-custom th, .table-custom td {
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
  }
}


/* 5. RESMİ A4 ÇIKTI ÖNİZLEMELERİ (HAKEDİŞ & CARİ EKSTRE) TAŞMA ÖNLEYİCİ */
@media (max-width: 767.98px) {
  .a4-official-sheet {
    padding: 12px !important;
    font-size: 11px !important;
    overflow-x: auto !important;
    border-radius: 8px;
  }
  .a4-official-sheet table {
    min-width: 580px !important;
  }
}


/* 6. MODERN TELEFONLARDA ÇENTİK VE ALT GESTURE BAR ALANI (SAFE-AREA-INSET) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-bottom-nav {
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  @media (max-width: 991.98px) {
    #main-wrapper {
      padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)) !important;
    }
  }
}


/* 7. GENİŞ PC VE MASAÜSTÜ MONİTÖRLER (>= 1200px) */
@media (min-width: 1200px) {
  .card-custom {
    border-radius: 14px;
  }
  .quick-command-tile:hover {
    transform: translateY(-3px);
  }
}

/* 8. AKILLI BİLDİRİM TİK / GİZLEME BUTONU */
.notif-check-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #22c55e !important;
  color: #16a34a !important;
  background-color: #f0fdf4 !important;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}
.notif-check-btn:hover {
  background-color: #16a34a !important;
  color: #ffffff !important;
  transform: scale(1.15) !important;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35) !important;
}
.notif-check-btn:active {
  transform: scale(0.92) !important;
}

/* ========================================================
   GELİŞMİŞ PATRON TAKVİMİ & CANLI FİNANSAL YEKÛN ROZETLERİ
   ======================================================== */
.day-total-badge {
  font-size: 0.64rem !important;
  font-weight: 800 !important;
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
  border-radius: 6px !important;
  padding: 1px 5px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  max-width: 65% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-shadow: 0 1px 2px rgba(185, 28, 28, 0.08) !important;
  display: inline-block !important;
}

.day-total-badge.paid {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #bbf7d0 !important;
  box-shadow: none !important;
}

.calendar-cell.today .day-number.badge {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.calendar-event-pill {
  font-size: 0.70rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.1px;
}

/* ========================================================
   TAM MOBİL & SAHA DOKUNMATİK ERGONOMİ MOTORU (NATIVE APP FEEL)
   - iOS & Android Çentik / Alt Çubuk (Safe-Area) Desteği
   - Mobilde Modalların "Bottom Sheet" (Alttan Açılan Çekmece) Dönüşümü
   - Safari Otomatik Yakınlaştırma (Auto-Zoom) Önleyici 16px Kuralı
   - Çift Sütunlu Kompakt Metrik Kartları (2'li Grid)
   - Dokunmatik Geri Bildirim (:active Ripple / Scale)
   - Tablolarda Akıllı Yatay Kaydırma & Yapışkan İlk Kolon
   ======================================================== */

@media (max-width: 767.98px) {
  /* 1. Alttan Açılan Modern Mobil Modal (Bottom Sheet Dialog) */
  .modal.fade .modal-dialog {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    transform: translateY(100%) !important;
    transition: transform 0.28s cubic-bezier(0.32, 1, 0.23, 1) !important;
    pointer-events: auto;
  }

  .modal.show .modal-dialog {
    transform: translateY(0) !important;
  }

  .modal-dialog .modal-content {
    border-radius: 22px 22px 0 0 !important;
    border: none !important;
    border-top: 1px solid rgba(235, 100, 76, 0.25) !important;
    box-shadow: 0 -8px 32px rgba(29, 29, 76, 0.24) !important;
    max-height: 88vh !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #ffffff;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  /* Modal Üst Tutamaç Çubuğu (Drag Handle) */
  .modal-dialog .modal-content::before {
    content: '';
    display: block;
    width: 44px;
    height: 4.5px;
    background-color: #cbd5e1;
    border-radius: 4px;
    margin: 10px auto 4px auto;
    flex-shrink: 0;
  }

  .modal-header {
    padding: 0.75rem 1.15rem 0.65rem 1.15rem !important;
    border-bottom: 1px solid #f1e4e0 !important;
    background-color: #ffffff;
    flex-shrink: 0;
  }

  .modal-header .modal-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
  }

  .modal-body {
    padding: 1rem 1.15rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }

  .modal-footer {
    padding: 0.75rem 1.15rem !important;
    background-color: #ffffff;
    border-top: 1px solid #f1e4e0 !important;
    flex-shrink: 0;
    display: flex !important;
    gap: 0.5rem !important;
  }

  .modal-footer .btn {
    flex: 1 1 auto !important;
    height: 46px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 2. iOS Safari İstenmeyen Zoom Engeli (16px Input & 46px Dokunma Alanı) */
  .form-control,
  .form-select,
  input[type="text"],
  input[type="number"],
  input[type="date"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important; /* iOS 16px altında otomatik sayfa zoomunu önler */
    min-height: 46px !important;
    border-radius: 10px !important;
    padding: 0.6rem 0.85rem !important;
  }

  textarea.form-control {
    min-height: 80px !important;
  }

  /* 3. Butonlarda Dokunmatik Geri Bildirim (Native Tap Ripple) */
  .btn,
  .quick-command-tile,
  .mobile-nav-item,
  .topbar-kpi-pill,
  .stat-card {
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease, opacity 0.12s ease;
  }

  .btn:active,
  .quick-command-tile:active,
  .mobile-nav-fab:active {
    transform: scale(0.96) !important;
    opacity: 0.9;
  }

  /* 4. Mobilde Metrik Kartları (Stat Cards) ve Logoların Kusursuz Yerleşimi */
  #viewContainer .row:has(.stat-card) > div[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 0.25rem !important;
  }

  .stat-card {
    padding: 0.65rem 0.55rem !important;
    border-radius: 12px !important;
    min-height: 82px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .stat-card .d-flex.justify-content-between {
    gap: 0.3rem !important;
    align-items: flex-start !important;
  }

  .stat-card .stat-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    font-size: 0.85rem !important;
    border-radius: 7px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .stat-card .stat-label {
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }

  .stat-card .stat-value {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .stat-card .stat-subtext {
    font-size: 0.60rem !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
    line-height: 1.2 !important;
  }

  /* 4B. 8'li Hızlı Komuta Kartları Logoları ve Yazıları */
  .quick-command-tile {
    padding: 0.6rem 0.5rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 78px !important;
  }

  .quick-command-tile .qc-tile-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    margin-bottom: 0.25rem !important;
    flex-shrink: 0 !important;
  }

  .quick-command-tile .small {
    font-size: 0.74rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    line-height: 1.2 !important;
  }

  .quick-command-tile .text-muted {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
  }

  /* 5. Mobilde Arama Çubuğu (Büyüteç) ve Filtrelerin Tam Sığdırılması */
  .table-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
  }

  .table-search-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    position: relative !important;
  }

  .table-search-box input {
    width: 100% !important;
    font-size: 16px !important; /* iOS Safari otomatik zoom koruması */
    height: 44px !important;
    min-height: 44px !important;
    padding-left: 2.5rem !important;
    padding-right: 0.85rem !important;
    border-radius: 12px !important;
    background-color: #fbf4f2 !important;
    border: 1px solid #eedfd9 !important;
    box-sizing: border-box !important;
  }

  .table-search-box i {
    position: absolute !important;
    left: 0.95rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1rem !important;
    color: #eb644c !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  /* Arama çubuğunun altındaki filtre dropdownları ve butonlar */
  .table-toolbar > div:not(.table-search-box) {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
  }

  .table-toolbar > div:not(.table-search-box) select,
  .table-toolbar > div:not(.table-search-box) .form-select,
  .table-toolbar > div:not(.table-search-box) button,
  .table-toolbar > div:not(.table-search-box) .btn {
    flex: 1 1 auto !important;
    min-width: 105px !important;
    height: 40px !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }

  /* Finans Kredi Kartı & KMH Kartları Mobilde Ferah Yerleşim */
  .card-item-col .row.g-2 > div[class*="col-"],
  .kmh-item-col .row.g-2 > div[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 0.25rem !important;
  }

  .card-item-col .fs-6,
  .kmh-item-col .fs-6 {
    font-size: 0.85rem !important;
    white-space: nowrap !important;
  }

  /* 6. Mobilde Tablo Kaydırma ve Okunabilirlik */
  .table-responsive {
    border-radius: 10px;
    border: 1px solid #ead8d3;
    background: #ffffff;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(29, 29, 76, 0.04);
  }

  .table-custom th,
  .table-custom td {
    padding: 0.65rem 0.6rem !important;
    font-size: 0.8rem !important;
  }

  .table-custom th:first-child,
  .table-custom td:first-child {
    font-weight: 700;
  }

  /* 6. Mobil Alt Navigasyon Barı (Apple Safe Area ve Mercan Çizgisi) */
  .mobile-bottom-nav {
    height: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 -4px 24px rgba(29, 29, 76, 0.12) !important;
  }

  .mobile-nav-item.active {
    color: #eb644c !important;
    position: relative;
  }

  .mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 18px;
    height: 3px;
    background: #eb644c;
    border-radius: 3px;
  }

  /* 7. Toast Bildirimlerini Mobilde Ekranın Üstüne Tam Oturt */
  .toast-container {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .toast {
    width: 100% !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(29, 29, 76, 0.18) !important;
  }

  /* 8. Hızlı Arama & Filtre Çubuğu Dokunma Genişliği */
  .input-group-search input {
    height: 44px;
    font-size: 0.88rem !important;
  }

  /* 9. Arama Sonuçları Açılır Paneli Mobilde Ekranı Taşmasın */
  .search-results-dropdown {
    width: calc(100vw - 20px) !important;
    left: 10px !important;
    right: 10px !important;
    max-height: 70vh !important;
  }

  /* 10. Alt Sekme Hapları (Cari Listesi / Ekstreler vb.) Mobilde Ekrana Tam Otursun */
  ul.nav-pills {
    width: 100% !important;
    display: flex !important;
    max-width: 100% !important;
  }

  ul.nav-pills .nav-item {
    flex: 1 1 50% !important;
  }

  ul.nav-pills .nav-link {
    width: 100% !important;
    text-align: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 11. Mobilde Kenar Menü Alt Başlıkları (Submenu Links) Rahat Dokunma Alanı */
  .sidebar-submenu {
    padding-left: 1.5rem !important;
  }
  .submenu-link {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.88rem !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* 12. Mobilde Topbar ve Şantiye ERP Başlığı Alan Optimizasyonu */
  #topbar {
    padding: 0 0.75rem !important;
  }
  .topbar-left {
    gap: 0.5rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .topbar-right {
    gap: 0.45rem !important;
    flex-shrink: 0 !important;
  }
  .topbar-brand-text {
    font-size: 0.92rem !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
  }
  #topbarSyncStatus {
    padding: 4px 6px !important;
    min-width: 24px !important;
    justify-content: center !important;
  }
}

/* ========================================================
   CANLI BİLDİRİM ZİLİ ANİMASYONU & TRAFİK IŞIĞI KARTLARI
   ======================================================== */
@keyframes bellSwing {
  0% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-14deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(6deg); }
  60% { transform: rotate(-6deg); }
  70% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

#btnNotificationBell.bell-ringing i {
  animation: bellSwing 2.2s infinite ease-in-out;
  transform-origin: top center;
  color: #dc2626 !important;
  display: inline-block;
}

#topbarNotificationBadge.badge-pulsing {
  animation: badgePulse 1.8s infinite;
}

.notif-card-item {
  border-radius: 12px;
  margin-bottom: 7px;
  padding: 8px 10px;
  transition: all 0.18s ease-in-out;
  border-left: 4px solid #cbd5e1 !important;
  background: #ffffff;
}

.notif-card-item:hover {
  background: #f8fafc;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.notif-card-item.urgency-urgent {
  border-left-color: #dc2626 !important;
  background: #fff5f5;
}

.notif-card-item.urgency-warning {
  border-left-color: #f59e0b !important;
  background: #fffbeb;
}

.notif-card-item.urgency-info {
  border-left-color: #3b82f6 !important;
  background: #f8fafc;
}

/* ===================================================
   YAPAY ZEKA FİŞ & FATURA TARAYICI (RECEIPT SCANNER)
   =================================================== */
.scanner-laser-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #3b82f6 50%, transparent 100%);
  box-shadow: 0 0 12px #3b82f6, 0 0 20px #60a5fa;
  animation: scanLaserAnim 2s ease-in-out infinite alternate;
  z-index: 10;
}

@keyframes scanLaserAnim {
  0% {
    top: 5%;
  }
  100% {
    top: 92%;
  }
}

.scanner-badge-ai {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #ffffff;
}









