/* IHARS Kurumsal Tema — tüm panel sayfaları */

body.ihars-kurumsal {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8eef5 45%, #f7f9fc 100%) !important;
  color: #1e293b;
}

body.ihars-kurumsal .logo-header,
body.ihars-kurumsal .navbar-header {
  background: #ffffff !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ===== KURUMSAL HEADER ===== */
body.ihars-kurumsal .main-header {
  background: #ffffff !important;
  box-shadow: 0 1px 0 #e2e8f0, 0 4px 20px rgba(15, 23, 42, 0.05) !important;
  min-height: 64px;
}

body.ihars-kurumsal .ihars-header-logo {
  width: 290px !important;
  height: 64px !important;
  line-height: normal !important;
  padding: 0 1rem 0 1.15rem !important;
  border-right: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

body.ihars-kurumsal .ihars-header-logo__brand {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 100%;
  width: auto !important;
  max-width: 100%;
}

body.ihars-kurumsal .ihars-header-logo__img {
  width: auto !important;
  height: 56px !important;
  max-width: 200px;
  max-height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Küçültülmüş menüde logo gizlenmesin */
body.ihars-kurumsal.sidebar_minimize .ihars-header-logo .logo img,
body.ihars-kurumsal .sidebar_minimize .ihars-header-logo .logo img {
  display: block !important;
  opacity: 1 !important;
  width: auto !important;
  height: 40px !important;
  max-width: 56px;
}

body.ihars-kurumsal .ihars-header-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

body.ihars-kurumsal .ihars-header-logo__text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ihars-kurumsal .ihars-header-logo__text small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ihars-kurumsal .ihars-header-logo .btn-toggle,
body.ihars-kurumsal .ihars-header-logo .navbar-toggler-icon i {
  color: #475569 !important;
}

body.ihars-kurumsal .ihars-header-logo .nav-toggle .btn-toggle:hover {
  color: #2563eb !important;
}

body.ihars-kurumsal .ihars-header-nav {
  min-height: 64px !important;
  background: #ffffff !important;
}

body.ihars-kurumsal .ihars-header-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0 1rem 0 0.5rem !important;
}

body.ihars-kurumsal .ihars-header-fx {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

body.ihars-kurumsal .ihars-header-fx__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-right: 0.25rem;
}

body.ihars-kurumsal .ihars-header-fx__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}

body.ihars-kurumsal .ihars-header-fx__chip--usd {
  background: #ecfdf5;
  color: #047857;
  border-color: #bbf7d0;
}

body.ihars-kurumsal .ihars-header-fx__chip--eur {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

body.ihars-kurumsal .ihars-header-fx__chip--gbp {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

body.ihars-kurumsal .ihars-header-fx__chip--rub {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

body.ihars-kurumsal .ihars-header-hide-fx-toggle {
  display: none !important;
}

body.ihars-kurumsal #search-nav {
  display: none !important;
}

body.ihars-kurumsal .toggle-nav-search {
  display: none !important;
}

body.ihars-kurumsal .ihars-header-actions {
  gap: 0.25rem;
  margin-left: auto !important;
}

body.ihars-kurumsal .ihars-header-actions > .nav-item > .nav-link:not(.ihars-header-icon-btn):not(.ihars-header-profile__toggle) {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #475569 !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.18s ease;
  position: relative;
}

body.ihars-kurumsal .ihars-header-actions > .nav-item > .nav-link:not(.ihars-header-icon-btn):not(.ihars-header-profile__toggle):hover {
  color: #2563eb !important;
  background: #eff6ff;
  border-color: #bfdbfe;
}

body.ihars-kurumsal .ihars-header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #475569 !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.18s ease;
}

body.ihars-kurumsal .ihars-header-icon-btn:hover {
  color: #2563eb !important;
  background: #eff6ff;
  border-color: #bfdbfe;
}

body.ihars-kurumsal .ihars-header-actions .notification {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

body.ihars-kurumsal .ihars-header-profile__toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.55rem 0.25rem 0.25rem !important;
  border-radius: 999px !important;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.18s ease;
}

body.ihars-kurumsal .ihars-header-profile__toggle:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

body.ihars-kurumsal .ihars-header-profile__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
}

body.ihars-kurumsal .ihars-header-profile__name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ihars-kurumsal .ihars-header-profile-menu,
body.ihars-kurumsal .ihars-header-quick-menu,
body.ihars-kurumsal .messages-notif-box,
body.ihars-kurumsal .notif-box {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
  overflow: hidden;
  margin-top: 0.5rem;
}

body.ihars-kurumsal .dropdown-user .user-box {
  padding: 1rem;
}

body.ihars-kurumsal .dropdown-user .dropdown-item {
  font-size: 0.86rem;
  font-weight: 500;
  color: #334155;
  padding: 0.55rem 1rem;
}

body.ihars-kurumsal .dropdown-user .dropdown-item:hover {
  background: #f8fafc;
  color: #1d4ed8;
}

body.ihars-kurumsal .ihars-header-quick-menu .quick-actions-header {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 1.1rem;
}

body.ihars-kurumsal .ihars-header-quick-menu .quick-actions-header .title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0f172a;
}

body.ihars-kurumsal .ihars-header-quick-menu .quick-actions-header .subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

body.ihars-kurumsal .ihars-header-quick-menu .quick-actions-item {
  border-radius: 12px;
  margin: 0.35rem;
  padding: 0.85rem 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.18s ease;
}

body.ihars-kurumsal .ihars-header-quick-menu .quick-actions-item:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

body.ihars-kurumsal .logo-header[data-background-color="dark"],
body.ihars-kurumsal .navbar-header[data-background-color="dark"],
body.ihars-kurumsal .navbar-header[data-background-color="dark2"] {
  background: #ffffff !important;
}

@media (max-width: 1199px) {
  body.ihars-kurumsal .ihars-header-fx {
    flex: 1 1 100%;
    order: 3;
    padding-top: 0.35rem;
  }

  body.ihars-kurumsal .ihars-header-nav__inner {
    flex-wrap: wrap;
  }
}

@media (min-width: 992px) {
  body.ihars-kurumsal .ihars-header-logo__brand {
    justify-content: center;
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  body.ihars-kurumsal .ihars-header-logo {
    width: 100% !important;
    min-width: 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem 0 1rem !important;
    position: relative;
    z-index: 1004;
  }

  body.ihars-kurumsal .ihars-header-logo .logo.ihars-header-logo__brand {
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    flex: 0 1 auto;
    pointer-events: auto;
    max-width: calc(100% - 56px);
  }

  body.ihars-kurumsal .ihars-header-logo .ihars-header-logo__img {
    height: 48px !important;
    max-height: 48px;
    max-width: 160px;
  }

  body.ihars-kurumsal .ihars-header-logo .sidenav-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 20 !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto !important;
    padding: 0 !important;
    cursor: pointer;
    border: 0;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
  }

  body.ihars-kurumsal .ihars-header-logo .sidenav-toggler .navbar-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  body.ihars-kurumsal .ihars-sidebar.sidebar {
    z-index: 1003 !important;
    transform: translate3d(-290px, 0, 0) !important;
    top: 0;
    height: 100vh;
    padding-top: 64px;
    box-sizing: border-box;
  }

  html.nav_open body.ihars-kurumsal .ihars-sidebar.sidebar {
    transform: translate3d(0, 0, 0) !important;
  }

  html.nav_open body.ihars-kurumsal .main-panel,
  html.nav_open body.ihars-kurumsal .main-header {
    transform: none !important;
  }

  body.ihars-kurumsal .main-panel {
    width: 100% !important;
  }
}

