/*
 * ExpoCRM — Kurumsal Tema
 * Ana renk: #032f63 | İkincil renk: #9a1925
 */

:root {
  /* Marka renkleri */
  --brand-primary: #032f63;
  --brand-primary-hover: #024a96;
  --brand-primary-dark: #021f42;
  --brand-primary-light: #e8eef5;
  --brand-primary-subtle: #d0dcea;
  --brand-secondary: #9a1925;
  --brand-secondary-hover: #7a1420;
  --brand-secondary-light: #fce8ea;

  /* Bootstrap override */
  --bs-primary: #032f63;
  --bs-primary-rgb: 3, 47, 99;
  --bs-secondary: #9a1925;
  --bs-secondary-rgb: 154, 25, 37;
  --bs-primary-text-emphasis: #021f42;
  --bs-primary-bg-subtle: #e8eef5;
  --bs-primary-border-subtle: #b3c5d9;
  --bs-secondary-text-emphasis: #7a1420;
  --bs-secondary-bg-subtle: #fce8ea;
  --bs-secondary-border-subtle: #e8b3b9;
  --bs-link-color: #032f63;
  --bs-link-hover-color: #024a96;
  --bs-body-bg: #f7f9fc;
  --bs-body-color: #5c6b7a;
  --bs-border-color: #e8edf2;
  --bs-heading-color: #2c3e50;

  /* UI token'ları */
  --crm-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --crm-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  --crm-shadow-lg: 0 4px 16px rgba(15, 23, 42, 0.08);
  --crm-radius: 0.5rem;
  --crm-radius-lg: 0.75rem;
  --crm-font-sm: 0.8125rem;
  --crm-font-xs: 0.75rem;
  --crm-transition: 0.2s ease;
}

/* ─── Genel tipografi ─── */
body {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color);
  font-size: 0.875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--bs-heading-color);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: 1.375rem; }
h2, .h2 { font-size: 1.2rem; }
h3, .h3 { font-size: 1.05rem; }
h4, .h4 { font-size: 0.95rem; }
h5, .h5 { font-size: 0.875rem; }
h6, .h6 { font-size: 0.8125rem; }

a {
  transition: color var(--crm-transition);
}

/* ─── Navbar — Aydınlık, sade ─── */
.bg-navbar-theme,
.layout-horizontal .layout-navbar {
  background: #fff !important;
  color: #5c6b7a !important;
  box-shadow: 0 1px 0 #e8edf2 !important;
  border-bottom: 1px solid #e8edf2 !important;
}

.bg-navbar-theme::after {
  display: none;
}

.bg-navbar-theme .navbar-brand,
.bg-navbar-theme .navbar-brand a,
.bg-navbar-theme .navbar-nav > .nav-link,
.bg-navbar-theme .navbar-nav > .nav-item > .nav-link,
.bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link {
  color: #5c6b7a !important;
}

.bg-navbar-theme .layout-menu-toggle .bx-menu {
  font-size: 1.5rem;
}

.bg-navbar-theme .navbar-nav > .nav-link,
.bg-navbar-theme .navbar-nav > .nav-item > .nav-link,
.bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.bg-navbar-theme .navbar-nav > .nav-link:hover,
.bg-navbar-theme .navbar-nav > .nav-item > .nav-link:hover,
.bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link:hover {
  color: var(--brand-primary) !important;
  background: var(--brand-primary-light);
}

.bg-navbar-theme .navbar-toggler {
  color: var(--brand-primary);
  border-color: #dde4ec;
}

.bg-navbar-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(3,47,99,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.bg-navbar-theme .badge-notifications {
  border: none;
  font-weight: 600;
  font-size: 0.6rem;
}

.bg-navbar-theme .badge.bg-danger {
  background: var(--brand-secondary) !important;
  color: #fff !important;
}

.bg-navbar-theme .badge.bg-warning {
  background: var(--brand-primary-light) !important;
  color: var(--brand-primary) !important;
}

.bg-navbar-theme .badge.bg-secondary {
  background: #eef1f5 !important;
  color: #6b7a8d !important;
}

.bg-navbar-theme .app-brand-logo {
  height: 28px;
}

.bg-navbar-theme .app-brand-logo img {
  filter: none;
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.bg-navbar-theme .avatar img {
  border: 2px solid #e8edf2;
  box-shadow: none;
}

/* ─── Navbar — kısayol, bildirim, profil ─── */
.crm-navbar-actions {
  gap: 0.5rem;
}

.crm-navbar-item > .nav-link {
  padding: 0 !important;
}

.crm-navbar-trigger {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 0.75rem;
  color: #6b7a8d !important;
  background: transparent;
  transition: all 0.2s ease;
}

.crm-navbar-trigger:hover,
.crm-navbar-trigger.show,
.crm-navbar-item.show > .crm-navbar-trigger {
  color: var(--brand-primary) !important;
  background: rgba(3, 47, 99, 0.07);
}

.crm-navbar-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

.crm-navbar-trigger--avatar {
  width: auto;
  height: auto;
  padding: 0.15rem !important;
  background: transparent !important;
}

.crm-navbar-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 2rem;
  border: 2px solid #fff;
}

.crm-navbar-badge--danger {
  color: #fff;
  background: var(--brand-secondary);
}

.crm-navbar-badge--primary {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.crm-navbar-badge--muted {
  color: #8a96a8;
  background: #eef1f5;
}

.crm-navbar-avatar {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e8edf2;
  box-shadow: 0 2px 6px rgba(3, 47, 99, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.crm-navbar-trigger:hover .crm-navbar-avatar,
.crm-navbar-item.show .crm-navbar-avatar {
  border-color: rgba(3, 47, 99, 0.2);
  box-shadow: 0 2px 10px rgba(3, 47, 99, 0.12);
}

.crm-navbar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}

.crm-navbar-avatar__status {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2d9d6f;
  border: 2px solid #fff;
}

.crm-navbar-avatar--lg {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.crm-navbar-dropdown {
  min-width: 19.5rem;
  margin-top: 0.55rem !important;
  padding: 0;
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(3, 47, 99, 0.12);
  overflow: hidden;
}

.crm-navbar-dropdown--shortcuts {
  min-width: 16.5rem;
}

.crm-navbar-dropdown--notifications {
  min-width: 24rem;
  max-width: min(24rem, calc(100vw - 1.5rem));
}

.crm-navbar-dropdown--profile {
  width: 17rem;
  max-width: min(17rem, calc(100vw - 1.5rem));
}

.crm-navbar-dropdown__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
}

.crm-navbar-dropdown__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
  margin-bottom: 0.3rem;
}

.crm-navbar-dropdown__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.3;
}

h6.crm-navbar-dropdown__title {
  font-size: 0.8125rem;
  margin: 0;
}

.crm-navbar-dropdown__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.6rem;
  color: #6b7a8d;
  background: rgba(3, 47, 99, 0.05);
  border: 1px solid rgba(3, 47, 99, 0.08);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 1.2rem;
}

.crm-navbar-dropdown__action:hover {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.1);
  border-color: rgba(3, 47, 99, 0.15);
}

.crm-navbar-dropdown__body {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crm-navbar-dropdown__footer {
  padding: 0.65rem 0.85rem;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(247, 249, 252, 0.85);
}

.crm-navbar-dropdown__load-more {
  display: block;
  width: 100%;
  padding: 0.65rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.crm-navbar-dropdown__load-more:hover {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.crm-navbar-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.crm-navbar-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.6rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
}

.crm-navbar-shortcut:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(3, 47, 99, 0.1);
}

.crm-navbar-shortcut__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.45rem;
  color: #fff;
}

.crm-navbar-shortcut--primary .crm-navbar-shortcut__icon {
  background: linear-gradient(135deg, var(--brand-primary), #054a8a);
}

.crm-navbar-shortcut--primary:hover {
  border-color: rgba(3, 47, 99, 0.18);
}

.crm-navbar-shortcut--accent .crm-navbar-shortcut__icon {
  background: linear-gradient(135deg, var(--brand-secondary), #7a1420);
}

.crm-navbar-shortcut--accent:hover {
  border-color: rgba(154, 25, 37, 0.18);
}

.crm-navbar-shortcut__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.crm-navbar-notifications {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}

.crm-navbar-notifications__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  color: #8a96a8;
  font-size: 0.8125rem;
}

.crm-navbar-notifications__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3, 47, 99, 0.06);
  color: #8a96a8;
  font-size: 1.25rem;
}

.crm-navbar-notification {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(3, 47, 99, 0.05);
  transition: background 0.2s ease;
}

.crm-navbar-notification:hover {
  background: rgba(3, 47, 99, 0.03);
}

.crm-navbar-notification--unread {
  background: linear-gradient(90deg, rgba(3, 47, 99, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

.crm-navbar-notification--unread .crm-navbar-notification__content strong {
  color: var(--brand-primary);
}

.crm-navbar-notification__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1rem;
}

.crm-navbar-notification__icon--primary {
  background: rgba(3, 47, 99, 0.1);
  color: var(--brand-primary);
}

.crm-navbar-notification__icon--success {
  background: rgba(45, 157, 111, 0.12);
  color: #2d9d6f;
}

.crm-navbar-notification__icon--warning {
  background: rgba(212, 136, 10, 0.12);
  color: #b45309;
}

.crm-navbar-notification__icon--info {
  background: rgba(13, 110, 138, 0.1);
  color: #0c6e8a;
}

.crm-navbar-notification__icon--neutral {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.crm-navbar-notification__content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.crm-navbar-notification__content strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a5568;
  line-height: 1.35;
}

.crm-navbar-notification__content span {
  font-size: 0.75rem;
  color: #6b7a8d;
  line-height: 1.4;
}

.crm-navbar-notification__content small {
  font-size: 0.6875rem;
  color: #9aa5b1;
}

.crm-navbar-profile__head {
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #054a8a 100%);
}

.crm-navbar-profile__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.crm-navbar-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.crm-navbar-profile__meta strong {
  font-size: 1rem;
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-navbar-profile__meta small {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-navbar-profile__divider {
  height: 1px;
  margin: 0;
  background: rgba(3, 47, 99, 0.06);
}

.crm-navbar-profile__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0.9rem 1.2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #5c6b7a;
  background: transparent;
  border: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.crm-navbar-profile__item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-navbar-profile__item i {
  font-size: 1.25rem;
  color: var(--brand-primary);
}

.crm-navbar-profile__item:hover {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.04);
}

.crm-navbar-profile__item--danger i {
  color: var(--brand-secondary);
}

.crm-navbar-profile__item--danger:hover {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
}

/* ─── Yatay Menü — Aydınlık ─── */
.bg-menu-theme {
  background: #fff !important;
  color: var(--bs-body-color);
  border-bottom: 1px solid #e8edf2;
  box-shadow: none;
}

.bg-menu-theme::before {
  display: none;
}

.bg-menu-theme .menu-link,
.bg-menu-theme .menu-horizontal-prev,
.bg-menu-theme .menu-horizontal-next {
  color: #6b7a8d !important;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.65rem 1rem !important;
  transition: all var(--crm-transition);
  border-radius: 0.5rem !important;
}

.bg-menu-theme .menu-link:hover {
  color: var(--brand-primary) !important;
  background-color: #f4f7fa !important;
}

.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle),
.bg-menu-theme.menu-horizontal .menu-inner > .menu-item.active > .menu-link {
  color: var(--brand-primary) !important;
  background: var(--brand-primary-light) !important;
  font-weight: 600;
  box-shadow: none;
}

.bg-menu-theme .menu-text {
  color: var(--brand-primary);
}

.bg-menu-theme .menu-icon {
  color: inherit;
  font-size: 1.25rem;
}

.bg-menu-theme .menu-sub {
  background: #fff;
  border-radius: var(--crm-radius);
  box-shadow: var(--crm-shadow-lg) !important;
  border: 1px solid var(--bs-border-color);
}

.bg-menu-theme .menu-sub > .menu-item > .menu-link:hover {
  color: var(--brand-primary) !important;
  background-color: var(--brand-primary-light) !important;
}

.bg-menu-theme .menu-sub > .menu-item.active > .menu-link {
  color: var(--brand-primary) !important;
  background-color: var(--brand-primary-light) !important;
  font-weight: 600;
}

.bg-menu-theme .menu-link.menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bg-menu-theme.menu-horizontal .menu-link.menu-toggle {
  padding-right: 2.25rem !important;
}

.bg-menu-theme.menu-horizontal .menu-inner > .menu-item > .menu-link.menu-toggle {
  padding-right: 2.5rem !important;
}

.bg-menu-theme.menu-horizontal .menu-item .menu-toggle::after {
  right: 0.75rem;
}

.bg-menu-theme.menu-horizontal .menu-inner > .menu-item > .menu-toggle::after {
  right: 0.875rem;
}

.bg-menu-theme .menu-item.active.open > .menu-link.menu-toggle {
  color: var(--brand-primary) !important;
  background: var(--brand-primary-light) !important;
  font-weight: 600;
}

/* ─── Butonlar ─── */
.btn {
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0;
  transition: all var(--crm-transition);
  border-radius: var(--crm-radius);
  padding: 0.4rem 0.875rem;
}

.btn-lg {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: #eef1f5;
  border-color: #dde4ec;
  color: #5c6b7a;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #e2e8f0;
  border-color: #cdd5df;
  color: var(--brand-primary);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.btn-outline-secondary {
  color: #6b7a8d;
  border-color: rgba(3, 47, 99, 0.15);
  background: rgba(255, 255, 255, 0.85);
}

.btn-outline-secondary:hover {
  color: var(--brand-primary);
  background: #fff;
  border-color: rgba(3, 47, 99, 0.22);
}

.btn-danger {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.btn-danger:hover {
  background-color: var(--brand-secondary-hover);
  border-color: var(--brand-secondary-hover);
}

/* ─── Kartlar ─── */
.card {
  border: 1px solid #e8edf2;
  border-radius: var(--crm-radius-lg);
  box-shadow: var(--crm-shadow-sm);
  background: #fff;
}

.card:hover {
  box-shadow: var(--crm-shadow);
}

.card-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #e8edf2;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--brand-primary);
  padding: 0.75rem 1rem;
}

.card-body {
  padding: 1rem;
}

/* ─── CRM UI Bileşenleri ─── */
.content-wrapper {
  background: #f7f9fc;
}

.container-p-y {
  padding-top: 1.25rem !important;
  padding-bottom: 1.5rem !important;
}

/* Sayfa başlığı — aydınlık */
.crm-page-header {
  background: #fff;
  border: 1px solid #e8edf2;
  border-left: 3px solid var(--brand-primary);
  border-radius: var(--crm-radius-lg);
  padding: 1rem 1.25rem;
  color: var(--bs-heading-color);
  box-shadow: var(--crm-shadow-sm);
}

.crm-page-header::after {
  display: none;
}

.crm-page-header__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 0.125rem;
}

.crm-page-header__subtitle {
  color: #8a96a8;
  font-size: 0.8125rem;
}

.crm-page-header__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-primary);
}

.crm-page-header__stat-label {
  color: #8a96a8;
  font-size: 0.75rem;
}

/* Dashboard karşılama — creative */
.crm-welcome-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 45%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
}

.crm-welcome-banner__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-welcome-banner__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}

.crm-welcome-banner__blob--1 {
  width: 180px;
  height: 180px;
  top: -60px;
  right: 8%;
  background: rgba(3, 47, 99, 0.12);
}

.crm-welcome-banner__blob--2 {
  width: 140px;
  height: 140px;
  bottom: -50px;
  left: 35%;
  background: rgba(154, 25, 37, 0.08);
}

.crm-welcome-banner__grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(3, 47, 99, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
  opacity: 0.6;
}

.crm-welcome-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: 1.25rem 1.5rem;
}

.crm-welcome-banner__profile {
  position: relative;
  flex-shrink: 0;
}

.crm-welcome-banner__avatar-ring {
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #4a8cc7 50%, var(--brand-secondary) 100%);
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.15);
}

.crm-welcome-banner__avatar-ring img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  border-radius: 50%;
}

.crm-welcome-banner__status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #2d9d6f;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(45, 157, 111, 0.25);
}

.crm-welcome-banner__content {
  flex: 1;
  min-width: 200px;
}

.crm-welcome-banner__greeting {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  margin-bottom: 0.35rem;
}

.crm-welcome-banner__title {
  color: var(--bs-heading-color);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
}

.crm-welcome-banner__title strong {
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-welcome-banner__text {
  color: #6b7a8d;
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 480px;
}

.crm-welcome-banner__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #8a96a8;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e8edf2;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  backdrop-filter: blur(4px);
}

.crm-welcome-banner__meta i {
  color: var(--brand-primary);
  font-size: 0.875rem;
}

.crm-welcome-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

.crm-welcome-banner__chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e8edf2;
  border-radius: 2rem;
  text-decoration: none;
  color: var(--bs-heading-color);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.04);
}

.crm-welcome-banner__chip:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary-subtle);
  box-shadow: 0 6px 16px rgba(3, 47, 99, 0.1);
  color: var(--brand-primary);
}

.crm-welcome-banner__chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.crm-welcome-banner__chip-icon--primary {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.crm-welcome-banner__chip-icon--secondary {
  background: var(--brand-secondary-light);
  color: var(--brand-secondary);
}

.crm-welcome-banner__chip-label {
  padding-right: 0.15rem;
}

@media (max-width: 767.98px) {
  .crm-welcome-banner__inner {
    padding: 1rem;
  }

  .crm-welcome-banner__actions {
    width: 100%;
    margin-left: 0;
  }

  .crm-welcome-banner__chip {
    flex: 1;
    justify-content: center;
    min-width: calc(50% - 0.25rem);
  }
}

/* İstatistik paneli — welcome uyumlu */
.crm-stats-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
  padding: 1.25rem 1.25rem 1rem;
}