/* ===== KURUMSAL SOL MENÜ (açık, şık) ===== */
body.ihars-kurumsal .ihars-sidebar.sidebar {
  width: 290px !important;
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 20px rgba(15, 23, 42, 0.04) !important;
}

body.ihars-kurumsal .main-panel {
  width: calc(100% - 290px) !important;
  display: block !important;
  visibility: visible !important;
  min-height: calc(100vh - 64px);
}

body.ihars-kurumsal.sidebar_minimize .main-panel,
body.ihars-kurumsal .sidebar_minimize .main-panel {
  width: calc(100% - 75px) !important;
}

body.ihars-kurumsal .ihars-sidebar .sidebar-wrapper {
  padding: 0.75rem 0 1.25rem;
}

body.ihars-kurumsal .ihars-sidebar .sidebar-content {
  padding: 0 0.75rem;
}

body.ihars-kurumsal .ihars-sidebar .user {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0.5rem;
}

/* Profil kartı */
body.ihars-kurumsal .ihars-sidebar-user__card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
}

body.ihars-kurumsal .ihars-sidebar-user__avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

body.ihars-kurumsal .ihars-sidebar-user__body {
  flex: 1;
  min-width: 0;
}

body.ihars-kurumsal .ihars-sidebar-user__toggle {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

body.ihars-kurumsal .ihars-sidebar-user__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ihars-kurumsal .ihars-sidebar-user__role {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
}

body.ihars-kurumsal .ihars-sidebar-user__caret {
  float: right;
  margin-top: -1.4rem;
  color: #94a3b8;
}

body.ihars-kurumsal .ihars-sidebar-user__links {
  margin-bottom: 0.75rem;
}

body.ihars-kurumsal .ihars-sidebar-user__menu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem 0 0.5rem !important;
  margin: 0 !important;
}

body.ihars-kurumsal .ihars-sidebar-user__menu li {
  float: none !important;
  width: 100%;
}

body.ihars-kurumsal .ihars-sidebar-user__menu a {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem !important;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569 !important;
  transition: background 0.15s ease, color 0.15s ease;
}

body.ihars-kurumsal .ihars-sidebar-user__menu a i {
  width: 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
}

body.ihars-kurumsal .ihars-sidebar-user__menu a:hover {
  background: #f1f5f9 !important;
  color: #1e40af !important;
}

body.ihars-kurumsal .ihars-sidebar__label {
  padding: 0.55rem 0.85rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #94a3b8;
}

/* Ana navigasyon */
body.ihars-kurumsal .ihars-sidebar__nav {
  padding-bottom: 1rem;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item {
  margin-bottom: 0.15rem;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.8rem !important;
  margin: 0 !important;
  border-radius: 10px !important;
  color: #334155 !important;
  font-weight: 500;
  transition: all 0.18s ease;
  position: relative;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a p {
  margin: 0 !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: inherit !important;
  flex: 1;
  line-height: 1.35;
  white-space: normal;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a > i:first-child,
body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a > i.fas,
body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a > i.far,
body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a > i.fab {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  margin: 0 !important;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem !important;
  background: #f1f5f9;
  color: #475569 !important;
  transition: all 0.18s ease;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a .caret {
  color: #94a3b8;
  margin-left: auto;
  border-top-color: #94a3b8 !important;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a:hover {
  background: #f8fafc !important;
  color: #1e40af !important;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a:hover > i {
  background: #eff6ff !important;
  color: #2563eb !important;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item.active > a,
body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a.is-active {
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%) !important;
  color: #1d4ed8 !important;
  box-shadow: inset 3px 0 0 #2563eb;
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item.active > a > i,
body.ihars-kurumsal .ihars-sidebar__nav > .nav-item > a.is-active > i {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Alt menüler */
body.ihars-kurumsal .ihars-sidebar .nav-collapse {
  margin: 0.25rem 0 0.5rem 0.35rem !important;
  padding: 0.35rem 0 0.35rem 0.65rem !important;
  border-left: 2px solid #e2e8f0;
  background: transparent !important;
}

body.ihars-kurumsal .ihars-sidebar .nav-collapse li a {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem !important;
  margin: 0.1rem 0 !important;
  border-radius: 10px !important;
  color: #64748b !important;
}

body.ihars-kurumsal .ihars-sidebar .nav-collapse li a p {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: inherit !important;
  margin: 0 !important;
  flex: 1;
  line-height: 1.3;
  white-space: normal;
}

body.ihars-kurumsal .ihars-sidebar .nav-collapse li a i {
  font-size: 0.84rem !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

body.ihars-kurumsal .ihars-sidebar .nav-collapse li a:hover {
  background: #f8fafc !important;
  color: #1e40af !important;
}

body.ihars-kurumsal .ihars-sidebar .nav-collapse li a.is-active {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8 !important;
  font-weight: 700;
}

body.ihars-kurumsal .ihars-sidebar .nav-collapse li.active > a.is-active {
  background: rgba(37, 99, 235, 0.16);
}

body.ihars-kurumsal .ihars-sidebar__nav > .nav-item.active > a[aria-expanded="true"],
body.ihars-kurumsal .ihars-sidebar__nav > .nav-item.submenu > a[aria-expanded="true"] {
  background: rgba(37, 99, 235, 0.08);
}

body.ihars-kurumsal .ihars-sidebar .collapse.show {
  display: block;
}

/* Rozetler */
body.ihars-kurumsal .ihars-sidebar .badge {
  border-radius: 999px !important;
  padding: 0.2rem 0.5rem !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  margin-left: auto;
  border: none;
  box-shadow: none;
}

body.ihars-kurumsal .ihars-sidebar .badge-danger {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

body.ihars-kurumsal .ihars-sidebar .badge-success {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

body.ihars-kurumsal .ihars-sidebar .badge-primary {
  background: #eff6ff !important;
  color: #2563eb !important;
}

body.ihars-kurumsal .ihars-sidebar .badge-warning {
  background: #fffbeb !important;
  color: #d97706 !important;
}

body.ihars-kurumsal .ihars-sidebar .badge-secondary,
body.ihars-kurumsal .ihars-sidebar .badge-info {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

/* Çıkış */
body.ihars-kurumsal .ihars-sidebar-logout {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

body.ihars-kurumsal .ihars-sidebar-logout__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff5f5;
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

body.ihars-kurumsal .ihars-sidebar-logout__btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

body.ihars-kurumsal .ihars-sidebar .scrollbar-inner > .scroll-element .scroll-bar {
  background: #cbd5e1 !important;
  border-radius: 4px;
  opacity: 0.6;
}

/* Küçültülmüş (mini) sidebar */
@media screen and (min-width: 992px) {
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar .sidebar-wrapper {
    width: 75px !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-header-logo {
    width: 75px !important;
    padding: 0 !important;
    justify-content: center;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar .sidebar-content {
    padding: 0 0.4rem;
    overflow: hidden;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__label,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-user__body,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-user__links {
    display: none !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-user__card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.45rem 0.25rem;
    margin-bottom: 0.35rem;
    border-radius: 12px;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-user__avatar {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a {
    justify-content: center;
    padding: 0.4rem !important;
    gap: 0;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a p,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a .caret,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a .badge {
    display: none !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a > i:first-child,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a > i.fas,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a > i.far,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar__nav > .nav-item > a > i.fab {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    margin: 0 !important;
    font-size: 0.8rem !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-logout {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-logout__btn {
    width: 100%;
    min-height: 38px;
    padding: 0.4rem;
    gap: 0;
    justify-content: center;
    border-radius: 10px;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-logout__btn span {
    display: none !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar-logout__btn i {
    margin: 0;
    font-size: 0.95rem;
  }

  /* Üzerine gelince tam menü */
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .sidebar-wrapper {
    width: 290px !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .sidebar-content {
    padding: 0 0.75rem;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__label {
    display: block !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar-user__card {
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar-user__body {
    display: block !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a {
    justify-content: flex-start;
    padding: 0.55rem 0.75rem !important;
    gap: 0.65rem;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a p,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a .caret {
    display: block !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a .badge {
    display: inline-flex !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a > i:first-child,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a > i.fas,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a > i.far,
  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar__nav > .nav-item > a > i.fab {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px;
    font-size: 0.82rem !important;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar-logout__btn {
    padding: 0.7rem 1rem;
    gap: 0.5rem;
  }

  body.ihars-kurumsal .sidebar_minimize .ihars-sidebar.sidebar:hover .ihars-sidebar-logout__btn span {
    display: inline !important;
  }

  body.ihars-kurumsal .sidebar_minimize.sidebar_minimize_hover .ihars-header-logo {
    width: 290px !important;
    padding: 0 1rem 0 1.15rem !important;
    justify-content: center;
  }
}

/* Eski koyu sidebar stillerini geçersiz kıl */
body.ihars-kurumsal .sidebar[data-background-color="dark"],
body.ihars-kurumsal .sidebar[data-background-color="dark2"] {
  background: #ffffff !important;
}

body.ihars-kurumsal .sidebar .nav > .nav-item a,
body.ihars-kurumsal .sidebar .user .info a > span {
  color: #334155 !important;
}

body.ihars-kurumsal .sidebar.sidebar-style-2 .nav .nav-item.active > a,
body.ihars-kurumsal .sidebar.sidebar-style-2 .nav .nav-item.active > a:hover {
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%) !important;
}

body.ihars-kurumsal .sidebar .nav > .nav-item a p,
body.ihars-kurumsal .sidebar[data-background-color="white"] .nav > .nav-item a p,
body.ihars-kurumsal .sidebar .nav-collapse li a p {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

body.ihars-kurumsal .sidebar.sidebar-style-2 .nav .nav-item.active > a p,
body.ihars-kurumsal .sidebar.sidebar-style-2 .nav .nav-item.active > a i {
  color: #1d4ed8 !important;
  font-weight: 600 !important;
}

body.ihars-kurumsal .main-panel {
  background: transparent !important;
}

body.ihars-kurumsal .main-panel .content {
  padding-top: 1.25rem;
}

body.ihars-kurumsal .footer {
  background: transparent;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

/* Eski döviz rozet stilleri (gizli panel için) */
body.ihars-kurumsal .navbar-header .nav-link.btn-success,
body.ihars-kurumsal .navbar-header .nav-link.btn-primary,
body.ihars-kurumsal .navbar-header .nav-link.btn-secondary,
body.ihars-kurumsal .navbar-header .nav-link.btn-warning {
  border-radius: 999px;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

body.ihars-kurumsal .navbar-header .nav-link.btn-success {
  background: #ecfdf5 !important;
  color: #047857 !important;
}

body.ihars-kurumsal .navbar-header .nav-link.btn-primary {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

body.ihars-kurumsal .navbar-header .nav-link.btn-secondary {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

body.ihars-kurumsal .navbar-header .nav-link.btn-warning {
  background: #fff7ed !important;
  color: #c2410c !important;
}

/* Dashboard içerik */
.ihars-dashboard {
  max-width: 1320px;
  margin: 0 auto;
}

.ihars-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.ihars-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.04));
  border-radius: 0 18px 18px 0;
  pointer-events: none;
}

.ihars-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ihars-hero__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.ihars-hero__subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.6;
}

.ihars-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.ihars-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
}

.ihars-hero__meta-item i {
  color: #2563eb;
}

.ihars-hero__logo {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.ihars-hero__logo img {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

.ihars-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.ihars-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.ihars-quick-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ihars-quick-link:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  color: #1e40af;
}

.ihars-quick-link__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #eff6ff;
  color: #2563eb;
}

.ihars-quick-link span {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Bugün işlemler kartları */
body.ihars-kurumsal .card.card-stats {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
  background: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.ihars-kurumsal a.see-all:hover .card.card-stats {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

body.ihars-kurumsal .card.card-stats .card-category {
  color: #64748b !important;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.ihars-kurumsal .card.card-stats .card-title {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

body.ihars-kurumsal .icon-big {
  border-radius: 14px !important;
  width: 56px !important;
  height: 56px !important;
  line-height: 56px !important;
}

body.ihars-kurumsal .icon-big.icon-success {
  background: #ecfdf5 !important;
  color: #059669 !important;
}

body.ihars-kurumsal .icon-big.icon-danger {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

body.ihars-kurumsal .icon-big.icon-primary {
  background: #eff6ff !important;
  color: #2563eb !important;
}

body.ihars-kurumsal .icon-big.icon-warning {
  background: #fffbeb !important;
  color: #d97706 !important;
}

body.ihars-kurumsal .icon-big.icon-info {
  background: #ecfeff !important;
  color: #0891b2 !important;
}

@media (max-width: 768px) {
  .ihars-hero {
    padding: 1.5rem;
  }

  .ihars-hero__logo {
    width: 100%;
    text-align: center;
  }

  .ihars-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== LİSTELEME SAYFALARI — KART & TABLO ===== */
body.ihars-kurumsal .page-inner > .card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
  background: #ffffff !important;
  overflow: hidden;
}

body.ihars-kurumsal .page-inner > .card > .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 1rem 1.25rem !important;
}

body.ihars-kurumsal .page-inner .card-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.ihars-kurumsal .page-inner > .card > .card-body {
  padding: 1.15rem 1.25rem 1.25rem !important;
}

body.ihars-kurumsal .card-body .form-button-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

body.ihars-kurumsal .card-body .form-button-action .btn {
  border-radius: 10px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 0.45rem 0.9rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.ihars-kurumsal .card-body .form-button-action .btn .btn-label {
  display: inline-flex;
  align-items: center;
}

/* Liste sayfası ekle butonları */
body.ihars-kurumsal .ihars-liste-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

body.ihars-kurumsal .ihars-liste-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 10px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  text-decoration: none !important;
}

body.ihars-kurumsal .ihars-liste-toolbar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

/* Eski dışa aktarma butonları (kalan varsa gizle) */
body.ihars-kurumsal button[onclick*="tiklama('kopyala')"],
body.ihars-kurumsal button[onclick*="tiklama('yazdir')"],
body.ihars-kurumsal button[onclick*="tiklama('excel')"],
body.ihars-kurumsal button[onclick*="tiklama('pdf')"],
body.ihars-kurumsal button[onclick*="tiklama('csv')"] {
  display: none !important;
}

body.ihars-kurumsal .card-body .form-button-action:empty {
  display: none !important;
}

body.ihars-kurumsal .card-body .table-responsive,
body.ihars-kurumsal .ihars-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: auto;
  background: #ffffff;
  margin-top: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.ihars-kurumsal .page-inner table.table,
body.ihars-kurumsal .page-inner table.musteritablosu,
body.ihars-kurumsal .page-inner table.tablo2,
body.ihars-kurumsal .page-inner table.display {
  margin-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  width: 100% !important;
  background: #ffffff;
}

body.ihars-kurumsal .page-inner table.table thead th,
body.ihars-kurumsal .page-inner table.musteritablosu thead th,
body.ihars-kurumsal .page-inner table.tablo2 thead th,
body.ihars-kurumsal .page-inner table.display thead th,
body.ihars-kurumsal .page-inner table[class*="table-head-bg"] thead th {
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0.85rem 1rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-top: none !important;
  vertical-align: middle;
  white-space: nowrap;
}

body.ihars-kurumsal .page-inner table.table tbody td,
body.ihars-kurumsal .page-inner table.musteritablosu tbody td,
body.ihars-kurumsal .page-inner table.tablo2 tbody td,
body.ihars-kurumsal .page-inner table.display tbody td {
  padding: 0.72rem 1rem !important;
  font-size: 0.84rem !important;
  color: #475569 !important;
  border-top: 1px solid #f1f5f9 !important;
  border-color: #f1f5f9 !important;
  vertical-align: middle !important;
  background: #ffffff !important;
}

body.ihars-kurumsal .page-inner table.table.table-bordered td,
body.ihars-kurumsal .page-inner table.table.table-bordered th {
  border-color: #e2e8f0 !important;
}

body.ihars-kurumsal .page-inner table.table tbody tr:hover td,
body.ihars-kurumsal .page-inner table.musteritablosu tbody tr:hover td,
body.ihars-kurumsal .page-inner table.tablo2 tbody tr:hover td {
  background: #f8fafc !important;
}

body.ihars-kurumsal .page-inner table.musteritablosu tbody tr:nth-child(even) td,
body.ihars-kurumsal .page-inner table.tablo2 tbody tr:nth-child(even) td {
  background: #fafbfc !important;
}

body.ihars-kurumsal .page-inner table tbody tr:last-child td {
  border-bottom: none !important;
}

body.ihars-kurumsal .page-inner table .btn,
body.ihars-kurumsal .page-inner table .btn-sm,
body.ihars-kurumsal .page-inner table .btn-xs {
  border-radius: 8px !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  padding: 0.3rem 0.65rem !important;
}

/* DataTables */
body.ihars-kurumsal .dataTables_wrapper {
  width: 100%;
}

body.ihars-kurumsal .dataTables_wrapper .row:first-child,
body.ihars-kurumsal .dataTables_wrapper .row:last-child {
  margin-left: 0;
  margin-right: 0;
  padding: 0.65rem 0.85rem;
  align-items: center;
}

body.ihars-kurumsal .dataTables_wrapper .dataTables_length label,
body.ihars-kurumsal .dataTables_wrapper .dataTables_filter label {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

body.ihars-kurumsal .dataTables_wrapper .dataTables_filter input,
body.ihars-kurumsal .dataTables_wrapper .dataTables_length select {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.65rem !important;
  font-size: 0.84rem;
  margin: 0 0.35rem;
}

body.ihars-kurumsal .dataTables_wrapper .dataTables_info {
  font-size: 0.82rem;
  color: #64748b;
  padding-top: 0.5rem;
}

body.ihars-kurumsal .dataTables_wrapper .dataTables_paginate {
  padding-top: 0.5rem;
}

body.ihars-kurumsal .dataTables_wrapper .pagination .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 0.82rem;
}

body.ihars-kurumsal .dataTables_wrapper .pagination .page-item.active .page-link {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body.ihars-kurumsal .dataTables_wrapper .dt-buttons .btn {
  border-radius: 10px !important;
  font-size: 0.8rem !important;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body.ihars-kurumsal .ihars-dt-toolbar {
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

body.ihars-kurumsal .ihars-dt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

body.ihars-kurumsal .ihars-dt-actions .dataTables_filter {
  margin: 0 0.5rem 0 0;
  flex: 1 1 180px;
  text-align: right;
}

body.ihars-kurumsal .ihars-dt-actions .dataTables_filter label {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

body.ihars-kurumsal .ihars-dt-actions .dt-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

body.ihars-kurumsal .ihars-dt-footer {
  margin-top: 0.75rem;
  align-items: center;
}

@media (max-width: 768px) {
  body.ihars-kurumsal .ihars-dt-actions {
    justify-content: stretch;
  }

  body.ihars-kurumsal .ihars-dt-actions .dataTables_filter {
    flex: 1 1 100%;
    text-align: left;
    margin: 0 0 0.5rem;
  }

  body.ihars-kurumsal .ihars-dt-actions .dt-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  body.ihars-kurumsal .ihars-dt-export .ihars-dt-btn-text {
    display: none;
  }
}

/* İç içe kartlar (detay sayfaları) */
body.ihars-kurumsal .page-inner .card .card {
  border-radius: 12px !important;
  box-shadow: none !important;
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 1rem;
}

body.ihars-kurumsal .page-inner .card .card .card-header {
  padding: 0.85rem 1rem !important;
  background: #f8fafc !important;
}

@media (max-width: 768px) {
  body.ihars-kurumsal .page-inner > .card > .card-body {
    padding: 0.85rem !important;
  }

  body.ihars-kurumsal .card-body .form-button-action .btn .text {
    display: none;
  }

  body.ihars-kurumsal .page-inner table thead th,
  body.ihars-kurumsal .page-inner table tbody td {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.78rem !important;
  }
}

/* ===== RAPOR SAYFASI ===== */
.ihars-rapor {
  max-width: 1400px;
  margin: 0 auto;
}

.ihars-rapor-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.ihars-rapor-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.ihars-rapor-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
}

.ihars-rapor-hero__subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.ihars-rapor-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #475569;
}

.ihars-rapor-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
}

.ihars-rapor-filter {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.ihars-rapor-filter__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem;
}

.ihars-rapor-filter__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 160px;
  flex: 1;
  max-width: 220px;
  margin: 0;
}

.ihars-rapor-filter__field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.ihars-rapor-filter__field .form-control {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.ihars-rapor-filter__submit {
  height: 44px;
  border-radius: 10px;
  font-weight: 700;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ihars-rapor-filter__presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.84rem;
  color: #64748b;
}

.ihars-rapor-filter__presets .btn {
  border-radius: 999px;
  font-weight: 600;
}

.ihars-rapor-donem-card {
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.ihars-rapor-donem-kartlar {
  margin-top: 0.25rem;
}

.ihars-rapor-personel-kart {
  border-radius: 14px !important;
}

.ihars-rapor-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ihars-rapor-kpi__card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.ihars-rapor-kpi__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ihars-rapor-kpi__card--success .ihars-rapor-kpi__icon { background: #ecfdf5; color: #059669; }
.ihars-rapor-kpi__card--danger .ihars-rapor-kpi__icon { background: #fef2f2; color: #dc2626; }
.ihars-rapor-kpi__card--primary .ihars-rapor-kpi__icon { background: #eff6ff; color: #2563eb; }
.ihars-rapor-kpi__card--info .ihars-rapor-kpi__icon { background: #ecfeff; color: #0891b2; }

.ihars-rapor-kpi__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.ihars-rapor-kpi__value {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.ihars-rapor-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.25rem;
  height: calc(100% - 1.25rem);
}

.ihars-rapor-chart-card__head {
  padding: 1rem 1.15rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.ihars-rapor-chart-card__head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.ihars-rapor-chart-card__head span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.ihars-rapor-chart-card__body {
  padding: 0.75rem 1rem 1rem;
}

.ihars-rapor-mini {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ihars-rapor-mini__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.ihars-rapor-mini__item i {
  color: #2563eb;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.ihars-rapor-mini__item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.ihars-rapor-mini__item span {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.ihars-rapor-tabs.card {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden;
}

.ihars-rapor-tabs__head {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.5rem 0.75rem 0 !important;
}

.ihars-rapor-tabs__nav {
  border-bottom: none !important;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.ihars-rapor-tabs__nav .nav-link {
  border: none !important;
  border-radius: 10px 10px 0 0 !important;
  color: #64748b !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 1rem !important;
}

.ihars-rapor-tabs__nav .nav-link.active {
  background: #ffffff !important;
  color: #2563eb !important;
  box-shadow: 0 -1px 0 #e2e8f0 inset;
}

.ihars-rapor-tabs__body {
  padding: 1.25rem !important;
  background: #ffffff;
}

.ihars-rapor-tabs__body .row {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

@media (max-width: 1199px) {
  .ihars-rapor-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ihars-rapor-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .ihars-rapor-kpi { grid-template-columns: 1fr; }
  .ihars-rapor-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ihars-rapor-hero { padding: 1.15rem; }
}

/* ===== EKLEME FORMLARI ===== */
.ihars-ekle-form {
  max-width: 1100px;
  margin: 0 auto;
}

.ihars-ekle-form__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.ihars-ekle-form__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.ihars-ekle-form__title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.ihars-ekle-form__subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.ihars-ekle-form__geri {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569 !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ihars-ekle-form__geri:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b !important;
}

.ihars-ekle-form__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.ihars-ekle-form__body {
  padding: 1.35rem 1.5rem 1.5rem !important;
}

.ihars-ekle-form__form .form-group {
  margin-bottom: 1.1rem;
}

.ihars-ekle-form__form label.control-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
}

.ihars-ekle-form__form .form-control,
.ihars-ekle-form__form .custom-select,
.ihars-ekle-form__form select.form-control,
.ihars-ekle-form__form textarea.form-control {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0.62rem 0.85rem !important;
  font-size: 0.9rem !important;
  color: #0f172a !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ihars-ekle-form__form .form-control:focus,
.ihars-ekle-form__form .custom-select:focus,
.ihars-ekle-form__form select.form-control:focus,
.ihars-ekle-form__form textarea.form-control:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

.ihars-ekle-form__form .form-control.text-success {
  color: #0f172a !important;
}

.ihars-ekle-form__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0 1rem;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.ihars-ekle-form__tabs .nav-link {
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  transition: all 0.2s ease;
}

.ihars-ekle-form__tabs .nav-link:hover {
  color: #2563eb !important;
  background: #eff6ff !important;
}

body.ihars-kurumsal .ihars-ekle-form__tabs .nav-link.active,
body.ihars-kurumsal .ihars-ekle-form__tabs.nav-pills > li > .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-primary .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-success .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-info .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-warning .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-danger .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-secondary .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-default .nav-link.active,
body.ihars-kurumsal .nav-pills.ihars-ekle-form__tabs.nav-dark .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.ihars-ekle-form__tab-content {
  padding-top: 0.75rem;
}

.ihars-ekle-form__tab-content .tab-pane {
  animation: iharsFormFade 0.25s ease;
}

@keyframes iharsFormFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ihars-ekle-form__section {
  padding: 1rem 0 0.25rem;
}

.ihars-ekle-form__section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.ihars-ekle-form__section-title i {
  color: #2563eb;
}

.ihars-ekle-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #f1f5f9;
}

.ihars-ekle-form__btn-save {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem !important;
  border: none !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
}

.ihars-ekle-form__btn-save:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  color: #ffffff !important;
}

.ihars-ekle-form__btn-cancel {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

.ihars-ekle-form__btn-cancel:hover {
  background: #f8fafc !important;
  color: #334155 !important;
}

.ihars-ekle-form__yetki {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #fecaca;
}

.ihars-ekle-form__yetki i {
  font-size: 2.5rem;
  color: #ef4444;
  margin-bottom: 1rem;
}

.ihars-ekle-form__yetki h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #b91c1c;
}

.ihars-ekle-form__yetki p {
  margin: 0 0 1.25rem;
  color: #64748b;
  font-size: 0.9rem;
}

body.ihars-kurumsal .ihars-ekle-form .btn-success.btn-raised.btn-block {
  display: none !important;
}

@media (max-width: 768px) {
  .ihars-ekle-form__hero { padding: 1.1rem; }
  .ihars-ekle-form__body { padding: 1rem !important; }
  .ihars-ekle-form__actions { flex-direction: column-reverse; }
  .ihars-ekle-form__actions .btn { width: 100%; justify-content: center; }
}

/* ===== MODALLAR (tüm sayfalar) ===== */
body.ihars-kurumsal .modal {
  z-index: 1060 !important;
}

body.ihars-kurumsal .modal-backdrop {
  z-index: 1055 !important;
}

body.ihars-kurumsal .modal .modal-dialog {
  position: relative;
  z-index: 1061;
}

body.ihars-kurumsal .modal.show .modal-dialog,
body.ihars-kurumsal .ihars-secici-modal.show .modal-dialog {
  transform: none;
}

body.ihars-kurumsal .modal-backdrop.show {
  opacity: 0.45;
  backdrop-filter: blur(2px);
}

/* Seçici modallar (Cari / Ürün) */
body.ihars-kurumsal .ihars-secici-modal .modal-dialog {
  max-width: min(960px, calc(100vw - 2rem));
  margin: 1.5rem auto;
}

/* Eski liste/detay modalları (#goster vb.) */
body.ihars-kurumsal .modal:not(.ihars-secici-modal) .modal-dialog {
  max-width: min(1140px, calc(100vw - 2rem));
  margin: 1.5rem auto;
}

body.ihars-kurumsal .modal:not(.ihars-secici-modal) .modal-content {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  color: #0f172a;
}

body.ihars-kurumsal .modal:not(.ihars-secici-modal) .modal-body {
  background: #ffffff;
  color: #0f172a;
}

body.ihars-kurumsal .modal:not(.ihars-secici-modal) .modal-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* ===== SEÇİCİ MODALLAR (Cari / Ürün) — içerik stilleri ===== */
body.ihars-kurumsal .ihars-secici-modal__content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  background: #ffffff;
}

body.ihars-kurumsal .ihars-secici-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
  border-bottom: none;
  color: #ffffff;
}

body.ihars-kurumsal .ihars-secici-modal__header .modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

body.ihars-kurumsal .ihars-secici-modal__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
}

body.ihars-kurumsal .ihars-secici-modal__header .close {
  color: #ffffff;
  opacity: 0.9;
  text-shadow: none;
  font-size: 1.5rem;
  margin: -0.15rem -0.25rem 0 0;
}

body.ihars-kurumsal .ihars-secici-modal__body {
  padding: 1rem 1.25rem 1.15rem;
  background: #f8fafc;
  max-height: min(70vh, 640px);
  overflow: auto;
}

body.ihars-kurumsal .ihars-secici-modal__search {
  position: relative;
  margin-bottom: 0.85rem;
}

body.ihars-kurumsal .ihars-secici-modal__search i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

body.ihars-kurumsal .ihars-secici-modal__search .form-control {
  padding-left: 2.35rem !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  min-height: 44px;
}

body.ihars-kurumsal .ihars-secici-modal__table-wrap {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: auto;
  max-height: min(52vh, 520px);
}

body.ihars-kurumsal .ihars-secici-modal__table {
  margin: 0 !important;
}

body.ihars-kurumsal .ihars-secici-modal__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.75rem 0.9rem !important;
  white-space: nowrap;
}

body.ihars-kurumsal .ihars-secici-modal__table tbody td {
  padding: 0.8rem 0.9rem !important;
  font-size: 0.88rem !important;
  color: #0f172a;
  border-top: 1px solid #f1f5f9 !important;
  vertical-align: middle;
}

body.ihars-kurumsal .ihars-secici-modal__table tbody tr.kisisecilen,
body.ihars-kurumsal .ihars-secici-modal__table tbody tr.Satirekle {
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

body.ihars-kurumsal .ihars-secici-modal__table tbody tr.kisisecilen:hover,
body.ihars-kurumsal .ihars-secici-modal__table tbody tr.Satirekle:hover {
  background: #eff6ff !important;
  box-shadow: inset 3px 0 0 #2563eb;
}

body.ihars-kurumsal .ihars-secici-modal__footer {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  justify-content: flex-end;
}

/* ===== KULLANICI YÖNETİMİ ===== */
.ihars-kullanicilar,
.ihars-yetki {
  max-width: 1400px;
  margin: 0 auto;
}

.ihars-kullanici-hero,
.ihars-yetki-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  position: relative;
  overflow: hidden;
}

.ihars-kullanici-hero::before,
.ihars-yetki-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.ihars-kullanici-hero__badge,
.ihars-yetki-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.ihars-kullanici-hero__title,
.ihars-yetki-hero__title {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #fff;
}

.ihars-kullanici-hero__subtitle,
.ihars-yetki-hero__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ihars-kullanici-hero__stat,
.ihars-yetki-hero__stats {
  position: relative;
  z-index: 1;
  text-align: center;
  min-width: 120px;
}

.ihars-kullanici-hero__stat-val,
.ihars-yetki-hero__stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.ihars-kullanici-hero__stat-lbl,
.ihars-yetki-hero__stat-lbl {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.ihars-yetki-hero__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ihars-yetki-hero__back {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s ease;
}

.ihars-yetki-hero__back:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
}

.ihars-yetki-hero__avatar,
.ihars-kullanici-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.ihars-yetki-hero__avatar--info,
.ihars-kullanici-card__avatar--info { background: #dbeafe; color: #1d4ed8; }
.ihars-yetki-hero__avatar--primary,
.ihars-kullanici-card__avatar--primary { background: #e0e7ff; color: #4338ca; }
.ihars-yetki-hero__avatar--success,
.ihars-kullanici-card__avatar--success { background: #d1fae5; color: #047857; }
.ihars-yetki-hero__avatar--danger,
.ihars-kullanici-card__avatar--danger { background: #fee2e2; color: #b91c1c; }
.ihars-yetki-hero__avatar--secondary,
.ihars-kullanici-card__avatar--secondary { background: #e2e8f0; color: #475569; }

.ihars-yetki-hero__rol {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.35rem;
}

.ihars-yetki-hero__rol--info { background: #dbeafe; color: #1d4ed8; }
.ihars-yetki-hero__rol--primary { background: #e0e7ff; color: #4338ca; }
.ihars-yetki-hero__rol--success { background: #d1fae5; color: #047857; }
.ihars-yetki-hero__rol--danger { background: #fee2e2; color: #b91c1c; }

.ihars-yetki-hero__stats {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-width: 280px;
}

.ihars-yetki-hero__progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  min-width: 90px;
}

.ihars-yetki-hero__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #60a5fa);
  transition: width 0.35s ease;
}

.ihars-yetki-hero__progress-text {
  font-weight: 700;
  font-size: 0.95rem;
}

.ihars-kullanici-toolbar,
.ihars-yetki-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.ihars-kullanici-toolbar__search,
.ihars-yetki-toolbar__search {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.ihars-kullanici-toolbar__search i,
.ihars-yetki-toolbar__search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.ihars-kullanici-toolbar__search .form-control,
.ihars-yetki-toolbar__search .form-control {
  padding-left: 2.6rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  height: 44px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ihars-yetki-toolbar__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ihars-yetki-toolbar__actions .btn {
  border-radius: 10px;
  font-weight: 600;
}

.ihars-kullanici-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}

.ihars-kullanici-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ihars-kullanici-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.ihars-kullanici-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ihars-kullanici-card__rol {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ihars-kullanici-card__rol--info { background: #eff6ff; color: #2563eb; }
.ihars-kullanici-card__rol--primary { background: #eef2ff; color: #4f46e5; }
.ihars-kullanici-card__rol--success { background: #ecfdf5; color: #059669; }
.ihars-kullanici-card__rol--danger { background: #fef2f2; color: #dc2626; }

.ihars-kullanici-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.ihars-kullanici-card__username {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.ihars-kullanici-card__username i {
  margin-right: 0.25rem;
  opacity: 0.8;
}

.ihars-kullanici-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.ihars-kullanici-card__actions .btn {
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ihars-kullanici-card__actions .btn-danger {
  margin-left: auto;
}

.ihars-kullanici-bos,
.ihars-yetkisiz {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}

.ihars-kullanici-bos i,
.ihars-yetkisiz i {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.ihars-yetki-grup {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.ihars-yetki-grup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease;
}

.ihars-yetki-grup__head:hover {
  background: #f8fafc;
}

.ihars-yetki-grup__head[aria-expanded="true"] {
  border-bottom-color: #e2e8f0;
}

.ihars-yetki-grup__title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ihars-yetki-grup__title h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.ihars-yetki-grup__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
}

.ihars-yetki-grup__count {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.ihars-yetki-grup__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ihars-yetki-grup__bar {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ihars-yetki-grup__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #3b82f6);
  transition: width 0.35s ease;
}

.ihars-yetki-grup__toggle-all {
  font-weight: 600;
  color: #2563eb !important;
  padding: 0;
}

.ihars-yetki-grup__caret {
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.ihars-yetki-grup__head[aria-expanded="true"] .ihars-yetki-grup__caret {
  transform: rotate(180deg);
}

.ihars-yetki-grup__body {
  padding: 0.35rem;
}

.ihars-yetki-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.ihars-yetki-item:hover {
  background: #f8fafc;
}

.ihars-yetki-item.is-on {
  background: #f0fdf4;
}

.ihars-yetki-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ihars-yetki-item__icon--ekle { background: #ecfdf5; color: #059669; }
.ihars-yetki-item__icon--duzenle { background: #fffbeb; color: #d97706; }
.ihars-yetki-item__icon--sil { background: #fef2f2; color: #dc2626; }

.ihars-yetki-item__info {
  flex: 1;
  min-width: 0;
}

.ihars-yetki-item__info strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 600;
}

.ihars-yetki-item__durum {
  font-size: 0.78rem;
  color: #64748b;
}

.ihars-yetki-item.is-on .ihars-yetki-item__durum {
  color: #059669;
  font-weight: 600;
}

.ihars-yetki-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  margin: 0;
  flex-shrink: 0;
}

.ihars-yetki-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ihars-yetki-switch__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.ihars-yetki-switch__slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.ihars-yetki-switch input:checked + .ihars-yetki-switch__slider {
  background: linear-gradient(135deg, #10b981, #3b82f6);
}

.ihars-yetki-switch input:checked + .ihars-yetki-switch__slider::before {
  transform: translateX(20px);
}

.ihars-yetki.is-saving {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 992px) {
  .ihars-kullanici-hero,
  .ihars-yetki-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .ihars-yetki-hero__stats {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .ihars-yetki-hero__progress,
  .ihars-yetki-hero__progress-text {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .ihars-kullanici-grid {
    grid-template-columns: 1fr;
  }

  .ihars-kullanici-card__actions .btn span {
    display: none;
  }
}

/* ===== PROFİLİM ===== */
.ihars-profil {
  max-width: 1400px;
  margin: 0 auto;
}

.ihars-profil-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  position: relative;
  overflow: hidden;
}

.ihars-profil-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.ihars-profil-hero__main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.ihars-profil-hero__avatar {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ihars-profil-hero__avatar--info { background: rgba(219, 234, 254, 0.95); color: #1d4ed8; }
.ihars-profil-hero__avatar--primary { background: rgba(224, 231, 255, 0.95); color: #4338ca; }
.ihars-profil-hero__avatar--success { background: rgba(209, 250, 229, 0.95); color: #047857; }
.ihars-profil-hero__avatar--danger { background: rgba(254, 226, 226, 0.95); color: #b91c1c; }
.ihars-profil-hero__avatar--secondary { background: rgba(226, 232, 240, 0.95); color: #475569; }

.ihars-profil-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ihars-profil-hero__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ihars-profil-hero__subtitle {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.ihars-profil-hero__rol {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
}

.ihars-profil-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ihars-profil-hero__stat {
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-width: 90px;
}

.ihars-profil-hero__stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.ihars-profil-hero__stat-lbl {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.ihars-profil-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  background: #ffffff !important;
  color: #1e40af !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ihars-profil-hero__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  color: #1d4ed8 !important;
}

.ihars-profil-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.ihars-profil-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.ihars-profil-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.ihars-profil-card__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.ihars-profil-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.95rem;
}

.ihars-profil-card__icon--security {
  background: #fef3c7;
  color: #d97706;
}

.ihars-profil-dl {
  margin: 0;
}

.ihars-profil-dl__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f8fafc;
}

.ihars-profil-dl__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ihars-profil-dl__row dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ihars-profil-dl__row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  word-break: break-word;
}

.ihars-profil-dl__masked {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  letter-spacing: 0.12em;
  color: #64748b !important;
}

.ihars-profil-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ihars-profil-pill--info { background: #eff6ff; color: #2563eb; }
.ihars-profil-pill--primary { background: #eef2ff; color: #4f46e5; }
.ihars-profil-pill--success { background: #ecfdf5; color: #059669; }
.ihars-profil-pill--danger { background: #fef2f2; color: #dc2626; }
.ihars-profil-pill--secondary { background: #f1f5f9; color: #475569; }

.ihars-profil-card__hint {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.ihars-profil-card__hint a {
  color: #2563eb;
  font-weight: 600;
}

.ihars-profil-card--summary {
  padding: 1.25rem;
}

.ihars-profil-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ihars-profil-summary__ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(#2563eb calc(var(--ihars-profil-yuzde) * 1%), #e2e8f0 0);
  position: relative;
  flex-shrink: 0;
}

.ihars-profil-summary__ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.ihars-profil-summary__ring span {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e40af;
}

.ihars-profil-summary strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.ihars-profil-summary p {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}

.ihars-profil-yetkiler {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.ihars-profil-yetkiler__head {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.ihars-profil-yetkiler__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ihars-profil-yetkiler__head h2 i {
  color: #2563eb;
}

.ihars-profil-yetkiler__head p {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
}

.ihars-profil-yetki-toolbar {
  padding: 0 1.25rem;
  margin: 0;
  border-bottom: 1px solid #f1f5f9;
}

.ihars-profil-yetki-gruplar {
  padding: 1rem 1.25rem 1.25rem;
}

.ihars-yetki-item--readonly {
  cursor: default;
}

.ihars-yetki-item--readonly:hover {
  background: transparent;
}

.ihars-profil-yetki-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ihars-profil-yetki-badge.is-on {
  background: #ecfdf5;
  color: #059669;
}

.ihars-profil-yetki-badge.is-off {
  background: #f1f5f9;
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .ihars-profil-layout {
    grid-template-columns: 1fr;
  }

  .ihars-profil-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
  }

  .ihars-profil-card {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .ihars-profil-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem 1.25rem;
  }

  .ihars-profil-hero__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .ihars-profil-hero__btn {
    flex: 1;
    justify-content: center;
    min-width: 180px;
  }

  .ihars-profil-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ===== SİTE AYARLARI ===== */
.ihars-ayar {
  max-width: 1200px;
  margin: 0 auto;
}

.ihars-ayar-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.ihars-ayar-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.ihars-ayar-hero__title {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
}

.ihars-ayar-hero__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.ihars-ayar-hero__preview {
  text-align: right;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-width: 200px;
}

.ihars-ayar-hero__preview-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.ihars-ayar-hero__preview strong {
  font-size: 1.1rem;
}

.ihars-ayar-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.ihars-ayar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 1rem;
}

.ihars-ayar-nav__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ihars-ayar-nav__item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.ihars-ayar-nav__item.is-active {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.ihars-ayar-nav__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  flex-shrink: 0;
}

.ihars-ayar-nav__item.is-active .ihars-ayar-nav__icon {
  background: #2563eb;
  color: #fff;
}

.ihars-ayar-nav__item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.ihars-ayar-nav__item small {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}

.ihars-ayar-paneller {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ihars-ayar-panel {
  display: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.ihars-ayar-panel.is-active {
  display: block;
}

.ihars-ayar-panel__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.ihars-ayar-panel__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  color: #2563eb;
  font-size: 1.1rem;
}

.ihars-ayar-panel__head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.ihars-ayar-panel__head p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.ihars-ayar-field {
  display: block;
  margin-bottom: 1rem;
}

.ihars-ayar-field__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}

.ihars-ayar-field__label i {
  width: 18px;
  color: #64748b;
  text-align: center;
}

.ihars-ayar-field .form-control {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ihars-ayar-field .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ihars-ayar-actions {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.ihars-ayar-save {
  border-radius: 12px;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 220px;
  justify-content: center;
}

.ihars-ayar-save.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.ihars-ayar-danger {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.ihars-ayar-danger__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #dc2626;
  flex-shrink: 0;
}

.ihars-ayar-danger__text {
  flex: 1;
  min-width: 200px;
}

.ihars-ayar-danger__text h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #991b1b;
}

.ihars-ayar-danger__text p {
  margin: 0;
  font-size: 0.88rem;
  color: #b91c1c;
}

.ihars-ayar-danger .btn {
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .ihars-ayar-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .ihars-ayar-hero__preview {
    width: 100%;
    text-align: left;
  }

  .ihars-ayar-layout {
    grid-template-columns: 1fr;
  }

  .ihars-ayar-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ihars-ayar-nav {
    grid-template-columns: 1fr;
  }

  .ihars-ayar-save {
    width: 100%;
  }
}

.ihars-ustmenu-uyari-yuvasi {
  display: none !important;
}
body.ihars-kurumsal {
  -webkit-text-size-adjust: 100%;
}

body.ihars-kurumsal .ihars-sidebar .ihars-sidebar-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 64px);
  -webkit-overflow-scrolling: touch;
}

html.nav_open body.ihars-kurumsal,
html.nav_open body.ihars-kurumsal .wrapper.ihars-layout {
  overflow: visible !important;
}

html.nav_open body.ihars-kurumsal .main-panel,
html.nav_open body.ihars-kurumsal .main-header {
  transform: none !important;
}

body.ihars-kurumsal .ihars-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1002;
  opacity: 0;
  transition: opacity 0.2s ease;
}

html.ihars-mobile-nav-open,
html.ihars-mobile-nav-open body.ihars-kurumsal {
  overflow: hidden !important;
}

html.ihars-mobile-nav-open body.ihars-kurumsal .ihars-sidebar-backdrop {
  display: block;
  opacity: 1;
}

@media (min-width: 992px) {
  body.ihars-kurumsal .ihars-header-logo .sidenav-toggler {
    display: none !important;
  }
}

@media (max-width: 991px) {
  body.ihars-kurumsal {
    overflow-x: hidden;
  }

  body.ihars-kurumsal .wrapper.ihars-layout {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  body.ihars-kurumsal .ihars-main-header,
  body.ihars-kurumsal .main-header {
    position: sticky;
    top: 0;
    z-index: 1002;
    width: 100%;
  }

  body.ihars-kurumsal .ihars-sidebar.sidebar {
    z-index: 1003 !important;
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.18) !important;
  }

  body.ihars-kurumsal .main-panel {
    width: 100% !important;
    max-width: 100vw;
    float: none !important;
  }

  body.ihars-kurumsal .main-panel .content {
    padding: 0.75rem !important;
  }

  body.ihars-kurumsal .page-inner {
    padding: 0 !important;
  }

  body.ihars-kurumsal .ihars-header-nav__inner {
    padding: 0.35rem 0.5rem !important;
  }

  body.ihars-kurumsal .ihars-header-fx {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }

  body.ihars-kurumsal .ihars-header-fx::-webkit-scrollbar {
    display: none;
  }

  body.ihars-kurumsal .ihars-header-fx__label {
    flex-shrink: 0;
  }

  body.ihars-kurumsal .ihars-header-fx__chip {
    flex-shrink: 0;
    font-size: 0.72rem !important;
    padding: 0.28rem 0.55rem !important;
  }

  body.ihars-kurumsal .ihars-header-actions {
    flex-shrink: 0;
    margin-left: 0 !important;
  }

  body.ihars-kurumsal .ihars-header-profile__name {
    display: none !important;
  }

  body.ihars-kurumsal .page-inner > .card > .card-header .row {
    flex-direction: column;
    gap: 0.5rem;
  }

  body.ihars-kurumsal .page-inner > .card > .card-header [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  body.ihars-kurumsal .page-inner .row > [class*="col-md-"],
  body.ihars-kurumsal .page-inner .row > [class*="col-lg-"],
  body.ihars-kurumsal .page-inner .row > [class*="col-xl-"],
  body.ihars-kurumsal .page-inner .row > [class*="col-sm-"]:not(.col-12) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  body.ihars-kurumsal .card-body .table-responsive,
  body.ihars-kurumsal .ihars-table-wrap {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
  }

  body.ihars-kurumsal .page-inner table.table,
  body.ihars-kurumsal .page-inner table.musteritablosu,
  body.ihars-kurumsal .page-inner table.tablo2 {
    min-width: 640px;
  }

  body.ihars-kurumsal .dataTables_wrapper .ihars-dt-toolbar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.5rem;
  }

  body.ihars-kurumsal .dataTables_wrapper .ihars-dt-actions {
    flex-direction: column;
    align-items: stretch !important;
  }

  body.ihars-kurumsal .dataTables_wrapper .ihars-dt-actions .dataTables_filter {
    text-align: left;
    margin: 0 0 0.5rem !important;
    width: 100%;
  }

  body.ihars-kurumsal .dataTables_wrapper .ihars-dt-actions .dataTables_filter label,
  body.ihars-kurumsal .dataTables_wrapper .ihars-dt-actions .dataTables_filter input {
    width: 100%;
  }

  body.ihars-kurumsal .dataTables_wrapper .dt-buttons {
    width: 100%;
    justify-content: flex-start !important;
  }

  body.ihars-kurumsal .dataTables_wrapper .dataTables_length,
  body.ihars-kurumsal .dataTables_wrapper .dataTables_info,
  body.ihars-kurumsal .dataTables_wrapper .dataTables_paginate {
    text-align: center !important;
    width: 100%;
    margin-top: 0.35rem;
  }

  body.ihars-kurumsal .dataTables_wrapper .dataTables_paginate .pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  body.ihars-kurumsal .ihars-liste-toolbar {
    flex-direction: column;
  }

  body.ihars-kurumsal .ihars-liste-toolbar .btn {
    width: 100%;
    justify-content: center;
  }

  body.ihars-kurumsal .ihars-hero,
  body.ihars-kurumsal .ihars-kullanici-hero,
  body.ihars-kurumsal .ihars-yetki-hero,
  body.ihars-kurumsal .ihars-profil-hero,
  body.ihars-kurumsal .ihars-rapor-hero,
  body.ihars-kurumsal .ihars-ayar-hero {
    padding: 1.25rem 1.15rem !important;
    flex-direction: column;
    align-items: flex-start !important;
  }

  body.ihars-kurumsal .ihars-quick-grid {
    grid-template-columns: 1fr !important;
  }

  body.ihars-kurumsal .ihars-ekle-form__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.ihars-kurumsal .ihars-ekle-form__tabs::-webkit-scrollbar {
    display: none;
  }

  body.ihars-kurumsal .ihars-ekle-form__tabs .nav-link {
    white-space: nowrap;
    flex-shrink: 0;
  }

  body.ihars-kurumsal .modal-dialog {
    margin: 0.75rem auto !important;
    max-width: calc(100vw - 1.5rem) !important;
  }

  body.ihars-kurumsal .modal-xl,
  body.ihars-kurumsal .modal-lg {
    max-width: calc(100vw - 1.5rem) !important;
  }

  body.ihars-kurumsal .footer {
    padding: 0.75rem !important;
    font-size: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  body.ihars-kurumsal .ihars-header-logo .ihars-header-logo__img {
    max-width: 130px !important;
    height: 42px !important;
  }

  body.ihars-kurumsal .page-inner table .btn,
  body.ihars-kurumsal .page-inner table .btn-sm {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.72rem !important;
  }

  body.ihars-kurumsal .ihars-kullanici-grid {
    grid-template-columns: 1fr !important;
  }

  body.ihars-kurumsal .ihars-dt-export .ihars-dt-btn-text {
    display: none;
  }

  body.ihars-kurumsal .card-body .form-button-action .btn {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }

  body.ihars-kurumsal .ihars-yetki-toolbar,
  body.ihars-kurumsal .ihars-kullanici-toolbar {
    flex-direction: column;
  }

  body.ihars-kurumsal .ihars-yetki-toolbar__actions {
    width: 100%;
    display: flex;
    gap: 0.35rem;
  }

  body.ihars-kurumsal .ihars-yetki-toolbar__actions .btn {
    flex: 1;
  }
}