.crm-stats-panel__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-stats-panel__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
}

.crm-stats-panel__blob--1 {
  width: 160px;
  height: 160px;
  top: -40px;
  left: -30px;
  background: rgba(3, 47, 99, 0.1);
}

.crm-stats-panel__blob--2 {
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: 5%;
  background: rgba(154, 25, 37, 0.07);
}

.crm-stats-panel__header {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.crm-stats-panel__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-secondary);
  background: rgba(154, 25, 37, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  margin-bottom: 0.4rem;
}

.crm-stats-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
}

.crm-stats-panel__subtitle {
  font-size: 0.8125rem;
  color: #8a96a8;
}

.crm-stats-panel__grid {
  position: relative;
  z-index: 1;
}

/* İstatistik kartları */
.crm-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(3, 47, 99, 0.05);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.crm-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(3, 47, 99, 0.1);
  border-color: rgba(3, 47, 99, 0.12);
}

.crm-stat-card--selector {
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(232,238,245,0.6) 100%);
  border-color: rgba(3, 47, 99, 0.12);
}

.crm-stat-card .card-body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.crm-stat-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crm-stat-card__icon-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
}

.crm-stat-card__icon-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.crm-stat-card__icon-ring--primary {
  background: linear-gradient(135deg, var(--brand-primary-light), #fff);
  color: var(--brand-primary);
  border: 1px solid rgba(3, 47, 99, 0.1);
}

.crm-stat-card__icon-ring--secondary {
  background: linear-gradient(135deg, var(--brand-secondary-light), #fff);
  color: var(--brand-secondary);
  border: 1px solid rgba(154, 25, 37, 0.1);
}

.crm-stat-card__icon-ring--info {
  background: linear-gradient(135deg, #e6f4f8, #fff);
  color: #0e7c9e;
  border: 1px solid rgba(14, 124, 158, 0.1);
}

.crm-stat-card__icon-ring--warning {
  background: linear-gradient(135deg, #fef6e8, #fff);
  color: #d4880a;
  border: 1px solid rgba(212, 136, 10, 0.1);
}

.crm-stat-card__icon-ring--success {
  background: linear-gradient(135deg, #e8f5ee, #fff);
  color: #2d9d6f;
  border: 1px solid rgba(45, 157, 111, 0.1);
}

.crm-stat-card__icon-ring--accent {
  background: linear-gradient(135deg, #f0e8f5, #fff);
  color: #7a3d8f;
  border: 1px solid rgba(122, 61, 143, 0.1);
}

.crm-stat-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7a8d;
  line-height: 1.3;
  text-align: left;
}

.crm-stat-card__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
  margin-top: auto;
  padding-left: 0.15rem;
}

.crm-stat-card__loader {
  color: var(--brand-primary) !important;
}

.crm-stat-card__select {
  border-color: rgba(3, 47, 99, 0.15);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  margin-top: auto;
}

.crm-stat-card__select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(3, 47, 99, 0.1);
}

@media (max-width: 575.98px) {
  .crm-stats-panel {
    padding: 1rem;
  }

  .crm-stat-card__value {
    font-size: 1.15rem;
  }
}

/* Kart başlıkları — aydınlık, sade */
.crm-card-header {
  background: #f8fafc !important;
  color: var(--brand-primary) !important;
  border-bottom: 1px solid #e8edf2 !important;
  padding: 0.65rem 1rem;
  border-radius: 0;
}

.crm-card-header h5,
.crm-card-header .mb-0 {
  color: var(--brand-primary) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  margin: 0;
}

.crm-card-header i {
  font-size: 1rem;
  opacity: 0.85;
}

.crm-card-header--soft {
  background: #f8fafc !important;
  color: var(--brand-primary) !important;
  border-bottom: 1px solid #e8edf2;
}

/* Araç çubuğu */
.crm-toolbar {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 1rem;
  padding: 0.75rem 0.875rem;
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.05);
  margin-bottom: 1.25rem;
}

.crm-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.crm-toolbar__action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.crm-toolbar__action--primary {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.2);
}

.crm-toolbar__action--primary:hover {
  color: #fff;
  background: #02407a;
  border-color: #02407a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.25);
}

.crm-toolbar__action-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.crm-toolbar__action--primary .crm-toolbar__action-icon {
  background: rgba(255, 255, 255, 0.15);
}

.crm-toolbar__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.crm-toolbar__form .crm-toolbar__select-wrap {
  flex: 0 1 180px;
  min-width: 140px;
  max-width: 200px;
}

.crm-toolbar__form .crm-toolbar__select-wrap .crm-toolbar__select {
  width: 100%;
}

.crm-toolbar__search {
  position: relative;
  flex: 1;
  min-width: 180px;
}

.crm-toolbar__search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8a96a8;
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

.crm-toolbar__input {
  width: 100%;
  height: 38px;
  padding: 0.4rem 0.85rem 0.4rem 2.35rem;
  font-size: 0.8125rem;
  color: var(--bs-body-color);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.crm-toolbar__input::placeholder {
  color: #a8b2c0;
}

.crm-toolbar__input:focus {
  outline: none;
  border-color: rgba(3, 47, 99, 0.25);
  box-shadow: 0 0 0 3px rgba(3, 47, 99, 0.08);
  background: #fff;
}

.crm-toolbar__select {
  width: 100%;
  height: 38px;
  padding: 0.4rem 2.1rem 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4a5568;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238a96a8'%3e%3cpath d='M1.5 5.5 8 11l6.5-5.5' stroke='%238a96a8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem;
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 2rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.crm-toolbar__select:hover {
  border-color: rgba(3, 47, 99, 0.18);
  background-color: #fff;
}

.crm-toolbar__select:focus {
  outline: none;
  border-color: rgba(3, 47, 99, 0.25);
  box-shadow: 0 0 0 3px rgba(3, 47, 99, 0.08);
  background-color: #fff;
}

.crm-toolbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 38px;
  padding: 0 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.crm-toolbar__btn--primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  border-color: rgba(3, 47, 99, 0.12);
}

.crm-toolbar__btn--primary:hover {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.crm-toolbar__btn--ghost {
  color: #8a96a8;
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(3, 47, 99, 0.1);
}

.crm-toolbar__btn--ghost:hover {
  color: var(--brand-primary);
  background: #fff;
  border-color: rgba(3, 47, 99, 0.18);
}

.crm-toolbar__btn--danger {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.18);
}

.crm-toolbar__btn--danger:hover {
  color: #fff;
  background: #dc2626;
  border-color: #dc2626;
}

.crm-toolbar__btn--sm {
  height: 32px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.crm-toolbar__btn--icon {
  width: 32px;
  height: 32px;
  padding: 0;
}

.crm-toolbar__action--danger {
  color: #fff;
  background: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.crm-toolbar__action--danger:hover {
  color: #fff;
  background: #b91c1c;
  border-color: #b91c1c;
}

.crm-toolbar__action--danger .crm-toolbar__action-icon {
  background: rgba(255, 255, 255, 0.15);
}

button.crm-toolbar__action,
button.crm-toolbar__btn {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

button.crm-toolbar__btn:disabled,
button.crm-toolbar__action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.crm-toolbar--filters {
  padding: 0.875rem 1rem;
}

.crm-toolbar--filters .form-label {
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}

.crm-toolbar--filters .form-select,
.crm-toolbar--filters .crm-toolbar__select,
.crm-toolbar--filters .crm-toolbar__input {
  min-height: 38px;
}

.crm-toolbar__actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  height: 38px;
}

.crm-toolbar__actions .crm-toolbar__btn {
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.crm-toolbar__btn--accent {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(3, 47, 99, 0.18);
}

.crm-toolbar__btn--accent:hover {
  color: #fff;
  background: #02407a;
  border-color: #02407a;
}

.crm-toolbar--compact {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0;
}

.crm-toolbar--compact .crm-toolbar__inner {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.crm-toolbar--compact .crm-toolbar__form {
  flex: 1;
  min-width: 200px;
  align-items: center;
  gap: 0.5rem;
}

.crm-toolbar__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  white-space: nowrap;
  margin: 0;
}

.crm-toolbar--compact .crm-toolbar__select {
  min-width: 180px;
  flex: 1;
}

.crm-toolbar--compact .crm-toolbar__actions {
  height: auto;
}

@media (max-width: 575.98px) {
  .crm-toolbar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .crm-toolbar__action {
    justify-content: center;
  }

  .crm-toolbar__form {
    width: 100%;
  }

  .crm-toolbar__search {
    width: 100%;
    min-width: 0;
  }

  .crm-toolbar__form .crm-toolbar__select-wrap {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }
}

/* Liste kartları — entity grid */
.crm-entity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.crm-entity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(3, 47, 99, 0.1);
}

.crm-entity-card__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-entity-card__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.4;
}

.crm-entity-card__blob--1 {
  width: 120px;
  height: 120px;
  top: -40px;
  right: -20px;
  background: rgba(3, 47, 99, 0.1);
}

.crm-entity-card__body {
  position: relative;
  z-index: 1;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.crm-entity-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.crm-entity-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-primary-light), #fff);
  color: var(--brand-primary);
  border: 1px solid rgba(3, 47, 99, 0.1);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
  overflow: hidden;
}

.crm-entity-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crm-entity-card__avatar i {
  font-size: 1.15rem;
}

.crm-entity-card__extra {
  font-size: 0.7rem;
  color: #8a96a8;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.crm-entity-card__extra span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.crm-entity-card__extra i {
  color: var(--brand-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.crm-entity-card__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
}

.crm-entity-card__status--success { background: #2d9d6f; }
.crm-entity-card__status--danger { background: var(--brand-secondary); }
.crm-entity-card__status--warning { background: #d4880a; }
.crm-entity-card__status--info { background: #0e7c9e; }

.crm-entity-card__id-badge {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 2rem;
  flex-shrink: 0;
}

.crm-entity-card__id-badge--success { color: #2d9d6f; background: rgba(45, 157, 111, 0.1); }
.crm-entity-card__id-badge--danger { color: var(--brand-secondary); background: var(--brand-secondary-light); }
.crm-entity-card__id-badge--warning { color: #d4880a; background: rgba(212, 136, 10, 0.1); }
.crm-entity-card__id-badge--info { color: #0e7c9e; background: rgba(14, 124, 158, 0.1); }

.crm-entity-card__details {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(3, 47, 99, 0.06);
  border-radius: 0.65rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.crm-entity-card__detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.05);
  font-size: 0.75rem;
}

.crm-entity-card__detail-row:last-child {
  border-bottom: none;
}

.crm-entity-card__detail-icon {
  width: 24px;
  height: 24px;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.crm-entity-card__detail-icon--primary { background: var(--brand-primary-light); color: var(--brand-primary); }
.crm-entity-card__detail-icon--info { background: #e6f4f8; color: #0e7c9e; }
.crm-entity-card__detail-icon--success { background: #e8f5ee; color: #2d9d6f; }
.crm-entity-card__detail-icon--warning { background: #fef6e8; color: #d4880a; }

.crm-entity-card__detail-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
  line-height: 1.2;
}

.crm-entity-card__detail-value {
  display: block;
  font-weight: 600;
  color: #4a5568;
  line-height: 1.3;
}

.crm-entity-card__detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
}

.crm-stat-card__progress {
  height: 5px;
  background: rgba(3, 47, 99, 0.08);
  border-radius: 3rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.crm-stat-card__progress-bar {
  height: 100%;
  border-radius: 3rem;
  transition: width 0.4s ease;
}

.crm-stat-card__progress-bar--primary { background: var(--brand-primary); }
.crm-stat-card__progress-bar--success { background: #2d9d6f; }
.crm-stat-card__progress-bar--danger { background: var(--brand-secondary); }
.crm-stat-card__progress-bar--warning { background: #d4880a; }

/* Form bölümleri */
.crm-form-section {
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  overflow: hidden;
}

.crm-form-section__header {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-form-section__header i {
  margin-right: 0.35rem;
}

.crm-form-section__body {
  padding: 0.85rem;
}

.crm-form-section__field-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
  margin-bottom: 0.15rem;
}

.crm-form-section__field-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a5568;
  margin: 0;
}

/* Sözleşme modal */
.crm-contract-modal .modal-content {
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(3, 47, 99, 0.15);
}

.crm-contract-modal .modal-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0a4a8a 100%);
  color: #fff;
  border: none;
  padding: 1.15rem 1.25rem;
}

.crm-contract-modal .modal-header .modal-title,
.crm-contract-modal .modal-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff !important;
}

.crm-contract-modal .modal-header .modal-title i,
.crm-contract-modal .modal-header h4 i {
  color: #fff !important;
}

.crm-contract-modal .modal-header .text-muted,
.crm-contract-modal .modal-header p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.crm-contract-modal .modal-header .btn-close {
  filter: none;
  opacity: 0.9;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 0.65rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  background-size: 0.75rem;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.crm-contract-modal .modal-header .btn-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.25);
}

.crm-contract-modal {
  z-index: 1100 !important;
}

.crm-contract-modal .modal-dialog {
  margin: 1.75rem auto;
}

.crm-contract-modal .modal-dialog-centered {
  min-height: calc(100% - 3.5rem);
}

body.modal-open .modal-backdrop {
  z-index: 1099 !important;
}

.crm-contract-type-card {
  cursor: pointer;
  width: 100%;
  border: 1px solid rgba(3, 47, 99, 0.1) !important;
  border-radius: 0.75rem !important;
  padding: 1.15rem 0.75rem !important;
  text-align: center;
  background: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.2s ease;
}

.crm-contract-type-card:hover {
  border-color: rgba(3, 47, 99, 0.25) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 47, 99, 0.1);
}

.crm-contract-type-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.crm-contract-type-card__icon--primary {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.crm-contract-type-card__icon--success {
  background: #e8f5ee;
  color: #2d9d6f;
}

.crm-contract-type-card__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.15rem;
}

.crm-contract-type-card__desc {
  font-size: 0.7rem;
  color: #8a96a8;
}

.crm-entity-card__info {
  flex: 1;
  min-width: 0;
}

.crm-entity-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.crm-entity-card__title a {
  color: inherit;
  text-decoration: none;
}

.crm-entity-card__title a:hover {
  color: var(--brand-secondary);
}

.crm-entity-card__badge {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
}

.crm-entity-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(3, 47, 99, 0.06);
  border-radius: 0.65rem;
  margin-bottom: 0.85rem;
}

.crm-entity-card__meta-item {
  font-size: 0.7rem;
  color: #8a96a8;
}

.crm-entity-card__meta-item i {
  color: var(--brand-primary);
  margin-right: 0.2rem;
}

.crm-entity-card__meta-item strong {
  color: #4a5568;
}

.crm-entity-card__actions {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  margin: auto -1.15rem -1.15rem;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(3, 47, 99, 0.07);
  backdrop-filter: blur(6px);
}

.crm-entity-card__actions form,
.crm-entity-row__actions form {
  display: flex;
  margin: 0;
  flex-shrink: 0;
}

.crm-entity-card__actions .btn,
.crm-entity-row__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 34px;
  padding: 0.42rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0.65rem !important;
  border: 1px solid transparent;
  box-shadow: none !important;
  transition: all var(--crm-transition);
  white-space: nowrap;
}

.crm-entity-card__actions .btn.flex-fill,
.crm-entity-row__actions .btn.flex-fill {
  flex: 1;
  min-width: 0;
}

.crm-entity-card__actions .btn i,
.crm-entity-row__actions .btn i {
  font-size: 0.95rem;
  line-height: 1;
}

.crm-entity-card__actions .btn-outline-primary,
.crm-entity-row__actions .btn-outline-primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-entity-card__actions .btn-outline-primary:hover,
.crm-entity-card__actions .btn-outline-primary:focus,
.crm-entity-card__actions .btn-outline-primary:active,
.crm-entity-row__actions .btn-outline-primary:hover,
.crm-entity-row__actions .btn-outline-primary:focus,
.crm-entity-row__actions .btn-outline-primary:active {
  color: #fff !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.18) !important;
  transform: translateY(-1px);
}

.crm-entity-card__actions .btn-outline-secondary,
.crm-entity-row__actions .btn-outline-secondary {
  color: #6b7a8d;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-entity-card__actions .btn-outline-secondary:hover,
.crm-entity-card__actions .btn-outline-secondary:focus,
.crm-entity-card__actions .btn-outline-secondary:active,
.crm-entity-row__actions .btn-outline-secondary:hover,
.crm-entity-row__actions .btn-outline-secondary:focus,
.crm-entity-row__actions .btn-outline-secondary:active {
  color: var(--brand-primary) !important;
  background: #fff !important;
  border-color: rgba(3, 47, 99, 0.18) !important;
  box-shadow: 0 3px 10px rgba(3, 47, 99, 0.08) !important;
  transform: translateY(-1px);
}

.crm-entity-card__actions .btn-outline-danger,
.crm-entity-row__actions .btn-outline-danger {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border-color: rgba(154, 25, 37, 0.14) !important;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  min-width: 34px;
}

.crm-entity-card__actions .btn-outline-danger:hover,
.crm-entity-card__actions .btn-outline-danger:focus,
.crm-entity-card__actions .btn-outline-danger:active,
.crm-entity-row__actions .btn-outline-danger:hover,
.crm-entity-row__actions .btn-outline-danger:focus,
.crm-entity-row__actions .btn-outline-danger:active {
  color: #fff !important;
  background: var(--brand-secondary) !important;
  border-color: var(--brand-secondary) !important;
  box-shadow: 0 4px 12px rgba(154, 25, 37, 0.2) !important;
  transform: translateY(-1px);
}

.crm-entity-card:hover .crm-entity-card__actions .btn-outline-primary:not(:hover) {
  border-color: rgba(3, 47, 99, 0.14) !important;
}

/* Liste satırı — events vb. */
.crm-entity-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.crm-entity-row {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 2px 12px rgba(3, 47, 99, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.crm-entity-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3, 47, 99, 0.08);
}

.crm-entity-row__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-entity-row__blob {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -40px;
  right: -20px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  background: rgba(3, 47, 99, 0.1);
}

.crm-entity-row__avatar {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-primary-light), #fff);
  color: var(--brand-primary);
  border: 1px solid rgba(3, 47, 99, 0.1);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
}

.crm-entity-row__main {
  position: relative;
  z-index: 1;
  flex: 1 1 180px;
  min-width: 0;
}

.crm-entity-row__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.crm-entity-row__title a {
  color: inherit;
  text-decoration: none;
}

.crm-entity-row__title a:hover {
  color: var(--brand-secondary);
}

.crm-entity-row__badge {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.12rem 0.5rem;
  border-radius: 2rem;
}

.crm-entity-row__badge--muted {
  color: #6b7a8d;
  background: rgba(107, 122, 141, 0.1);
}

.crm-entity-row__avatar--accent {
  background: linear-gradient(135deg, var(--brand-secondary-light), #fff);
  color: var(--brand-secondary);
  border-color: rgba(154, 25, 37, 0.12);
  font-size: 1.1rem;
}

.crm-permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}

.crm-permission-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.crm-permission-item:hover {
  border-color: rgba(3, 47, 99, 0.18);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.06);
}

.crm-permission-item:has(input:checked) {
  border-color: rgba(3, 47, 99, 0.22);
  background: var(--brand-primary-light);
  box-shadow: 0 2px 10px rgba(3, 47, 99, 0.08);
}

.crm-permission-item .form-check-input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.crm-permission-item__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4a5568;
  line-height: 1.35;
  word-break: break-word;
}

.crm-permission-item:has(input:checked) .crm-permission-item__label {
  color: var(--brand-primary);
  font-weight: 600;
}

.crm-entity-row__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.crm-entity-row__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  border-radius: 2rem;
  line-height: 1.2;
}

.crm-entity-row__status i {
  font-size: 0.75rem;
}

.crm-entity-row__status--past {
  color: #6b7280;
  background: rgba(107, 114, 128, 0.12);
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.crm-entity-row__status--active {
  color: #1f6b4a;
  background: rgba(45, 157, 111, 0.12);
  border: 1px solid rgba(45, 157, 111, 0.2);
}

.crm-entity-row__status--upcoming {
  color: #b45309;
  background: rgba(212, 136, 10, 0.12);
  border: 1px solid rgba(212, 136, 10, 0.2);
}

/* Durum rozetleri — kart, tablo, modal */
.crm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  line-height: 1.2;
  white-space: nowrap;
}

.crm-status-badge i {
  font-size: 0.75rem;
}

.crm-status-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.crm-status-badge--paid {
  color: #1f6b4a;
  background: rgba(45, 157, 111, 0.12);
  border: 1px solid rgba(45, 157, 111, 0.2);
}

.crm-status-badge--unpaid {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border: 1px solid rgba(154, 25, 37, 0.18);
}

.crm-status-badge--overdue {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border: 1px solid rgba(154, 25, 37, 0.18);
}

.crm-status-badge--due-soon {
  color: #1f6b4a;
  background: rgba(45, 157, 111, 0.1);
  border: 1px solid rgba(45, 157, 111, 0.18);
}

.crm-status-badge--primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.1);
  border: 1px solid rgba(3, 47, 99, 0.15);
}

.crm-status-badge--warning {
  color: #b45309;
  background: rgba(212, 136, 10, 0.12);
  border: 1px solid rgba(212, 136, 10, 0.2);
}

.crm-status-badge--info {
  color: #0c6e8a;
  background: rgba(13, 110, 138, 0.1);
  border: 1px solid rgba(13, 110, 138, 0.18);
}

.crm-status-badge--neutral {
  color: #5c6b7a;
  background: rgba(107, 114, 128, 0.1);
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.crm-status-badge--bank-halk {
  color: #fff;
  background: #005092;
  border: 1px solid #004078;
}

.crm-status-badge--bank-teb {
  color: #fff;
  background: #01854c;
  border: 1px solid #016b3d;
}

.crm-stat-card .crm-status-badges {
  margin-top: 0.35rem;
}

.crm-payments-table .crm-status-badge {
  font-size: 0.62rem;
  padding: 0.18rem 0.5rem;
}

.crm-contract-modal .crm-status-badge {
  font-size: 0.68rem;
}

/* Modal işlem seçimi — chip butonlar */
.crm-choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crm-choice-chip {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.crm-choice-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.crm-choice-chip__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5c6b7a;
  background: #fff;
  border: 1px solid rgba(3, 47, 99, 0.12);
  border-radius: 2rem;
  padding: 0.4rem 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(3, 47, 99, 0.04);
}

.crm-choice-chip__label i {
  font-size: 0.9rem;
}

.crm-choice-chip:hover .crm-choice-chip__label {
  border-color: rgba(3, 47, 99, 0.22);
  background: rgba(3, 47, 99, 0.03);
  color: var(--brand-primary);
}

.crm-choice-chip input:checked + .crm-choice-chip__label {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), #054a8a);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.2);
}

.crm-choice-chip input:focus-visible + .crm-choice-chip__label {
  outline: 2px solid rgba(3, 47, 99, 0.25);
  outline-offset: 2px;
}

.crm-choice-chip--warning input:checked + .crm-choice-chip__label {
  color: #7c4a03;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: rgba(212, 136, 10, 0.35);
  box-shadow: 0 2px 8px rgba(212, 136, 10, 0.15);
}

.crm-choice-chip--danger input:checked + .crm-choice-chip__label {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-secondary), #7a1420);
  border-color: var(--brand-secondary);
  box-shadow: 0 2px 8px rgba(154, 25, 37, 0.2);
}

.crm-choice-chip--success input:checked + .crm-choice-chip__label {
  color: #fff;
  background: linear-gradient(135deg, #2d9d6f, #248f63);
  border-color: #2d9d6f;
  box-shadow: 0 2px 8px rgba(45, 157, 111, 0.2);
}

.crm-choice-chip--info input:checked + .crm-choice-chip__label {
  color: #0c6e8a;
  background: linear-gradient(135deg, #e0f4fa, #b8e6f5);
  border-color: rgba(13, 110, 138, 0.3);
  box-shadow: 0 2px 8px rgba(13, 110, 138, 0.12);
}

#bankHalk:checked + .crm-choice-chip__label {
  color: #fff;
  background: #005092;
  border-color: #004078;
  box-shadow: 0 2px 8px rgba(0, 80, 146, 0.25);
}

#bankTeb:checked + .crm-choice-chip__label {
  color: #fff;
  background: #01854c;
  border-color: #016b3d;
  box-shadow: 0 2px 8px rgba(1, 133, 76, 0.25);
}

.crm-entity-row--past {
  background: linear-gradient(145deg, #f8f9fb 0%, #f3f4f6 55%, #f5f5f7 100%);
  border-color: rgba(107, 114, 128, 0.12);
  opacity: 0.92;
}

.crm-entity-row--past:hover {
  opacity: 1;
}

.crm-entity-row--past .crm-entity-row__blob {
  background: rgba(107, 114, 128, 0.08);
}

.crm-entity-row--past .crm-entity-row__avatar {
  background: linear-gradient(135deg, #eef0f3, #f8f9fb);
  color: #8a96a8;
  border-color: rgba(107, 114, 128, 0.12);
  box-shadow: none;
}

.crm-entity-row--past .crm-entity-row__title,
.crm-entity-row--past .crm-entity-row__title a {
  color: #6b7280;
}

.crm-entity-row--past .crm-entity-row__meta-item i {
  color: #9ca3af;
}

.crm-entity-row--past .crm-entity-row__meta-item strong {
  color: #6b7280;
}

.crm-entity-row--active .crm-entity-row__blob {
  background: rgba(45, 157, 111, 0.12);
}

.crm-entity-row--paid {
  background: linear-gradient(145deg, #f4fbf7 0%, #eaf6ef 55%, #f8fbff 100%);
  border-color: rgba(45, 157, 111, 0.2);
  border-left: 4px solid #2d9d6f;
  box-shadow: inset 4px 0 0 #2d9d6f;
}

.crm-entity-row--paid .crm-entity-row__blob {
  background: rgba(45, 157, 111, 0.14);
}

.crm-entity-row--paid .crm-entity-row__avatar--finance {
  background: linear-gradient(135deg, #d4eddf, #fff);
  color: #2d9d6f;
  border-color: rgba(45, 157, 111, 0.25);
  box-shadow: 0 2px 8px rgba(45, 157, 111, 0.15);
}

.crm-entity-row--paid .crm-entity-row__title,
.crm-entity-row--paid .crm-entity-row__title a {
  color: #1f6b4a;
}

.crm-entity-row--unpaid {
  background: linear-gradient(145deg, #fff8f8 0%, #fef5f5 55%, #fff9fa 100%);
  border-color: rgba(154, 25, 37, 0.12);
  border-left: 4px solid rgba(154, 25, 37, 0.45);
  box-shadow: inset 4px 0 0 rgba(154, 25, 37, 0.45);
}

.crm-entity-row--unpaid .crm-entity-row__blob {
  background: rgba(154, 25, 37, 0.08);
}

.crm-entity-row--unpaid .crm-entity-row__avatar--finance {
  background: linear-gradient(135deg, #fce8ea, #fff);
  color: var(--brand-secondary);
  border-color: rgba(154, 25, 37, 0.2);
}

.crm-entity-row--unpaid .crm-entity-row__title,
.crm-entity-row--unpaid .crm-entity-row__title a {
  color: #7a1420;
}

.crm-entity-row--overdue {
  background: linear-gradient(145deg, #fff5f5 0%, #feeaea 55%, #fff8f8 100%);
  border-color: rgba(154, 25, 37, 0.22);
  border-left: 4px solid var(--brand-secondary);
  box-shadow: inset 4px 0 0 var(--brand-secondary);
}

.crm-entity-row--overdue .crm-entity-row__blob {
  background: rgba(154, 25, 37, 0.1);
}

.crm-entity-row--overdue .crm-entity-row__avatar--finance {
  background: linear-gradient(135deg, #fce8ea, #fff);
  color: var(--brand-secondary);
  border-color: rgba(154, 25, 37, 0.15);
}

.crm-entity-row--due-today {
  background: linear-gradient(145deg, #fffbeb 0%, #fef9f0 55%, #fff9fa 100%);
  border-color: rgba(212, 136, 10, 0.2);
}

.crm-entity-row--due-today .crm-entity-row__blob {
  background: rgba(212, 136, 10, 0.12);
}

.crm-entity-row--due-today .crm-entity-row__avatar--finance {
  background: linear-gradient(135deg, #fef6e8, #fff);
  color: #d4880a;
  border-color: rgba(212, 136, 10, 0.2);
}

.crm-entity-row__avatar--finance {
  font-size: 1.15rem;
}

.crm-entity-row__status--overdue {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border: 1px solid rgba(154, 25, 37, 0.18);
}

.crm-entity-row__meta-item--amount strong {
  font-size: 0.8125rem;
}

.crm-entity-row__meta-item.text-success strong,
.crm-entity-row__meta-item--amount.text-success strong {
  color: #2d9d6f;
}

.crm-entity-row__meta-item.text-danger strong,
.crm-entity-row__meta-item--amount.text-danger strong {
  color: var(--brand-secondary);
}

.crm-entity-row__actions .btn-outline-secondary {
  color: #6b7a8d;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-entity-row__actions .btn-outline-secondary:hover {
  color: var(--brand-primary) !important;
  background: #fff !important;
  border-color: rgba(3, 47, 99, 0.18) !important;
}

.crm-entity-row__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex: 2 1 320px;
}

.crm-entity-row__meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #8a96a8;
  white-space: nowrap;
}

.crm-entity-row__meta-item i {
  color: var(--brand-primary);
  font-size: 0.9rem;
}

.crm-entity-row__meta-item strong {
  color: #4a5568;
  font-weight: 600;
}

.crm-entity-row__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(3, 47, 99, 0.07);
  border-radius: 0.75rem;
  backdrop-filter: blur(4px);
}

.crm-entity-row--past .crm-entity-row__actions {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(107, 114, 128, 0.12);
}

.crm-entity-row--past .crm-entity-row__actions .btn-outline-primary {
  color: #6b7280;
  background: rgba(107, 114, 128, 0.08);
  border-color: rgba(107, 114, 128, 0.12) !important;
}

.crm-entity-row--past .crm-entity-row__actions .btn-outline-primary:hover,
.crm-entity-row--past .crm-entity-row__actions .btn-outline-primary:focus,
.crm-entity-row--past .crm-entity-row__actions .btn-outline-primary:active {
  color: #fff !important;
  background: #6b7280 !important;
  border-color: #6b7280 !important;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2) !important;
}

@media (max-width: 767.98px) {
  .crm-entity-row {
    align-items: flex-start;
  }

  .crm-entity-row__meta {
    width: 100%;
    flex: none;
    padding-left: calc(44px + 0.85rem);
  }

  .crm-entity-row__actions {
    width: 100%;
    margin-left: 0;
    padding: 0.5rem;
    padding-left: calc(44px + 0.85rem);
  }

  .crm-entity-row__actions .btn:not(.btn-outline-danger) {
    flex: 1;
    min-width: 0;
  }
}

/* Form paneli */
.crm-form-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
}

.crm-form-panel--paid {
  border-left: 4px solid #2d9d6f;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf7 50%, #f8fbff 100%);
}

.crm-form-panel--paid .crm-form-panel__blob--1 {
  background: rgba(45, 157, 111, 0.1);
}

.crm-form-panel--unpaid {
  border-left: 4px solid rgba(154, 25, 37, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #fff8f8 50%, #fff9fa 100%);
}

.crm-form-panel--unpaid .crm-form-panel__blob--2 {
  background: rgba(154, 25, 37, 0.08);
}

.crm-form-panel__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-form-panel__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.4;
}

.crm-form-panel__blob--1 {
  width: 200px;
  height: 200px;
  top: -70px;
  right: 5%;
  background: rgba(3, 47, 99, 0.08);
}

.crm-form-panel__blob--2 {
  width: 150px;
  height: 150px;
  bottom: -50px;
  left: 10%;
  background: rgba(154, 25, 37, 0.05);
}

.crm-form-panel__header {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-form-panel__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
  margin-bottom: 0.3rem;
}

.crm-form-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
}

.crm-form-panel__subtitle {
  font-size: 0.75rem;
  color: #8a96a8;
  margin-top: 0.15rem;
}

.crm-form-panel__header--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.crm-form-panel__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.crm-form-panel__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}

/* Sekmeler */
.crm-tabs {
  border-bottom: 1px solid rgba(3, 47, 99, 0.08);
  margin-bottom: 1.25rem;
  gap: 0.25rem;
}

.crm-tabs .nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #8a96a8;
  border: none;
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 0.6rem 1rem;
  transition: all 0.2s ease;
}

.crm-tabs .nav-link:hover {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.04);
}

.crm-tabs .nav-link.active {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-bottom: 2px solid var(--brand-primary);
}

.crm-tabs.nav-pills {
  border-bottom: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 2rem;
  padding: 0.35rem;
  gap: 0.35rem;
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.05);
}

.crm-tabs.nav-pills .nav-link {
  border-radius: 2rem;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
}

.crm-tabs.nav-pills .nav-link:hover {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.05);
}

.crm-tabs.nav-pills .nav-link.active {
  color: #fff !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  border-bottom: 1px solid var(--brand-primary) !important;
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.2);
}

/* Şirket profili — müşteri düzenleme */
.crm-company-profile {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(3, 47, 99, 0.08);
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.06);
}

.crm-company-profile__header {
  position: relative;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0a4a8a 100%);
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}

.crm-company-profile__logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  object-fit: cover;
  background: #fff;
}

.crm-company-profile__logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}

.crm-company-profile__brand {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
  color: #fff;
}

.crm-company-profile__name {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin: 0;
}

.crm-company-profile__body {
  background: #fff;
  padding: 0;
}

.crm-company-profile__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  font-size: 0.8125rem;
  color: #4a5568;
}

.crm-company-profile__row:last-child {
  border-bottom: none;
}

.crm-company-profile__row i {
  color: var(--brand-primary);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.crm-material-card {
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.crm-material-card:hover {
  border-color: rgba(3, 47, 99, 0.15);
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.08);
}

.crm-dropzone {
  min-height: 150px;
  border: 2px dashed rgba(3, 47, 99, 0.15) !important;
  border-radius: 0.75rem !important;
  background: rgba(255, 255, 255, 0.8) !important;
  padding: 1.5rem 1rem !important;
  transition: all 0.2s ease;
}

.crm-dropzone:hover,
.crm-dropzone.dz-drag-hover {
  border-color: rgba(3, 47, 99, 0.3) !important;
  background: rgba(3, 47, 99, 0.03) !important;
}

.crm-dropzone .dz-message {
  margin: 0;
}

.crm-dropzone .dz-message i {
  color: var(--brand-primary);
  font-size: 2.5rem;
}

.crm-material-card--deletable {
  position: relative;
}

.crm-material-card__delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Sayfalama */
.crm-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.crm-pagination {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.05);
}

.crm-pagination__info {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #8a96a8;
  text-align: center;
  letter-spacing: 0.01em;
}

.crm-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crm-pagination__item {
  display: flex;
}

.crm-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7a8d;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 2rem;
  transition: all 0.2s ease;
}

.crm-pagination__link:hover {
  color: var(--brand-primary);
  background: #fff;
  border-color: rgba(3, 47, 99, 0.2);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
}

.crm-pagination__item--active .crm-pagination__link {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.2);
}

.crm-pagination__item--disabled .crm-pagination__link {
  color: #c5cdd8;
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(3, 47, 99, 0.06);
  cursor: not-allowed;
  pointer-events: none;
}

.crm-pagination__link--dots {
  min-width: 28px;
  letter-spacing: 0.1em;
}

.crm-pagination__link i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Feed kartları — welcome uyumlu */
.crm-feed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
}

.crm-feed-card__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-feed-card__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.45;
}

.crm-feed-card__blob--1 {
  width: 140px;
  height: 140px;
  top: -40px;
  right: -20px;
  background: rgba(3, 47, 99, 0.12);
}

.crm-feed-card__blob--2 {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -10px;
  background: rgba(154, 25, 37, 0.08);
}

.crm-feed-card__blob--3 {
  width: 130px;
  height: 130px;
  top: -35px;
  right: -15px;
  background: rgba(45, 157, 111, 0.1);
}

.crm-feed-card__header {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.15rem 0.75rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-feed-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.18rem 0.5rem;
  border-radius: 2rem;
  margin-bottom: 0.5rem;
}

.crm-feed-card__badge--accent {
  color: var(--brand-secondary);
  background: rgba(154, 25, 37, 0.08);
}

.crm-feed-card__badge--success {
  color: #2d9d6f;
  background: rgba(45, 157, 111, 0.1);
}

.crm-feed-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.crm-feed-card__icon-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
}

.crm-feed-card__icon-ring--primary {
  background: linear-gradient(135deg, var(--brand-primary-light), #fff);
  color: var(--brand-primary);
  border: 1px solid rgba(3, 47, 99, 0.1);
}

.crm-feed-card__icon-ring--accent {
  background: linear-gradient(135deg, var(--brand-secondary-light), #fff);
  color: var(--brand-secondary);
  border: 1px solid rgba(154, 25, 37, 0.1);
}

.crm-feed-card__icon-ring--success {
  background: linear-gradient(135deg, #e8f5ee, #fff);
  color: #2d9d6f;
  border: 1px solid rgba(45, 157, 111, 0.15);
}

.crm-feed-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-feed-card__subtitle {
  font-size: 0.7rem;
  color: #8a96a8;
  margin-top: 0.1rem;
}

.crm-feed-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 120px;
}

.crm-feed-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.5rem;
  border-radius: 0.625rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.crm-feed-item:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(3, 47, 99, 0.1);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.06);
  transform: translateX(2px);
  color: inherit;
}

.crm-feed-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.crm-feed-item__icon--primary {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.crm-feed-item__icon--accent {
  background: var(--brand-secondary-light);
  color: var(--brand-secondary);
}

.crm-feed-item__icon--success,
.crm-feed-item__icon--info,
.crm-feed-item__icon--warning,
.crm-feed-item__icon--danger,
.crm-feed-item__icon--secondary {
  background: #f0f4f8;
  color: #6b7a8d;
}

.crm-feed-item__content {
  flex: 1;
  min-width: 0;
}

.crm-feed-item__title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bs-heading-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.crm-feed-item__meta {
  display: block;
  font-size: 0.7rem;
  color: #8a96a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.crm-feed-item__badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 2rem;
  background: rgba(3, 47, 99, 0.08);
  color: var(--brand-primary);
  white-space: nowrap;
}

.crm-feed-item__badge--priority {
  color: #fff !important;
  background: var(--brand-primary) !important;
}

.crm-feed-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 1rem;
  color: #8a96a8;
  font-size: 0.8125rem;
  text-align: center;
  flex: 1;
}

.crm-feed-empty i {
  font-size: 1.5rem;
  color: var(--brand-primary);
  opacity: 0.5;
}

.crm-feed-card__footer {
  position: relative;
  z-index: 1;
  padding: 0.65rem 1rem 1rem;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(255, 255, 255, 0.4);
}

.crm-feed-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 2rem;
  background: rgba(3, 47, 99, 0.06);
  border: 1px solid rgba(3, 47, 99, 0.1);
  transition: all 0.2s ease;
}

.crm-feed-card__link:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.crm-feed-card__link i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.crm-feed-card__link:hover i {
  transform: translateX(3px);
}

/* Finansal özet paneli — welcome uyumlu */
.crm-finance-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
}

.crm-finance-panel__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-finance-panel__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
}

.crm-finance-panel__blob--1 {
  width: 220px;
  height: 220px;
  top: -80px;
  left: 10%;
  background: rgba(3, 47, 99, 0.1);
}

.crm-finance-panel__blob--2 {
  width: 160px;
  height: 160px;
  bottom: -50px;
  right: 15%;
  background: rgba(45, 157, 111, 0.08);
}

.crm-finance-panel__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-finance-panel__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  margin-bottom: 0.4rem;
}

.crm-finance-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
}

.crm-finance-panel__subtitle {
  font-size: 0.8125rem;
  color: #8a96a8;
}

.crm-finance-panel__rate-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary-light), #fff);
  border: 2px solid rgba(3, 47, 99, 0.12);
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.1);
}

.crm-finance-panel__rate-value {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.crm-finance-panel__rate-circle small {
  font-size: 0.45rem;
  font-weight: 600;
  color: #8a96a8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.crm-finance-panel__body {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  min-height: 280px;
}

.crm-finance-panel__chart {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.5rem 1rem 1rem;
  border-right: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-finance-panel__chart-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #8a96a8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0;
}

.crm-finance-panel__chart-label i {
  color: var(--brand-primary);
  font-size: 0.9rem;
}

.crm-finance-panel__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0 0.5rem;
  margin-bottom: 0.35rem;
}

.crm-finance-chart {
  position: relative;
  padding: 0.25rem 0.25rem 0;
}

.crm-finance-chart__canvas {
  min-height: 300px;
}

.crm-finance-chart__canvas .apexcharts-canvas {
  margin: 0 auto;
}

.crm-finance-chart__legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crm-finance-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7a8d;
}

.crm-finance-chart__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
  flex-shrink: 0;
}

.crm-finance-chart-tooltip {
  padding: 0.5rem 0.65rem;
  background: #fff;
  border: 1px solid rgba(3, 47, 99, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.1);
  min-width: 120px;
}

.crm-finance-chart-tooltip__month {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #8a96a8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.crm-finance-chart-tooltip__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-finance-chart-tooltip__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: #8a96a8;
}

.crm-finance-panel__sidebar {
  flex: 0 0 300px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.crm-finance-panel__summary-text {
  font-size: 0.8125rem;
  color: #6b7a8d;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.crm-finance-panel__summary-text strong {
  color: var(--brand-primary);
}

.crm-finance-panel__progress {
  height: 6px;
  background: rgba(3, 47, 99, 0.08);
  border-radius: 3rem;
  overflow: hidden;
}

.crm-finance-panel__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), #2d9d6f);
  border-radius: 3rem;
  transition: width 0.6s ease;
  min-width: 2%;
}

.crm-finance-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crm-finance-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(3, 47, 99, 0.06);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.crm-finance-stat:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(3, 47, 99, 0.12);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.06);
}

.crm-finance-stat__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.crm-finance-stat__icon--primary {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.crm-finance-stat__icon--success {
  background: #e8f5ee;
  color: #2d9d6f;
}

.crm-finance-stat__icon--danger {
  background: var(--brand-secondary-light);
  color: var(--brand-secondary);
}

.crm-finance-stat__icon--warning {
  background: rgba(212, 136, 10, 0.12);
  color: #b45309;
}

.crm-finance-stat__content {
  flex: 1;
  min-width: 0;
}

.crm-finance-stat__label {
  display: block;
  font-size: 0.7rem;
  color: #8a96a8;
  line-height: 1.3;
}

.crm-finance-stat__value {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.3;
}

.crm-finance-stat__value--success {
  color: #2d9d6f;
}

.crm-finance-stat__value--danger {
  color: var(--brand-secondary);
}

@media (max-width: 991.98px) {
  .crm-finance-panel__body {
    flex-direction: column;
  }

  .crm-finance-panel__chart {
    border-right: none;
    border-bottom: 1px solid rgba(3, 47, 99, 0.06);
    padding: 0.75rem 1rem;
  }

  .crm-finance-panel__sidebar {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .crm-finance-panel__header {
    padding: 1rem;
  }

  .crm-finance-panel__rate-circle {
    width: 60px;
    height: 60px;
  }

  .crm-finance-panel__rate-value {
    font-size: 0.8rem;
  }
}

/* Aylık ödemeler paneli */
.crm-payments-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
}

.crm-payments-panel__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-payments-panel__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
}

.crm-payments-panel__blob--1 {
  width: 180px;
  height: 180px;
  top: -60px;
  right: 10%;
  background: rgba(3, 47, 99, 0.08);
}

.crm-payments-panel__blob--2 {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: 5%;
  background: rgba(154, 25, 37, 0.06);
}

.crm-payments-panel__header {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-payments-panel__title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crm-payments-panel__icon-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-primary-light), #fff);
  color: var(--brand-primary);
  border: 1px solid rgba(3, 47, 99, 0.1);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
}

.crm-payments-panel__badge {
  display: inline-flex;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
  margin-bottom: 0.25rem;
}

.crm-payments-panel__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-payments-panel__subtitle {
  font-size: 0.75rem;
  color: #8a96a8;
  margin-top: 0.1rem;
}

.crm-payments-panel__body {
  position: relative;
  z-index: 1;
  padding: 0.5rem 1rem 1rem;
}

.crm-payments-panel--monthly .crm-payments-panel__split {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}

.crm-payments-panel__col {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  min-width: 0;
}

.crm-payments-panel__col--chart {
  border-left: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-payments-panel__col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(3, 47, 99, 0.02);
}

.crm-payments-panel__col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-payments-panel__col-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a96a8;
}

.crm-payments-panel__list-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.crm-payments-panel__list-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(3, 47, 99, 0.06);
}

.crm-payments-panel__chart-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem 0.25rem;
  min-height: 280px;
}

.crm-payments-panel__chart-canvas {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.crm-method-distribution {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.crm-payments-panel__method-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 1rem 1rem;
}

.crm-payments-panel__method-link {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.crm-payments-panel__method-link:hover {
  border-color: rgba(3, 47, 99, 0.18);
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.08);
  transform: translateY(-1px);
  color: inherit;
}

.crm-payments-panel__method-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.crm-payments-panel__method-link-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.crm-payments-panel__method-link-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
}

.crm-payments-panel__method-link-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(3, 47, 99, 0.06);
  overflow: hidden;
}

.crm-payments-panel__method-link-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  opacity: 0.88;
  transition: width 0.4s ease;
}

.crm-payments-panel__method-link-meta {
  font-size: 0.68rem;
  color: #8a96a8;
}

.crm-payments-panel__method-link-amount {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
}

.crm-payments-panel__method-link-icon {
  font-size: 1.1rem;
  color: #94a3b8;
}

@media (max-width: 991.98px) {
  .crm-payments-panel--monthly .crm-payments-panel__split,
  .crm-payments-panel__col {
    min-height: auto;
  }

  .crm-payments-panel--monthly .crm-payments-panel__split {
    grid-template-columns: 1fr;
  }

  .crm-payments-panel__col--chart {
    border-left: 0;
    border-top: 1px solid rgba(3, 47, 99, 0.08);
  }

  .crm-payments-panel__list-scroll {
    max-height: 320px;
  }
}

.crm-payment-setup-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(3, 47, 99, 0.25) transparent;
  padding-bottom: 0.35rem;
}

.crm-payment-setup-scroll::-webkit-scrollbar {
  height: 6px;
}

.crm-payment-setup-scroll::-webkit-scrollbar-thumb {
  background: rgba(3, 47, 99, 0.22);
  border-radius: 999px;
}

.crm-payment-setup-scroll__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  padding: 0.35rem 0.15rem 0.5rem;
  min-width: min-content;
}

.crm-payment-setup-scroll__item {
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
}

.crm-entity-card--compact {
  height: 100%;
}

.crm-entity-card--compact .crm-entity-card__body {
  padding: 0.85rem 0.9rem 0.9rem;
}

.crm-entity-card--compact .crm-entity-card__head {
  margin-bottom: 0.65rem;
}

.crm-entity-card--compact .crm-entity-card__details {
  gap: 0.45rem;
}

.crm-entity-card--compact .crm-entity-card__actions {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
}

.crm-filter-panel {
  border-radius: 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: #fff;
  box-shadow: 0 2px 12px rgba(3, 47, 99, 0.05);
  overflow: hidden;
}

.crm-filter-panel__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 0;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.crm-filter-panel__toggle:hover {
  background: linear-gradient(145deg, #f8fbff 0%, #f3f8fd 100%);
}

.crm-filter-panel__toggle-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.crm-filter-panel__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand-secondary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}

.crm-filter-panel__chevron {
  transition: transform 0.2s ease;
  font-size: 1.1rem;
}

.crm-filter-panel__toggle:not(.collapsed) .crm-filter-panel__chevron {
  transform: rotate(180deg);
}

.crm-filter-panel__body {
  border-top: 1px solid rgba(3, 47, 99, 0.06);
  border-radius: 0;
  box-shadow: none;
}

.crm-setup-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 2px 12px rgba(3, 47, 99, 0.05);
}

.crm-setup-summary__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 120px;
}

.crm-setup-summary__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-setup-summary__value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-setup-summary__value--success {
  color: #2d9d6f;
}

.crm-setup-summary__value--danger {
  color: var(--brand-secondary);
}

.crm-risk-alert {
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(185, 28, 28, 0.16);
  background: linear-gradient(145deg, #ffffff 0%, #fff8f7 48%, #fffaf8 100%);
  box-shadow: 0 4px 18px rgba(185, 28, 28, 0.07);
}

.crm-risk-alert__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.crm-risk-alert__header-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.crm-risk-alert__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crm-risk-alert__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #7f1d1d;
}

.crm-risk-alert__lead {
  font-size: 0.8125rem;
  color: #7a8494;
  max-width: 42rem;
}

.crm-risk-alert__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 150px;
}

.crm-risk-alert__amount-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-risk-alert__amount-value {
  font-size: 1.15rem;
  color: #b91c1c;
}

.crm-risk-alert__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.crm-risk-alert__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(185, 28, 28, 0.1);
}

.crm-risk-alert__stat span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-risk-alert__stat strong {
  font-size: 0.9375rem;
  color: #334155;
}

.crm-risk-alert__stat--accent {
  border-color: rgba(185, 28, 28, 0.18);
  background: linear-gradient(145deg, #fffdfc 0%, #fff1f0 100%);
}

.crm-risk-alert__stat--accent strong {
  color: #b91c1c;
}

.crm-risk-alert__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: #9f1239;
  font-size: 0.8125rem;
  font-weight: 600;
}

.crm-risk-alert__toggle i {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.crm-risk-alert__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.crm-risk-alert__details {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(185, 28, 28, 0.12);
}

.crm-risk-alert__table {
  font-size: 0.8125rem;
}

.crm-risk-alert__table th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a96a8;
  border-bottom-color: rgba(185, 28, 28, 0.12);
}

.crm-risk-alert__table td {
  vertical-align: middle;
  color: #334155;
  border-bottom-color: rgba(3, 47, 99, 0.06);
}

.crm-risk-alert__table a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.crm-risk-alert__truncated {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: #8a96a8;
}

.crm-risk-alert__finance-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .crm-risk-alert__stats {
    grid-template-columns: 1fr;
  }

  .crm-risk-alert__amount {
    align-items: flex-start;
  }
}

.crm-balance-offset {
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(45, 157, 111, 0.16);
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 52%, #f8fbff 100%);
  box-shadow: 0 4px 18px rgba(3, 47, 99, 0.06);
}

.crm-balance-offset__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.crm-balance-offset__header-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.crm-balance-offset__available {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 140px;
}

.crm-balance-offset__available-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-balance-offset__available-value {
  font-size: 1.05rem;
  color: #2d9d6f;
}

.crm-balance-offset__preview {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-balance-offset__preview-head {
  margin-bottom: 0.75rem;
}

.crm-balance-offset__preview-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.crm-balance-offset__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.crm-balance-offset__summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-balance-offset__summary-item span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-balance-offset__summary-item strong {
  font-size: 0.9375rem;
  color: #334155;
}

.crm-balance-offset__summary-item--highlight {
  border-color: rgba(212, 136, 10, 0.22);
  background: linear-gradient(145deg, #fffdf8 0%, #fff8eb 100%);
}

.crm-balance-offset__summary-item--highlight strong {
  color: #b45309;
}

.crm-entity-row--mahsup {
  border-left: 4px solid #2d9d6f;
}

@media (max-width: 767.98px) {
  .crm-balance-offset__summary {
    grid-template-columns: 1fr;
  }

  .crm-balance-offset__available {
    align-items: flex-start;
  }
}

.crm-balance-offset__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a5568;
}

.crm-balance-offset__toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-balance-offset__toggle .form-check-label {
  font-weight: 600;
  color: #334155;
}

.crm-stat-card--balance {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(3, 47, 99, 0.08);
}

.crm-stat-card__meta {
  font-size: 0.75rem;
  line-height: 1.2;
}

.crm-entity-row--setup {
  border-left-width: 4px;
  border-left-style: solid;
}

.crm-entity-row--setup-danger {
  border-left-color: var(--brand-secondary);
  background: linear-gradient(145deg, #ffffff 0%, #fff8f9 55%, #fffdfd 100%);
}

.crm-entity-row--setup-danger .crm-entity-row__blob {
  background: rgba(154, 25, 37, 0.12);
}

.crm-entity-row--setup-info {
  border-left-color: #0e7c9e;
  background: linear-gradient(145deg, #ffffff 0%, #f4fbfd 55%, #fffdfd 100%);
}

.crm-entity-row--setup-info .crm-entity-row__blob {
  background: rgba(14, 124, 158, 0.12);
}

.crm-entity-row--setup-warning {
  border-left-color: #d4880a;
  background: linear-gradient(145deg, #ffffff 0%, #fffbf4 55%, #fffdfd 100%);
}

.crm-entity-row--setup-warning .crm-entity-row__blob {
  background: rgba(212, 136, 10, 0.12);
}

.crm-entity-row__avatar--setup-danger {
  background: linear-gradient(135deg, var(--brand-secondary-light), #fff);
  color: var(--brand-secondary);
  border-color: rgba(154, 25, 37, 0.15);
}

.crm-entity-row__avatar--setup-info {
  background: linear-gradient(135deg, rgba(14, 124, 158, 0.1), #fff);
  color: #0e7c9e;
  border-color: rgba(14, 124, 158, 0.15);
}

.crm-entity-row__avatar--setup-warning {
  background: linear-gradient(135deg, rgba(212, 136, 10, 0.1), #fff);
  color: #d4880a;
  border-color: rgba(212, 136, 10, 0.15);
}

.crm-entity-row--setup-success {
  border-left-color: #2d9d6f;
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 55%, #fffdfd 100%);
}

.crm-entity-row--setup-success .crm-entity-row__blob {
  background: rgba(45, 157, 111, 0.12);
}

.crm-entity-row__avatar--setup-success {
  background: linear-gradient(135deg, rgba(45, 157, 111, 0.12), #fff);
  color: #2d9d6f;
  border-color: rgba(45, 157, 111, 0.15);
}

.crm-entity-row__status--setup-success {
  color: #2d9d6f;
  background: rgba(45, 157, 111, 0.1);
  border: 1px solid rgba(45, 157, 111, 0.18);
}

.crm-entity-row__status--setup-muted {
  color: #6b7a8d;
  background: rgba(107, 122, 141, 0.1);
  border: 1px solid rgba(107, 122, 141, 0.16);
}

.crm-entity-row__status--setup-info {
  color: #0e7c9e;
  background: rgba(14, 124, 158, 0.1);
  border: 1px solid rgba(14, 124, 158, 0.18);
}

.crm-entity-row__status--setup-danger {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border: 1px solid rgba(154, 25, 37, 0.18);
}

.crm-entity-row__meta-item.text-warning strong,
.crm-entity-row__meta-item--amount.text-warning strong {
  color: #d4880a;
}

.crm-entity-row__status--setup-warning {
  color: #d4880a;
  background: rgba(212, 136, 10, 0.1);
  border: 1px solid rgba(212, 136, 10, 0.18);
}

.crm-payments-table {
  font-size: 0.8125rem;
}

.crm-payments-table thead th {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
  background: rgba(3, 47, 99, 0.03);
  border-bottom: 1px solid rgba(3, 47, 99, 0.08);
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
}

.crm-payments-table tbody td {
  padding: 0.65rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(3, 47, 99, 0.05);
  color: #4a5568;
}

.crm-payments-table tbody tr:hover td {
  background: rgba(3, 47, 99, 0.02);
}

.crm-payments-table tbody tr.table-danger td {
  background: rgba(154, 25, 37, 0.06);
}

.crm-payments-table tbody tr.table-warning td {
  background: rgba(255, 193, 7, 0.08);
}

.crm-payments-table .badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
}

.crm-payments-table__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0.25rem 0.5rem;
  border-radius: 0.45rem !important;
  box-shadow: none !important;
}

.crm-payments-table__action.btn-outline-primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-payments-table__action.btn-outline-primary:hover {
  color: #fff !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.crm-payments-table tbody tr.crm-payments-table__total-row td {
  background: rgba(3, 47, 99, 0.04);
  font-weight: 700;
  border-top: 2px solid rgba(3, 47, 99, 0.1);
  color: var(--brand-primary);
}

.crm-toolbar--reports .crm-toolbar__finance-form {
  width: 100%;
}

.crm-toolbar--reports .crm-toolbar__inner--reports {
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
}

.crm-toolbar--reports .crm-toolbar__field:not(.crm-toolbar__field--actions) {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
}

.crm-toolbar--reports .crm-toolbar__field--actions {
  flex: 0 0 auto;
}

.crm-toolbar--reports .crm-toolbar__field:not(.crm-toolbar__field--actions) .crm-toolbar__select,
.crm-toolbar--reports .crm-toolbar__field:not(.crm-toolbar__field--actions) input[type="date"].crm-toolbar__select {
  width: 100%;
  min-width: 0;
}

.crm-toolbar--reports .crm-toolbar__period-pair {
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

@media (max-width: 1199.98px) {
  .crm-toolbar--reports .crm-toolbar__inner--reports {
    flex-wrap: wrap;
  }

  .crm-toolbar--reports .crm-toolbar__field:not(.crm-toolbar__field--actions) {
    flex: 1 1 calc(33.333% - 0.35rem);
    min-width: 140px;
  }

  .crm-toolbar--reports .crm-toolbar__field--actions {
    flex: 1 1 100%;
  }
}

.crm-toolbar__period-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

/* Finans sayfası düzeni */
.crm-finance-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.crm-finance-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: 1rem;
}

.crm-finance-filter {
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
  overflow: hidden;
}

.crm-finance-filter__header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(255, 255, 255, 0.6);
}

.crm-finance-filter__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  margin-bottom: 0.35rem;
}

.crm-finance-filter__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-finance-filter__body {
  padding: 1rem;
}

.crm-finance-filter__actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-finance-report-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: inherit;
  transition: all var(--crm-transition);
  box-shadow: 0 2px 10px rgba(3, 47, 99, 0.04);
}

.crm-finance-report-card:hover {
  transform: translateY(-2px);
  border-color: rgba(3, 47, 99, 0.15);
  box-shadow: 0 6px 18px rgba(3, 47, 99, 0.1);
  color: var(--brand-primary);
}

.crm-finance-report-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.crm-finance-report-card strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--brand-primary);
  margin-bottom: 0.1rem;
}

.crm-finance-report-card span {
  display: block;
  font-size: 0.7rem;
  color: #8a96a8;
  line-height: 1.35;
}

.crm-finance-report-card__arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: #b0bac7;
  flex-shrink: 0;
}

.crm-finance-report-card:hover .crm-finance-report-card__arrow {
  color: var(--brand-primary);
}

.crm-finance-main {
  min-width: 0;
}

/* Finans filtre toolbar — tek satır */
.crm-toolbar--finance {
  padding: 0.75rem 1rem;
}

.crm-toolbar__finance-form {
  width: 100%;
}

.crm-toolbar__inner--finance {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.crm-toolbar__field {
  flex: 1 1 0;
  min-width: 0;
}

.crm-toolbar__field--search {
  flex: 1.6 1 160px;
}

.crm-toolbar__field--date {
  flex: 0.9 1 118px;
  max-width: 140px;
}

.crm-toolbar__field--actions {
  flex: 0 0 auto;
}

.crm-toolbar__field--actions .crm-toolbar__actions {
  height: 38px;
}

.crm-toolbar__field--actions .crm-toolbar__btn span {
  display: inline;
}

.crm-toolbar__field .form-label {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
}

.crm-toolbar__field .crm-toolbar__select,
.crm-toolbar__field input[type="date"].crm-toolbar__select {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1199.98px) {
  .crm-toolbar__inner--finance {
    flex-wrap: wrap;
  }

  .crm-toolbar__field--search {
    flex: 1 1 100%;
  }

  .crm-toolbar__field--date {
    max-width: none;
    flex: 1 1 calc(50% - 0.25rem);
  }

  .crm-toolbar__field--actions {
    flex: 1 1 100%;
  }

  .crm-toolbar__field--actions .crm-toolbar__actions {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .crm-finance-layout {
    grid-template-columns: 1fr;
  }

  .crm-finance-sidebar {
    position: static;
  }
}

/* Boş durum */
.crm-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  border: 1px dashed rgba(3, 47, 99, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.crm-empty-state__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #b0bac9;
  background: rgba(3, 47, 99, 0.05);
}

.crm-empty-state__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.35rem;
}

.crm-empty-state__text {
  font-size: 0.8125rem;
  color: #8a96a8;
  margin: 0;
}

.crm-empty-state--compact {
  padding: 2rem 1.25rem;
}

.crm-empty-state--compact .crm-empty-state__icon {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Yerleşim planı önizleme */
.crm-layout-preview {
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.5rem;
}

.crm-layout-preview__img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

/* Hol kartları — event center düzenleme */
.crm-hall-card {
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: box-shadow var(--crm-transition);
}

.crm-hall-card:hover {
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.06);
}

.crm-hall-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.crm-hall-card__info {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.crm-hall-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.crm-hall-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 0.15rem;
  line-height: 1.3;
}

.crm-hall-card__desc {
  font-size: 0.75rem;
  color: #8a96a8;
  margin: 0;
  line-height: 1.4;
}

.crm-hall-card__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(3, 47, 99, 0.07);
  border-radius: 0.65rem;
}

.crm-hall-card__actions form {
  display: flex;
  margin: 0;
}

.crm-hall-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  border-radius: 0.45rem !important;
  box-shadow: none !important;
  transition: all var(--crm-transition);
}

.crm-hall-card__actions .btn-outline-primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-hall-card__actions .btn-outline-primary:hover {
  color: #fff !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.crm-hall-card__actions .btn-outline-secondary {
  color: #6b7a8d;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-hall-card__actions .btn-outline-secondary:hover {
  color: var(--brand-primary) !important;
  background: #fff !important;
  border-color: rgba(3, 47, 99, 0.18) !important;
}

.crm-hall-card__actions .btn-outline-danger {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border-color: rgba(154, 25, 37, 0.14) !important;
}

.crm-hall-card__actions .btn-outline-danger:hover:not(:disabled) {
  color: #fff !important;
  background: var(--brand-secondary) !important;
  border-color: var(--brand-secondary) !important;
}

.crm-hall-card__actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.crm-hall-card__stands {
  border-top: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(3, 47, 99, 0.02);
  padding: 0.5rem 1rem 0.85rem;
}

.crm-hall-card__empty {
  font-size: 0.8125rem;
  color: #8a96a8;
  text-align: center;
  padding: 0.75rem;
  margin: 0;
}

.crm-stand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.4rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-stand-row:last-child {
  margin-bottom: 0;
}

.crm-stand-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.crm-stand-row__info strong {
  font-size: 0.8125rem;
  color: var(--brand-primary);
}

.crm-stand-row__info > span:not(.crm-stand-row__area) {
  font-size: 0.75rem;
  color: #8a96a8;
}

.crm-stand-row__area {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: #6b7a8d;
}

.crm-stand-row__area i {
  color: var(--brand-primary);
}

.crm-stand-row__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.crm-stand-row__actions form {
  display: flex;
  margin: 0;
}

.crm-stand-row__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0.2rem 0.45rem;
  font-size: 0.8125rem;
  border-radius: 0.45rem !important;
  box-shadow: none !important;
}

.crm-stand-row__actions .btn-outline-primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-stand-row__actions .btn-outline-primary:hover {
  color: #fff !important;
  background: var(--brand-primary) !important;
}

.crm-stand-row__actions .btn-outline-danger {
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border-color: rgba(154, 25, 37, 0.14) !important;
}

.crm-stand-row__actions .btn-outline-danger:hover {
  color: #fff !important;
  background: var(--brand-secondary) !important;
}

/* Hol stand seçimi — hizmet düzenleme */
.crm-hall-stands {
  height: 100%;
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.crm-hall-stands__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  padding: 0.6rem 0.75rem;
  background: rgba(3, 47, 99, 0.04);
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-hall-stands__title i {
  font-size: 1rem;
}

.crm-hall-stands__list {
  padding: 0.65rem 0.75rem;
  max-height: 220px;
  overflow-y: auto;
}

.crm-hall-stands__list .form-check {
  margin-bottom: 0.4rem;
}

.crm-hall-stands__list .form-check:last-child {
  margin-bottom: 0;
}

.crm-hall-stands__empty {
  font-size: 0.75rem;
  color: #8a96a8;
  margin: 0;
  text-align: center;
  padding: 0.5rem 0;
}

@media (max-width: 767.98px) {
  .crm-hall-card__header {
    flex-direction: column;
  }

  .crm-hall-card__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .crm-stand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .crm-stand-row__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Stand durumları paneli — welcome uyumlu */
.crm-stands-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #fff9fa 100%);
  box-shadow: 0 4px 20px rgba(3, 47, 99, 0.06);
}

.crm-stands-panel__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-stands-panel__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.4;
}

.crm-stands-panel__blob--1 {
  width: 200px;
  height: 200px;
  top: -60px;
  right: 10%;
  background: rgba(3, 47, 99, 0.1);
  animation: crm-stands-blob-float 9s ease-in-out infinite;
}

.crm-stands-panel__blob--2 {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: 20%;
  background: rgba(154, 25, 37, 0.06);
  animation: crm-stands-blob-float 11s ease-in-out infinite reverse;
}

.crm-stands-panel__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.crm-stands-panel__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
  margin-bottom: 0.4rem;
}

.crm-stands-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
}

.crm-stands-panel__subtitle {
  font-size: 0.8125rem;
  color: #8a96a8;
}

.crm-stands-panel__legend {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.crm-stands-panel__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 2rem;
  border: 1px solid transparent;
}

.crm-stands-panel__legend-item--occupied {
  background: rgba(3, 47, 99, 0.08);
  color: var(--brand-primary);
  border-color: rgba(3, 47, 99, 0.12);
}

.crm-stands-panel__legend-item--empty {
  background: rgba(255, 255, 255, 0.8);
  color: #8a96a8;
  border-color: #e8edf2;
}

.crm-stands-panel__body {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  padding: 1rem 1.25rem 1.25rem;
  min-height: 200px;
}

.crm-stands-panel__sidebar {
  flex: 0 0 200px;
  border-right: 1px solid rgba(3, 47, 99, 0.08);
  padding-right: 1rem;
  margin-right: 1rem;
}

.crm-hall-tabs {
  gap: 0.35rem;
}

.crm-hall-tabs .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  color: #6b7a8d;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.crm-hall-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #e8edf2;
  color: var(--brand-primary);
}

.crm-hall-tabs .nav-link.active {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(154, 25, 37, 0.22);
}

.crm-hall-tabs__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.crm-hall-tabs .nav-link.active .crm-hall-tabs__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.crm-hall-tabs__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.crm-hall-tabs__text strong {
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-hall-tabs__text small {
  font-size: 0.65rem;
  color: #8a96a8;
  font-weight: 500;
}

.crm-hall-tabs__arrow {
  font-size: 1rem;
  opacity: 0.4;
  flex-shrink: 0;
}

.crm-hall-tabs .nav-link.active .crm-hall-tabs__text small {
  color: rgba(255, 255, 255, 0.75);
}

.crm-hall-tabs .nav-link.active .crm-hall-tabs__arrow {
  opacity: 1;
  color: #fff;
}

.crm-stands-panel__content {
  flex: 1;
  min-width: 0;
}

.crm-stands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.crm-stand-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.crm-stand-tile--animate:not(.crm-stand-tile--entered) {
  opacity: 0;
  animation: crm-stand-tile-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--stand-index, 0) * 50ms);
}

.crm-stand-tile--entered {
  opacity: 1;
}

.crm-stand-tile--entered.crm-stand-tile--occupied {
  animation: crm-stand-occupied-glow 3.5s ease-in-out infinite;
}

.crm-stand-tile--entered.crm-stand-tile--empty {
  animation: crm-stand-empty-border 2.8s ease-in-out infinite;
}

.crm-stand-tile:hover {
  transform: translateY(-3px) scale(1.02);
}

a.crm-stand-tile--link {
  text-decoration: none;
  cursor: pointer;
}

a.crm-stand-tile--link.crm-stand-tile--occupied,
a.crm-stand-tile--link.crm-stand-tile--occupied .crm-stand-tile__name,
a.crm-stand-tile--link.crm-stand-tile--occupied .crm-stand-tile__occupant,
a.crm-stand-tile--link.crm-stand-tile--occupied:hover,
a.crm-stand-tile--link.crm-stand-tile--occupied:focus {
  color: #fff;
}

a.crm-stand-tile--link.crm-stand-tile--empty,
a.crm-stand-tile--link.crm-stand-tile--empty .crm-stand-tile__name,
a.crm-stand-tile--link.crm-stand-tile--empty .crm-stand-tile__status,
a.crm-stand-tile--link.crm-stand-tile--empty:hover,
a.crm-stand-tile--link.crm-stand-tile--empty:focus {
  color: #6b7a8d;
}

a.crm-stand-tile--link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.crm-stand-tile--occupied {
  background: linear-gradient(145deg, rgba(3, 47, 99, 0.92) 0%, rgba(2, 74, 150, 0.88) 100%);
  color: #fff;
  border-color: rgba(3, 47, 99, 0.2);
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.2);
}

.crm-stand-tile--occupied::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.crm-stand-tile--entered.crm-stand-tile--occupied::after {
  animation: crm-stand-shimmer 5s ease-in-out infinite;
}

.crm-stand-tile--occupied:hover {
  box-shadow: 0 8px 22px rgba(3, 47, 99, 0.32);
}

.crm-stand-tile--empty {
  background: rgba(255, 255, 255, 0.75);
  color: #6b7a8d;
  border: 1px dashed #d5dde8;
  box-shadow: 0 2px 6px rgba(3, 47, 99, 0.04);
}

.crm-stand-tile--empty::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px dashed transparent;
  pointer-events: none;
}

.crm-stand-tile--entered.crm-stand-tile--empty::before {
  animation: crm-stand-empty-ring 2.8s ease-in-out infinite;
}

.crm-stand-tile--empty:hover {
  border-color: var(--brand-primary-subtle);
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.08);
}

.crm-stand-tile__icon {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  line-height: 1;
}

.crm-stand-tile--animate:not(.crm-stand-tile--entered) .crm-stand-tile__icon i {
  display: inline-block;
  animation: crm-stand-icon-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--stand-index, 0) * 50ms + 0.15s);
  transform: scale(0);
  opacity: 0;
}

.crm-stand-tile--entered .crm-stand-tile__icon i {
  opacity: 1;
  transform: scale(1);
}

.crm-stand-tile--occupied .crm-stand-tile__icon {
  color: rgba(255, 255, 255, 0.9);
}

.crm-stand-tile--empty .crm-stand-tile__icon {
  color: #b0bac7;
}

.crm-stand-tile__name {
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
}

.crm-stand-tile__status {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.crm-stand-tile__occupant {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 0.15rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.92;
}

.crm-stand-tile--occupied .crm-stand-tile__occupant {
  color: rgba(255, 255, 255, 0.95);
}

.crm-stands-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 1rem;
  color: #8a96a8;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed #dde4ec;
  border-radius: 0.75rem;
}

.crm-stands-empty i {
  font-size: 1.25rem;
  color: var(--brand-primary);
  opacity: 0.6;
}

.crm-hall-tabs__item--animate:not(.crm-hall-tabs__item--entered) {
  opacity: 0;
  animation: crm-hall-tab-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hall-index, 0) * 65ms);
}

.crm-hall-tabs__item--entered {
  opacity: 1;
}

@keyframes crm-stand-tile-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes crm-stand-icon-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  65% {
    transform: scale(1.18);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes crm-stand-occupied-glow {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(3, 47, 99, 0.2);
  }
  50% {
    box-shadow: 0 6px 18px rgba(3, 47, 99, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  }
}

@keyframes crm-stand-shimmer {
  0%,
  72%,
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }
  82% {
    opacity: 1;
  }
  92% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes crm-stand-empty-border {
  0%,
  100% {
    border-color: #d5dde8;
  }
  50% {
    border-color: rgba(3, 47, 99, 0.38);
  }
}

@keyframes crm-stand-empty-ring {
  0%,
  100% {
    border-color: transparent;
    opacity: 0;
  }
  50% {
    border-color: rgba(3, 47, 99, 0.2);
    opacity: 1;
  }
}

@keyframes crm-hall-tab-enter {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes crm-stands-blob-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10px, -8px) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-stands-panel__blob,
  .crm-hall-tabs__item--animate,
  .crm-stand-tile--animate:not(.crm-stand-tile--entered),
  .crm-stand-tile--animate:not(.crm-stand-tile--entered) .crm-stand-tile__icon i,
  .crm-stand-tile--entered.crm-stand-tile--occupied::after,
  .crm-stand-tile--entered.crm-stand-tile--empty::before,
  .crm-stand-tile--entered.crm-stand-tile--occupied,
  .crm-stand-tile--entered.crm-stand-tile--empty {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .crm-stand-tile--entered .crm-stand-tile__icon i {
    opacity: 1 !important;
    transform: none !important;
  }

  .crm-hall-tabs__item--entered {
    opacity: 1 !important;
  }

  .crm-stand-tile:hover {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .crm-stands-panel__body {
    flex-direction: column;
    padding: 1rem;
  }

  .crm-stands-panel__sidebar {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(3, 47, 99, 0.08);
    padding-right: 0;
    padding-bottom: 0.75rem;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .crm-hall-tabs {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .crm-hall-tabs .nav-item {
    flex-shrink: 0;
  }

  .crm-hall-tabs .nav-link {
    min-width: 140px;
  }

  .crm-stands-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

.crm-card-accent {
  height: 2px;
  background: var(--brand-primary);
}

.bg-gradient-primary,
.bg-primary.bg-gradient-primary {
  background: var(--brand-primary) !important;
  border: none;
}

.page-header-banner {
  background: #fff;
  border: 1px solid #e8edf2;
  border-left: 3px solid var(--brand-primary);
  border-radius: var(--crm-radius-lg);
  padding: 1rem 1.25rem;
  color: var(--bs-heading-color);
  box-shadow: var(--crm-shadow-sm);
}

/* ─── Formlar — yeni tasarım dili ─── */
.crm-form .mb-3,
.crm-form-panel .mb-3,
.crm-form .mb-2,
.crm-form-panel .mb-2 {
  margin-bottom: 0.85rem !important;
}

.crm-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(3, 47, 99, 0.07);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 0 0.85rem 0.85rem;
  backdrop-filter: blur(4px);
}

.crm-form__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0.65rem !important;
  border: 1px solid transparent;
  box-shadow: none !important;
  transition: all var(--crm-transition);
  white-space: nowrap;
}

.crm-form__actions .btn i {
  font-size: 1rem;
  line-height: 1;
}

.crm-form__actions .btn-primary {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary) !important;
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.18) !important;
}

.crm-form__actions .btn-primary:hover,
.crm-form__actions .btn-primary:focus,
.crm-form__actions .btn-primary:active {
  color: #fff !important;
  background: var(--brand-primary-hover) !important;
  border-color: var(--brand-primary-hover) !important;
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.22) !important;
  transform: translateY(-1px);
}

.crm-form__actions .btn-outline-primary {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-form__actions .btn-outline-primary:hover,
.crm-form__actions .btn-outline-primary:focus,
.crm-form__actions .btn-outline-primary:active {
  color: #fff !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.18) !important;
  transform: translateY(-1px);
}

.crm-form__actions .btn-outline-secondary {
  color: #6b7a8d;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-form__actions .btn-outline-secondary:hover,
.crm-form__actions .btn-outline-secondary:focus,
.crm-form__actions .btn-outline-secondary:active {
  color: var(--brand-primary) !important;
  background: #fff !important;
  border-color: rgba(3, 47, 99, 0.18) !important;
  box-shadow: 0 3px 10px rgba(3, 47, 99, 0.08) !important;
  transform: translateY(-1px);
}

.crm-form__actions--stacked {
  flex-direction: column;
  align-items: stretch;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(3, 47, 99, 0.07);
  background: rgba(247, 249, 252, 0.85);
}

.crm-form__actions--stacked .btn {
  width: 100%;
}

.crm-form__actions--plain {
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.crm-form-panel__body > .crm-form:last-child .crm-form__actions--stacked {
  margin-bottom: 0;
}

.crm-contract-modal .crm-form__actions {
  margin-top: 1rem;
  margin-bottom: 0;
  border-radius: 0.65rem;
}

.crm-contract-modal .crm-form__actions .btn {
  flex: 1;
  min-width: 0;
}

.crm-contract-modal .crm-form__actions--submit .btn-primary {
  width: 100%;
  min-height: 42px;
  border-radius: 2rem !important;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

/* Ödeme ekle — sözleşme düzenleme */
.crm-payment-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), #054a8a);
  border: 1px solid var(--brand-primary);
  border-radius: 2rem;
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.crm-payment-add-btn i {
  font-size: 1.15rem;
}

.crm-payment-add-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #02407a, var(--brand-primary));
  border-color: #02407a;
  box-shadow: 0 6px 18px rgba(3, 47, 99, 0.28);
  transform: translateY(-1px);
}

.crm-contract-payments .crm-form-panel__body {
  position: relative;
  z-index: 1;
}

.crm-contract-payments__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

.crm-contract-payments__toolbar .crm-payment-add-btn {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
}

.crm-payment-status {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
}

.crm-payment-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.crm-payment-status strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.15rem;
}

.crm-payment-status p {
  font-size: 0.75rem;
  color: #5c6b7a;
  line-height: 1.45;
}

.crm-payment-status--success {
  background: linear-gradient(135deg, #f4fbf7 0%, #eaf6ef 100%);
  border-color: rgba(45, 157, 111, 0.2);
}

.crm-payment-status--success .crm-payment-status__icon {
  background: rgba(45, 157, 111, 0.15);
  color: #2d9d6f;
}

.crm-payment-status--success strong {
  color: #1f6b4a;
}

.crm-payment-status--warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(212, 136, 10, 0.2);
}

.crm-payment-status--warning .crm-payment-status__icon {
  background: rgba(212, 136, 10, 0.15);
  color: #b45309;
}

.crm-payment-status--warning strong {
  color: #92400e;
}

.crm-payment-status--danger {
  background: linear-gradient(135deg, #fff8f8 0%, #fef5f5 100%);
  border-color: rgba(154, 25, 37, 0.15);
}

.crm-payment-status--danger .crm-payment-status__icon {
  background: var(--brand-secondary-light);
  color: var(--brand-secondary);
}

.crm-payment-status--danger strong {
  color: var(--brand-secondary);
}

.crm-contract-payments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.08);
  border-radius: 2rem;
}

.crm-contract-payments__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.crm-payments-table__action--danger {
  color: #8a96a8;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(3, 47, 99, 0.1) !important;
}

.crm-payments-table__action--danger:hover {
  color: #fff !important;
  background: var(--brand-secondary) !important;
  border-color: var(--brand-secondary) !important;
}

@media (max-width: 767.98px) {
  .crm-contract-payments__toolbar {
    flex-direction: column;
  }

  .crm-contract-payments__toolbar .crm-payment-add-btn {
    width: 100%;
  }

  .crm-contract-payments__summary {
    grid-template-columns: 1fr;
  }
}

.crm-payment-offcanvas {
  width: min(420px, 100vw);
  border-left: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.crm-payment-offcanvas__header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, var(--brand-primary), #054a8a);
  color: #fff;
}

.crm-payment-offcanvas__header .offcanvas-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.crm-payment-offcanvas__header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.crm-payment-offcanvas__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.12rem 0.45rem;
  border-radius: 2rem;
  margin-bottom: 0.25rem;
}

.crm-payment-offcanvas__body {
  padding: 1.15rem;
}

.crm-payment-offcanvas__balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(3, 47, 99, 0.1);
  background: rgba(3, 47, 99, 0.04);
  font-size: 0.8125rem;
  color: #5c6b7a;
}

.crm-payment-offcanvas__balance strong {
  color: var(--brand-primary);
  font-size: 0.9rem;
}

.crm-payment-offcanvas__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border: 1px dashed rgba(3, 47, 99, 0.2);
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.crm-payment-offcanvas__add-btn:hover {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  border-style: solid;
}

.crm-payment-offcanvas__remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--brand-secondary);
  background: var(--brand-secondary-light);
  border: 1px solid rgba(154, 25, 37, 0.15);
  border-radius: 0.45rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.crm-payment-offcanvas__remove-btn:hover {
  color: #fff;
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.crm-payment-offcanvas .crm-form__actions--plain {
  margin-top: 0.5rem;
}

.crm-payment-offcanvas .vade-date,
.crm-payment-offcanvas .cek-date {
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.form-text {
  font-size: 0.7rem;
  color: #8a96a8;
  margin-top: 0.25rem;
}

.form-control,
.form-select {
  height: auto;
  min-height: 38px;
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  color: #4a5568;
  background: rgba(255, 255, 255, 0.95);
  transition: border-color var(--crm-transition), box-shadow var(--crm-transition), background var(--crm-transition);
}

.form-control::placeholder {
  color: #a8b2c0;
}

.form-control:hover:not(:disabled):not([readonly]),
.form-select:hover:not(:disabled) {
  border-color: rgba(3, 47, 99, 0.18);
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(3, 47, 99, 0.28);
  box-shadow: 0 0 0 3px rgba(3, 47, 99, 0.08);
  background: #fff;
  color: #4a5568;
}

.form-control:disabled,
.form-select:disabled,
.form-control[readonly] {
  background: #f4f7fa;
  border-color: rgba(3, 47, 99, 0.06);
  color: #8a96a8;
}

textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.form-control-lg,
.form-select-lg,
.input-group-lg > .form-control,
.input-group-lg > .form-select {
  min-height: 42px;
  font-size: 0.875rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.75rem;
}

.form-control-sm,
.form-select-sm {
  min-height: 32px;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 0.5rem;
}

.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: rgba(154, 25, 37, 0.45);
  background-image: none;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(154, 25, 37, 0.1);
}

.invalid-feedback,
.valid-feedback {
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.form-check {
  padding-left: 1.65rem;
  min-height: 1.25rem;
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  border: 1px solid rgba(3, 47, 99, 0.2);
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.form-check-input:focus {
  border-color: rgba(3, 47, 99, 0.35);
  box-shadow: 0 0 0 3px rgba(3, 47, 99, 0.08);
}

.form-check-label {
  font-size: 0.8125rem;
  color: #5c6b7a;
}

.form-switch .form-check-input {
  width: 2rem;
  border-radius: 2rem;
}

.input-group {
  border-radius: 0.65rem;
}

.input-group > .form-control,
.input-group > .form-select {
  border-radius: 0;
}

.input-group > :not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group > :not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > :first-child {
  border-top-left-radius: 0.65rem;
  border-bottom-left-radius: 0.65rem;
}

.input-group > :last-child {
  border-top-right-radius: 0.65rem;
  border-bottom-right-radius: 0.65rem;
}

.input-group-text {
  background: rgba(3, 47, 99, 0.04);
  border: 1px solid rgba(3, 47, 99, 0.1);
  color: #8a96a8;
  font-size: 0.8125rem;
  padding: 0.45rem 0.75rem;
}

.input-group:focus-within .input-group-text {
  border-color: rgba(3, 47, 99, 0.28);
  color: var(--brand-primary);
}

.input-group:focus-within .form-control,
.input-group:focus-within .form-select {
  border-color: rgba(3, 47, 99, 0.28);
}

.input-group.rounded-pill,
.input-group.rounded-pill > .form-control,
.input-group.rounded-pill > .input-group-text {
  border-radius: 2rem;
}

.input-group.rounded-pill > :first-child {
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.input-group.rounded-pill > :last-child {
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

/* intl-tel-input */
.iti {
  display: block;
  width: 100%;
}

.iti .form-control {
  width: 100%;
  padding-left: 52px;
}

.iti__country-container {
  padding-left: 0.5rem;
}

.iti__selected-country {
  border-radius: 0.5rem 0 0 0.5rem;
}

.iti__selected-country-primary:hover,
.iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary {
  background: rgba(3, 47, 99, 0.05);
}

/* ─── Tablolar ─── */
.table thead th {
  background-color: #f8fafc;
  color: #6b7a8d;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e8edf2;
  padding: 0.65rem 0.875rem;
}

.table tbody td {
  padding: 0.6rem 0.875rem;
  font-size: 0.8125rem;
  vertical-align: middle;
  border-color: #f0f4f8;
}

.table {
  --bs-table-hover-bg: #f4f7fa;
}

.table-hover > tbody > tr:hover > * {
  background-color: #f4f7fa;
}

/* ─── Badge & Alert ─── */
.badge.bg-primary {
  background-color: var(--brand-primary) !important;
}

.badge.bg-secondary {
  background-color: var(--brand-secondary) !important;
}

.badge.bg-danger {
  background-color: var(--brand-secondary) !important;
}

.alert-primary {
  background-color: var(--brand-primary-light);
  border-color: var(--brand-primary-subtle);
  color: var(--brand-primary-dark);
}

.alert-danger {
  background-color: var(--brand-secondary-light);
  border-color: #e8b3b9;
  color: var(--brand-secondary-hover);
  border-radius: 0.75rem;
  font-size: 0.8125rem;
}

.alert-success {
  background-color: #e8f5ee;
  border-color: rgba(45, 157, 111, 0.2);
  color: #1f6b4a;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
}

.alert-warning {
  border-radius: 0.75rem;
  font-size: 0.8125rem;
}

/* ─── Dropdown ─── */
.dropdown-menu {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--crm-radius);
  box-shadow: var(--crm-shadow-lg);
  padding: 0.375rem;
}

.dropdown-item {
  border-radius: calc(var(--crm-radius) - 2px);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  transition: all var(--crm-transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
}

.dropdown-menu-header {
  background-color: #fff;
}

/* ─── Tooltips ─── */
.tooltip {
  --bs-tooltip-max-width: 240px;
  --bs-tooltip-padding-x: 0.65rem;
  --bs-tooltip-padding-y: 0.35rem;
  --bs-tooltip-font-size: var(--crm-font-xs);
  --bs-tooltip-color: #fff;
  --bs-tooltip-bg: var(--brand-primary);
  --bs-tooltip-border-radius: 0.375rem;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-arrow-width: 0.65rem;
  --bs-tooltip-arrow-height: 0.35rem;
}

.tooltip .tooltip-inner {
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  box-shadow: var(--crm-shadow);
  text-align: center;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: var(--brand-primary);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: var(--brand-primary);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: var(--brand-primary);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: var(--brand-primary);
}

.tooltip-primary .tooltip-inner,
.tooltip-primary > .tooltip .tooltip-inner {
  background: var(--brand-primary);
  color: #fff;
}

.tooltip-primary.bs-tooltip-top .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: var(--brand-primary);
}

.tooltip-primary.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: var(--brand-primary);
}

.tooltip-primary.bs-tooltip-start .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: var(--brand-primary);
}

.tooltip-primary.bs-tooltip-end .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip-primary > .tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: var(--brand-primary);
}

.tooltip-secondary .tooltip-inner,
.tooltip-secondary > .tooltip .tooltip-inner {
  background: var(--brand-secondary);
  color: #fff;
}

.tooltip-secondary.bs-tooltip-top .tooltip-arrow::before,
.tooltip-secondary.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: var(--brand-secondary);
}

.tooltip-secondary.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip-secondary.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: var(--brand-secondary);
}

.tooltip-secondary.bs-tooltip-start .tooltip-arrow::before,
.tooltip-secondary.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: var(--brand-secondary);
}

.tooltip-secondary.bs-tooltip-end .tooltip-arrow::before,
.tooltip-secondary.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip-secondary > .tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: var(--brand-secondary);
}

/* ─── Footer ─── */
.bg-footer-theme,
.content-footer.footer {
  background-color: transparent !important;
  border-top: none;
  color: #6b7a8d;
  padding: 0;
}

.crm-footer {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 45%, #fff9fa 100%) !important;
  box-shadow: 0 -4px 24px rgba(3, 47, 99, 0.04);
}

.crm-footer__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.crm-footer__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
}

.crm-footer__blob--1 {
  width: 180px;
  height: 180px;
  top: -90px;
  left: -40px;
  background: rgba(3, 47, 99, 0.1);
}

.crm-footer__blob--2 {
  width: 140px;
  height: 140px;
  bottom: -70px;
  right: 8%;
  background: rgba(154, 25, 37, 0.08);
}

.crm-footer__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(3, 47, 99, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 47, 99, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 70%);
}

.crm-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem 1.25rem;
}

.crm-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.crm-footer__logo {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}

.crm-footer__tagline {
  font-size: 0.6875rem;
  color: #8a96a8;
  letter-spacing: 0.03em;
}

.crm-footer__center {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.crm-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(3, 47, 99, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 2rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.04);
}

.crm-footer__pill i {
  font-size: 0.875rem;
}

.crm-footer__copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #8a96a8;
}

.crm-footer__link {
  font-weight: 600;
  text-decoration: none;
  transition: color var(--crm-transition);
}

.footer-link {
  color: var(--brand-primary) !important;
}

.footer-link:hover,
.crm-footer__link:hover {
  color: var(--brand-primary-hover) !important;
}

@media (max-width: 767.98px) {
  .crm-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.875rem 1rem;
  }

  .crm-footer__center {
    justify-content: flex-start;
  }

  .crm-footer__copy {
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px dashed rgba(3, 47, 99, 0.1);
  }
}

/* ─── Pagination ─── */
.page-link {
  color: var(--brand-primary);
  border-color: var(--bs-border-color);
  border-radius: var(--crm-radius) !important;
  margin: 0 2px;
}

.page-link:hover {
  background-color: var(--brand-primary-light);
  border-color: var(--brand-primary-subtle);
  color: var(--brand-primary);
}

.page-item.active .page-link {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ─── Nav Pills & Tabs ─── */
.crm-stands-panel .crm-hall-tabs.nav-pills .nav-link.active,
.crm-stands-panel .crm-hall-tabs .nav-link.active {
  background-color: var(--brand-secondary) !important;
  border-color: var(--brand-secondary) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(154, 25, 37, 0.22);
}

.crm-stands-panel .crm-hall-tabs .nav-link.active .crm-hall-tabs__icon {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.crm-stands-panel .crm-hall-tabs .nav-link.active .crm-hall-tabs__text small,
.crm-stands-panel .crm-hall-tabs .nav-link.active .crm-hall-tabs__arrow {
  color: #fff !important;
}

.nav-pills .nav-link.active {
  background-color: var(--brand-primary);
}

.nav-tabs .nav-link.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.nav-tabs .nav-link:hover {
  color: var(--brand-primary);
}

/* ─── Select2 ─── */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  min-height: 38px;
  border: 1px solid rgba(3, 47, 99, 0.1) !important;
  border-radius: 0.65rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
  transition: border-color var(--crm-transition), box-shadow var(--crm-transition);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-left: 0.85rem;
  padding-right: 2rem;
  font-size: 0.8125rem;
  color: #4a5568;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 0.5rem;
}

.select2-container--default .select2-selection--multiple {
  padding: 0.2rem 0.45rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: rgba(3, 47, 99, 0.07) !important;
  border: 1px solid rgba(3, 47, 99, 0.12) !important;
  border-radius: 2rem !important;
  color: var(--brand-primary) !important;
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  margin-top: 0.2rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--brand-primary) !important;
  margin-right: 0.25rem;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: rgba(3, 47, 99, 0.28) !important;
  box-shadow: 0 0 0 3px rgba(3, 47, 99, 0.08) !important;
}

.select2-dropdown {
  border: 1px solid rgba(3, 47, 99, 0.1) !important;
  border-radius: 0.65rem !important;
  box-shadow: 0 8px 24px rgba(3, 47, 99, 0.1) !important;
  overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(3, 47, 99, 0.1);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.4rem 0.65rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: rgba(3, 47, 99, 0.28);
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 47, 99, 0.08);
}

.select2-container--default .select2-results__option {
  font-size: 0.8125rem;
  padding: 0.45rem 0.75rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--brand-primary) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: rgba(3, 47, 99, 0.06) !important;
  color: var(--brand-primary) !important;
}

/* ─── Auth Sayfaları (app layout) ─── */
.authentication-wrapper.authentication-basic .authentication-inner:before,
.authentication-wrapper.authentication-basic .authentication-inner:after {
  display: none !important;
  content: none !important;
}

/* ─── Preloader ─── */
#preloader {
  background: #fff;
}

#preloader .spinner {
  border-color: var(--brand-primary-light);
  border-top-color: var(--brand-primary);
}

/* ─── Bildirimler ─── */
.dropdown-notifications-item[style*="background:#e7efff"] {
  background: var(--brand-primary-light) !important;
}

/* ─── Gradient Override — düz renkler ─── */
.bg-gradient-primary {
  background: var(--brand-primary) !important;
}

.bg-gradient-secondary {
  background: var(--brand-secondary) !important;
}

.bg-gradient-success {
  background: linear-gradient(135deg, #2d9d6f 0%, #248a5e 100%) !important;
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #d4880a 0%, #b87508 100%) !important;
}

.bg-gradient-info {
  background: linear-gradient(135deg, #0e7c9e 0%, #0a627d 100%) !important;
}

.bg-gradient-danger {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-hover) 100%) !important;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f3f5;
}

::-webkit-scrollbar-thumb {
  background: #c5cdd8;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary-subtle);
}

/* ─── Yardımcı Sınıflar ─── */
.text-primary {
  color: var(--brand-primary) !important;
}

.text-secondary {
  color: var(--brand-secondary) !important;
}

.bg-primary {
  background-color: var(--brand-primary) !important;
}

.bg-secondary {
  background-color: var(--brand-secondary) !important;
}

.border-primary {
  border-color: var(--brand-primary) !important;
}

.shadow-crm {
  box-shadow: var(--crm-shadow);
}

.rounded-crm {
  border-radius: var(--crm-radius-lg);
}

/* ─── Dark Mode ─── */
.dark-style {
  --bs-body-bg: #141b27;
  --bs-body-color: #a8b8cc;
  --bs-heading-color: #e2e8f0;
  --bs-border-color: #2a3548;
  --brand-primary-light: rgba(3, 47, 99, 0.25);
}

.dark-style .bg-navbar-theme,
.dark-style .layout-horizontal .layout-navbar {
  background: #1a2332 !important;
  border-bottom-color: var(--bs-border-color) !important;
}

.dark-style .bg-navbar-theme .app-brand-logo img {
  filter: brightness(0) invert(1);
}

.dark-style .bg-navbar-theme .navbar-nav > .nav-link,
.dark-style .bg-navbar-theme .navbar-nav > .nav-item > .nav-link {
  color: #a8b8cc !important;
}

.dark-style .bg-menu-theme {
  background: linear-gradient(180deg, #1a2332 0%, #141b27 100%) !important;
  border-bottom-color: var(--bs-border-color);
}

.dark-style .bg-menu-theme .menu-link {
  color: #a8b8cc !important;
}

.dark-style .bg-menu-theme .menu-item.active > .menu-link,
.dark-style .bg-menu-theme .menu-link:hover {
  background-color: rgba(3, 47, 99, 0.35) !important;
  color: #7eb3f0 !important;
}

.dark-style .card {
  background-color: #1a2332;
  border-color: var(--bs-border-color);
}

.dark-style .table thead th {
  background-color: rgba(3, 47, 99, 0.3);
  color: #7eb3f0;
}

.dark-style .content-footer.footer {
  background: linear-gradient(135deg, #1a2332 0%, #141b27 50%, #1a2332 100%) !important;
  border-top-color: var(--bs-border-color);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.dark-style .crm-footer__blob--1 {
  background: rgba(3, 47, 99, 0.25);
}

.dark-style .crm-footer__blob--2 {
  background: rgba(154, 25, 37, 0.15);
}

.dark-style .crm-footer__grid {
  background-image:
    linear-gradient(rgba(126, 179, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 179, 240, 0.04) 1px, transparent 1px);
}

.dark-style .crm-footer__logo {
  color: #7eb3f0;
}

.dark-style .crm-footer__tagline,
.dark-style .crm-footer__copy {
  color: #8a96a8;
}

.dark-style .crm-footer__pill {
  background: rgba(26, 35, 50, 0.8);
  border-color: rgba(126, 179, 240, 0.15);
  color: #7eb3f0;
}

.dark-style .crm-footer__copy {
  border-top-color: rgba(126, 179, 240, 0.1);
}

.dark-style .crm-entity-row--past {
  background: linear-gradient(145deg, #1a2332 0%, #161d29 55%, #1a2332 100%);
  border-color: rgba(138, 150, 168, 0.15);
}

.dark-style .tooltip {
  --bs-tooltip-bg: #2a4a6b;
  --bs-tooltip-color: #e8eef5;
}

.dark-style .tooltip.bs-tooltip-top .tooltip-arrow::before,
.dark-style .tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: #2a4a6b;
}

.dark-style .tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.dark-style .tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: #2a4a6b;
}

.dark-style .tooltip.bs-tooltip-start .tooltip-arrow::before,
.dark-style .tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: #2a4a6b;
}

.dark-style .tooltip.bs-tooltip-end .tooltip-arrow::before,
.dark-style .tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: #2a4a6b;
}

.dark-style .tooltip .tooltip-inner {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ─── Görevler ─── */
.crm-task-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.crm-task-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7a8d;
  text-decoration: none;
  border-radius: 2rem;
  border: 1px solid rgba(3, 47, 99, 0.1);
  background: #fff;
  transition: all var(--crm-transition);
}

.crm-task-tabs__item:hover {
  color: var(--brand-primary);
  border-color: rgba(3, 47, 99, 0.2);
  background: var(--brand-primary-light);
}

.crm-task-tabs__item--active {
  color: var(--brand-primary);
  border-color: rgba(3, 47, 99, 0.2);
  background: var(--brand-primary-light);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.08);
}

.crm-task-avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
  margin-left: -4px;
  box-shadow: 0 1px 4px rgba(3, 47, 99, 0.12);
}

.crm-task-avatar-sm:first-child {
  margin-left: 0;
}

.crm-task-sidebar-panel {
  position: sticky;
  top: 1rem;
}

.crm-task-calendar-wrap {
  width: 100%;
  min-width: 0;
  margin: 0 -0.25rem;
}

.crm-task-calendar-wrap #calendar {
  width: 100%;
}

.crm-task-calendar-wrap .fc {
  --fc-border-color: rgba(3, 47, 99, 0.08);
  --fc-button-bg-color: var(--brand-primary);
  --fc-button-border-color: var(--brand-primary);
  --fc-button-hover-bg-color: #0a4a8a;
  --fc-button-hover-border-color: #0a4a8a;
  --fc-button-active-bg-color: #0a4a8a;
  --fc-today-bg-color: var(--brand-primary-light);
  width: 100% !important;
  max-width: 100%;
  font-size: 0.75rem;
}

.crm-task-calendar-wrap .fc .fc-view-harness,
.crm-task-calendar-wrap .fc .fc-scrollgrid,
.crm-task-calendar-wrap .fc .fc-scrollgrid-sync-table,
.crm-task-calendar-wrap .fc .fc-daygrid-body,
.crm-task-calendar-wrap .fc table {
  width: 100% !important;
}

.crm-task-calendar-wrap .fc .fc-header-toolbar {
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem !important;
}

.crm-task-calendar-wrap .fc .fc-toolbar-chunk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.crm-task-calendar-wrap .fc .fc-toolbar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-task-calendar-wrap .fc .fc-button {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
}

.crm-task-sidebar-panel .crm-form-panel__body--calendar {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  overflow: hidden;
}

.crm-task-step-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.8);
}

.crm-task-step-input__handle {
  color: #b0bac9;
  flex-shrink: 0;
}

.crm-task-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crm-task-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.crm-task-step:hover {
  border-color: rgba(3, 47, 99, 0.15);
  background: #fff;
}

.crm-task-step--done {
  background: rgba(45, 157, 111, 0.05);
  border-color: rgba(45, 157, 111, 0.15);
}

.crm-task-step--done .crm-task-step__label,
.crm-task-step--done .step-title-input {
  text-decoration: line-through;
  color: #8a96a8;
}

.crm-task-step__handle {
  color: #b0bac9;
  cursor: grab;
  flex-shrink: 0;
}

.crm-task-step__bullet {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.crm-task-step__label {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
}

.crm-task-step .form-control {
  flex: 1;
  border-color: transparent;
  background: transparent;
  padding-left: 0;
  box-shadow: none;
}

.crm-task-step .form-control:focus {
  border-color: rgba(3, 47, 99, 0.15);
  background: #fff;
}

.crm-task-step-add {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.crm-task-step-add .form-control {
  flex: 1;
}

.crm-task-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #4a5568;
}

.crm-task-comments-panel .crm-form-panel__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.crm-task-comments {
  flex: 1 1 auto;
  max-height: 420px;
  min-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.15rem;
}

.crm-task-comment-form {
  flex-shrink: 0;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
  padding-top: 0.85rem;
  margin-top: 0.85rem !important;
}

.crm-task-comment {
  display: flex;
}

.crm-task-comment--mine {
  justify-content: flex-end;
}

.crm-task-comment__bubble {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: #f4f7fa;
  border: 1px solid rgba(3, 47, 99, 0.06);
  word-break: break-word;
}

.crm-task-comment--mine .crm-task-comment__bubble {
  background: var(--brand-primary-light);
  border-color: rgba(3, 47, 99, 0.12);
}

.crm-task-comment__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
}

.crm-task-comment__head strong {
  color: var(--brand-primary);
}

.crm-task-comment__head small {
  color: #8a96a8;
  white-space: nowrap;
}

.crm-task-comment__bubble p {
  font-size: 0.8125rem;
  color: #4a5568;
}

.crm-task-comments-panel {
  position: sticky;
  top: 1rem;
}

@media (max-width: 991.98px) {
  .crm-task-sidebar-panel,
  .crm-task-comments-panel {
    position: static;
  }

  .crm-task-tabs {
    margin-left: 0;
    width: 100%;
  }
}

/* ─── Notlar ─── */
.crm-note-sidebar-panel {
  position: sticky;
  top: 1rem;
}

.crm-note-card {
  --note-color: var(--brand-primary);
}

.crm-note-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--note-color);
  z-index: 2;
  border-radius: 1rem 0 0 1rem;
}

.crm-note-card__pin {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  color: var(--brand-primary);
  font-size: 1rem;
}

.crm-note-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.crm-note-card__tags .crm-status-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  text-decoration: none;
}

.crm-note-color-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.crm-note-color-filters__swatch {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(3, 47, 99, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.crm-note-color-filters__swatch:hover {
  transform: scale(1.08);
}

.crm-note-color-filters__swatch--active,
.crm-note-color-filters__swatch--pick:has(input:checked) {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-primary);
  transform: scale(1.08);
}

.crm-note-draft-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.crm-note-draft-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-note-draft-list__item:last-child {
  border-bottom: none;
}

.crm-note-draft-list__main {
  min-width: 0;
}

.crm-note-draft-list__main strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--brand-primary);
  margin-bottom: 0.15rem;
}

.crm-note-draft-list__main small {
  font-size: 0.6875rem;
  color: #8a96a8;
}

.crm-note-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.crm-note-tag-cloud__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 2rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.crm-note-tag-cloud__item:hover {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.crm-note-tag-cloud__item span {
  font-weight: 500;
  color: #8a96a8;
  font-size: 0.6875rem;
}

.crm-note-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(3, 47, 99, 0.05);
}

.crm-note-meta-row:last-child {
  border-bottom: none;
}

.crm-note-meta-row__label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-note-meta-row__label i {
  margin-right: 0.25rem;
  color: var(--brand-primary);
}

.crm-note-meta-row__value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a5568;
}

.crm-note-share-box {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(3, 47, 99, 0.04);
  border: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-note-share-box__link {
  font-size: 0.75rem;
  color: var(--brand-primary);
  word-break: break-all;
  text-decoration: none;
}

.crm-note-share-box__link:hover {
  text-decoration: underline;
}

.crm-contract-modal .ck-editor__editable_inline {
  min-height: 280px;
}

@media (max-width: 991.98px) {
  .crm-note-sidebar-panel {
    position: static;
  }
}

/* ─── Kullanıcılar ─── */
.crm-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  border: 1px solid rgba(3, 47, 99, 0.1);
  flex-shrink: 0;
}

.crm-user-avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.1);
}

.crm-status-badges.justify-content-center {
  justify-content: center;
}

/* Toplu SMS / E-posta */
.crm-messaging-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.05);
}

.crm-messaging-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7a8d;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.crm-messaging-nav__link:hover {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.05);
}

.crm-messaging-nav__link.is-active {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.2);
}

.crm-messaging-nav__link i {
  font-size: 1rem;
}

.crm-messaging-split__panel {
  min-height: 100%;
}

.crm-messaging-split__textarea {
  min-height: 260px;
  resize: vertical;
}

.crm-messaging-bulk--split {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.crm-messaging-bulk--split .crm-messaging-bulk__body {
  flex: 1;
  min-height: 0;
}

.crm-messaging-bulk--split .table-responsive {
  max-height: 420px;
  overflow: auto;
}

/* SMS / E-posta servisi — eski hub stilleri */
.crm-messaging-hub {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.crm-messaging-hub__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(3, 47, 99, 0.05);
}

.crm-messaging-hub__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7a8d;
}

.crm-messaging-hub__hint i {
  font-size: 1.1rem;
  color: var(--brand-primary);
  opacity: 0.85;
}

.crm-messaging-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.crm-messaging-block__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.crm-messaging-block__icon {
  width: 44px;
  height: 44px;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0a4a8a 100%);
  box-shadow: 0 4px 14px rgba(3, 47, 99, 0.18);
  font-size: 1.25rem;
}

.crm-messaging-block__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
  margin-bottom: 0.25rem;
}

.crm-messaging-block__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.15rem;
  line-height: 1.3;
}

.crm-messaging-block__desc {
  font-size: 0.8125rem;
  color: #8a96a8;
}

.crm-messaging-block__panel {
  margin: 0;
}

.crm-messaging-compose {
  border: 1px dashed rgba(3, 47, 99, 0.14);
  background: rgba(248, 251, 255, 0.65);
}

.crm-messaging-block + .crm-messaging-block {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-messaging-bulk.is-loading [data-messaging-ajax-content] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.crm-messaging-bulk__body {
  min-height: 120px;
}

.crm-messaging-bulk__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.07);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.crm-messaging-bulk__select-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.crm-messaging-bulk__banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 1.15rem 0;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  background: rgba(3, 47, 99, 0.06);
  border: 1px solid rgba(3, 47, 99, 0.1);
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.crm-messaging-bulk__banner i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.crm-messaging-bulk__search {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(248, 251, 255, 0.65);
}

.crm-messaging-bulk__search .crm-toolbar__form {
  margin: 0;
}

.crm-messaging-bulk__pagination {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
  background: rgba(248, 251, 255, 0.45);
}

.crm-messaging-bulk__pagination .crm-pagination-wrap {
  margin-top: 0;
  padding-bottom: 0;
}

.crm-bulk-select-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.12);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.crm-bulk-select-chip:hover {
  border-color: rgba(3, 47, 99, 0.2);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.06);
}

.crm-bulk-select-chip:has(input:checked) {
  border-color: rgba(3, 47, 99, 0.22);
  background: var(--brand-primary-light);
}

.crm-bulk-select-chip__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.crm-bulk-select-chip__box {
  width: 22px;
  height: 22px;
  border-radius: 0.45rem;
  border: 1.5px solid rgba(3, 47, 99, 0.2);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.crm-bulk-select-chip:has(input:checked) .crm-bulk-select-chip__box {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.crm-bulk-select-chip__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a5568;
  white-space: nowrap;
}

.crm-bulk-select-chip:has(input:checked) .crm-bulk-select-chip__label {
  color: var(--brand-primary);
}

.crm-messaging-table thead th {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
  background: #f8fafc !important;
  border-bottom: 1px solid #e8edf2;
  padding: 0.75rem 1rem;
}

.crm-messaging-table tbody td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(3, 47, 99, 0.05);
  font-size: 0.8125rem;
  color: #4a5568;
}

.crm-messaging-table__row:hover td {
  background: rgba(248, 251, 255, 0.85);
}

.crm-messaging-table__check {
  width: 48px;
  padding-left: 1rem !important;
}

.crm-messaging-table__name {
  font-weight: 600;
  color: #2d3748;
}

.crm-messaging-table__contact {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--brand-primary);
}

.crm-messaging-check {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.crm-messaging-check__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.crm-messaging-check__box {
  width: 20px;
  height: 20px;
  border-radius: 0.4rem;
  border: 1.5px solid rgba(3, 47, 99, 0.18);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.crm-messaging-check:has(input:checked) .crm-messaging-check__box {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.crm-messaging-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 1rem;
  color: #8a96a8;
  font-size: 0.875rem;
}

.crm-messaging-empty i {
  font-size: 2rem;
  opacity: 0.5;
}

.crm-messaging-footer {
  margin-top: 0;
  border-radius: 0 0 0.85rem 0.85rem;
}

.crm-messaging-footer__count {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.06);
  border-radius: 2rem;
}

.crm-form__actions button.crm-toolbar__action {
  border: none;
  cursor: pointer;
}

.crm-form__actions .crm-toolbar__action--primary:hover {
  transform: translateY(-1px);
}

.crm-campaign-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.crm-campaign-summary-stats__progress {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(3, 47, 99, 0.06);
}

.crm-campaign-summary-stats__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.crm-campaign-summary-stats__progress-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-campaign-summary-stats__progress-value {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-campaign-stats__item {
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(3, 47, 99, 0.04);
  border: 1px solid rgba(3, 47, 99, 0.08);
  text-align: center;
}

.crm-campaign-stats__item--success {
  background: rgba(25, 135, 84, 0.08);
  border-color: rgba(25, 135, 84, 0.15);
}

.crm-campaign-stats__item--warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.2);
}

.crm-campaign-stats__item--danger {
  background: rgba(220, 53, 69, 0.08);
  border-color: rgba(220, 53, 69, 0.15);
}

.crm-campaign-stats__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.crm-campaign-stats__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
}

.crm-campaign-link {
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.crm-campaign-link:hover {
  color: #02407a;
  text-decoration: underline;
}

.crm-campaign-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a96a8;
}

.crm-campaign-meta dd {
  font-size: 0.875rem;
  color: #334155;
}

.crm-stat-card--compact {
  box-shadow: 0 1px 6px rgba(3, 47, 99, 0.04);
}

.crm-stat-card--compact:hover {
  transform: none;
  box-shadow: 0 1px 6px rgba(3, 47, 99, 0.04);
}

.crm-stat-card--compact .card-body {
  padding: 0.65rem 0.75rem;
  gap: 0.35rem;
}

.crm-stat-card--compact .crm-stat-card__icon-ring {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.crm-stat-card--compact .crm-stat-card__label {
  font-size: 0.625rem;
}

.crm-stat-card--compact .crm-stat-card__value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
  margin-top: 0;
  padding-left: 0;
}

.crm-stat-card--compact.crm-stat-card--metric .crm-stat-card__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.crm-campaign-detail__stat-value {
  font-size: inherit;
  line-height: inherit;
  word-break: break-word;
}

.crm-campaign-detail__subject {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
}

.crm-campaign-message {
  font-family: inherit;
  font-size: 0.875rem;
  background: rgba(248, 251, 255, 0.8);
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.65rem;
  padding: 0.85rem;
}

pre.crm-campaign-message {
  white-space: pre-wrap;
}

div.crm-campaign-message {
  white-space: normal;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.crm-campaign-preview {
  max-height: 320px;
  overflow: auto;
  font-size: 0.875rem;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.crm-campaign-preview img,
div.crm-campaign-message img {
  max-width: 100% !important;
  height: auto !important;
}

.crm-campaign-preview table,
div.crm-campaign-message table {
  max-width: 100%;
}

.crm-campaign-preview iframe,
div.crm-campaign-message iframe,
.crm-campaign-preview video,
div.crm-campaign-message video {
  max-width: 100%;
  height: auto;
}

/* Marketing e-posta CKEditor — geniş düzenleme alanı */
.crm-marketing-email-editor__mount--tall {
  min-height: 800px !important;
}

.crm-marketing-email-editor__mount--tall .ck.ck-editor {
  min-height: 800px !important;
}

.crm-marketing-email-editor__mount--tall .ck.ck-editor__main {
  min-height: 720px !important;
}

.crm-marketing-email-editor__mount--tall .ck.ck-editor__editable,
.crm-marketing-email-editor__mount--tall .ck.ck-editor__editable_inline {
  min-height: 720px !important;
  height: 720px !important;
  max-height: none !important;
  overflow-y: auto !important;
}

.crm-marketing-email-editor__toolbar {
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 2px 12px rgba(3, 47, 99, 0.05);
}

.crm-marketing-email-editor__toolbar-hint {
  font-size: 0.75rem;
  color: #8a96a8;
  line-height: 1.45;
}

.crm-marketing-email-blocks__toggle-title {
  font-weight: 700;
}

.crm-marketing-email-blocks__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(3, 47, 99, 0.08);
  color: var(--brand-primary);
  font-size: 0.6875rem;
  font-weight: 700;
}

.crm-marketing-email-blocks__body {
  padding: 0.95rem 1rem 1.05rem;
}

.crm-marketing-email-blocks__hint {
  font-size: 0.75rem;
  color: #8a96a8;
  line-height: 1.45;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.06);
  margin-bottom: 0.85rem !important;
}

.crm-marketing-sender {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 2px 12px rgba(3, 47, 99, 0.05);
}

.crm-marketing-sender__icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0a4a8a 100%);
  box-shadow: 0 4px 12px rgba(3, 47, 99, 0.15);
  font-size: 1.1rem;
}

.crm-marketing-sender__icon--sm {
  width: 32px;
  height: 32px;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.12);
}

.crm-marketing-sender__content {
  min-width: 0;
  flex: 1;
}

.crm-marketing-sender__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.crm-marketing-sender__email {
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 500;
  line-height: 1.4;
}

.crm-marketing-sender__hint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #8a96a8;
  line-height: 1.45;
}

.crm-marketing-sender--empty {
  border-color: rgba(180, 83, 9, 0.12);
  background: linear-gradient(145deg, #fffdf9 0%, #fff8f0 100%);
}

.crm-marketing-sender--empty .crm-marketing-sender__icon {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.15);
}

.crm-marketing-sender--empty .crm-marketing-sender__name {
  color: #92400e;
}

.crm-marketing-sender--inline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  background: rgba(248, 251, 255, 0.85);
  box-shadow: none;
}

.crm-marketing-sender--inline .crm-marketing-sender__text {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.35;
}

.crm-marketing-sender--inline .crm-marketing-sender__text strong {
  font-weight: 700;
  color: #1e293b;
}

.crm-marketing-sender--inline .crm-marketing-sender__email {
  margin-left: 0.35rem;
  color: #8a96a8;
  font-weight: 500;
}

.crm-marketing-email-blocks__grid {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.crm-marketing-email-blocks__section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.07);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.crm-marketing-email-blocks__section-title .bx {
  font-size: 0.85rem;
  opacity: 0.85;
}

.crm-marketing-email-blocks__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 0.6rem;
}

.crm-marketing-email-blocks__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 55%, #fff9fa 100%);
  box-shadow: 0 2px 10px rgba(3, 47, 99, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.crm-marketing-email-blocks__item:hover {
  border-color: rgba(3, 47, 99, 0.18);
  box-shadow: 0 8px 20px rgba(3, 47, 99, 0.1);
  transform: translateY(-2px);
}

.crm-marketing-email-blocks__item:focus-visible {
  outline: 2px solid rgba(3, 47, 99, 0.25);
  outline-offset: 2px;
}

.crm-marketing-email-blocks__preview {
  display: block;
  min-height: 54px;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(3, 47, 99, 0.06);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.crm-marketing-email-blocks__preview--button-primary::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: 18px;
  border-radius: 999px;
  background: var(--brand-primary);
}

.crm-marketing-email-blocks__preview--button-secondary::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--brand-primary);
  background: #fff;
}

.crm-marketing-email-blocks__preview--card-info {
  background: #f8fafc;
}

.crm-marketing-email-blocks__preview--card-info::before,
.crm-marketing-email-blocks__preview--card-info::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  height: 6px;
  border-radius: 999px;
  background: rgba(3, 47, 99, 0.18);
}

.crm-marketing-email-blocks__preview--card-info::before {
  top: 28%;
}

.crm-marketing-email-blocks__preview--card-info::after {
  top: 52%;
  opacity: 0.55;
  height: 5px;
}

.crm-marketing-email-blocks__preview--card-highlight {
  background: linear-gradient(135deg, #032f63 0%, #024a96 100%);
}

.crm-marketing-email-blocks__preview--card-highlight::before,
.crm-marketing-email-blocks__preview--card-highlight::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.crm-marketing-email-blocks__preview--card-highlight::before {
  top: 24%;
  height: 6px;
}

.crm-marketing-email-blocks__preview--card-highlight::after {
  top: 58%;
  left: 28%;
  right: 28%;
  height: 14px;
  background: #fff;
}

.crm-marketing-email-blocks__preview--card-columns::before,
.crm-marketing-email-blocks__preview--card-columns::after {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 18%;
  width: 38%;
  border-radius: 0.35rem;
  background: #f8fafc;
  border: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-marketing-email-blocks__preview--card-columns::before {
  left: 10%;
}

.crm-marketing-email-blocks__preview--card-columns::after {
  right: 10%;
}

.crm-marketing-email-blocks__preview--section-hero {
  background: linear-gradient(135deg, #032f63 0%, #024a96 100%);
}

.crm-marketing-email-blocks__preview--section-hero::before,
.crm-marketing-email-blocks__preview--section-hero::after {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.crm-marketing-email-blocks__preview--section-hero::before {
  top: 22%;
  height: 5px;
  opacity: 0.65;
}

.crm-marketing-email-blocks__preview--section-hero::after {
  top: 44%;
  height: 10px;
}

.crm-marketing-email-blocks__preview--section-divider::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: #cbd5e1;
}

.crm-marketing-email-blocks__preview--section-spacer {
  background: repeating-linear-gradient(
    -45deg,
    #f8fafc,
    #f8fafc 6px,
    #eef2f7 6px,
    #eef2f7 12px
  );
}

.crm-marketing-email-blocks__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-align: center;
  line-height: 1.2;
}

/* Marketing list members UI */
.crm-marketing-list-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.crm-marketing-list-stats__item {
  background: #fff;
  border: 1px solid rgba(3, 47, 99, 0.08);
  border-radius: 0.85rem;
  padding: 0.85rem 1.15rem;
  min-width: 140px;
  box-shadow: 0 1px 2px rgba(3, 47, 99, 0.04);
}

.crm-marketing-list-stats__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a96a8;
  margin-bottom: 0.25rem;
}

.crm-marketing-list-stats__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748;
}

.crm-marketing-channel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.crm-marketing-channel-badge--sms {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.crm-marketing-channel-badge--email {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.crm-marketing-channel-badge--both {
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
}

.crm-marketing-member-layout {
  align-items: stretch;
}

.crm-marketing-picker-panel__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.08);
}

.crm-marketing-picker-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.crm-marketing-picker-panel .crm-messaging-bulk--split {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.crm-marketing-picker-panel .crm-messaging-bulk__header {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.crm-marketing-picker-panel .crm-messaging-bulk__search {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.crm-marketing-member-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.crm-marketing-member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(3, 47, 99, 0.12), rgba(3, 47, 99, 0.04));
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crm-marketing-member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.crm-marketing-member-badge--customer {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.crm-marketing-member-badge--staff {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.crm-marketing-member-badge--manual {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.crm-marketing-member-badge--in-list,
.crm-marketing-member-badge--in-list-text {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.crm-marketing-member-badge--in-list {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
}

.crm-marketing-picker-table__row--added td {
  background: rgba(34, 197, 94, 0.04);
}

.crm-marketing-members-panel {
  min-height: 420px;
}

.crm-marketing-members-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(3, 47, 99, 0.08);
  background: #f8fafc;
}

.crm-marketing-members-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.crm-marketing-members-panel__subtitle {
  font-size: 0.78rem;
  color: #8a96a8;
}

.crm-marketing-members-panel__body {
  overflow-y: auto;
  max-height: 620px;
  padding: 0.75rem;
}

.crm-marketing-member-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(3, 47, 99, 0.06);
  background: #fff;
  margin-bottom: 0.5rem;
}

.crm-marketing-member-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(3, 47, 99, 0.14), rgba(3, 47, 99, 0.05));
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crm-marketing-member-card__body {
  flex: 1;
  min-width: 0;
}

.crm-marketing-member-card__name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.15rem;
}

.crm-marketing-member-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.72rem;
  color: #6b7280;
}

.crm-marketing-member-card__contact i {
  margin-right: 0.2rem;
}

.crm-marketing-import-panel .crm-form-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.crm-marketing-import-dropzone {
  border: 1.5px dashed rgba(3, 47, 99, 0.18);
  border-radius: 0.85rem;
  padding: 1.5rem;
  text-align: center;
  background: #f8fafc;
}

.crm-marketing-import-dropzone i {
  font-size: 2.2rem;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.crm-marketing-member-tabs .crm-messaging-nav__link {
  cursor: pointer;
}

.crm-marketing-member-tabs button.crm-messaging-nav__link {
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  color: #6b7a8d;
}

.crm-marketing-member-tabs button.crm-messaging-nav__link:hover:not(.is-active) {
  color: var(--brand-primary);
  background: rgba(3, 47, 99, 0.05);
}

.crm-marketing-member-tabs button.crm-messaging-nav__link.is-active {
  color: #fff;
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(3, 47, 99, 0.2);
}

.crm-marketing-member-card__remove {
  border: 0;
  background: transparent;
  line-height: 1;
  font-size: 1.1rem;
}

.crm-marketing-member-card__remove:hover {
  color: #b91c1c !important;
}

.crm-marketing-member-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.crm-marketing-members-table .crm-marketing-member-cell {
  min-width: 200px;
}

.crm-marketing-visibility-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.crm-marketing-visibility-badge--private {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

.crm-marketing-visibility-badge--public {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.crm-marketing-visibility-badge--shared {
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
}
