@charset "UTF-8";

/* ==========================================================================
   1. GLOBAL DEĞİŞKENLER VE TEMEL AYARLAR
   ========================================================================== */
:root {
  --navy: #0e2a3b;
  --navy-2: #12384c;
  --navy-3: #1b455c;
  --teal: #0fa3a3;
  --teal-dark: #0b7f80;
  --teal-light: #e0f4f4;
  --cream: #f7f5f0;
  --bg: #f0f3f5;
  --white: #fff;
  --ink: #0e2a3b;
  --muted: #627685;
  --line: #dce3e7;
  --line-2: #edf1f3;
  --shadow-sm: 0 4px 18px rgba(14, 42, 59, 0.05);
  --shadow-md: 0 12px 36px rgba(14, 42, 59, 0.12);
  --sidebar-w: 275px;
  --r: 14px;
  --ok-bg: #e3f4f0;
  --ok-fg: #0b7f80;
  --wait-bg: #fbf1dc;
  --wait-fg: #a9741a;
  --cancel-bg: #f6e4e2;
  --cancel-fg: #b45a4f;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand {
  font-family: 'Sora', sans-serif;
}

a { text-decoration: none; }

/* ==========================================================================
   2. AUTH SAYFALARI (LOGIN, FORGOT PASSWORD, DEMO)
   ========================================================================== */
body.auth-body {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 1.5rem 0;
}

.bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(15, 163, 163, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(27, 69, 92, 0.5) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.login-wrapper, .demo-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 1.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  min-height: 520px;
}

.demo-wrapper {
  max-width: 1040px;
  border-radius: 22px;
}

.login-brand-side, .demo-brand-side {
  flex: 1;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.login-brand-side::before, .demo-brand-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(15, 163, 163, 0.25), transparent 60%);
  pointer-events: none;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}

.brand-header .logo-badge {
  background: linear-gradient(135deg, var(--teal), var(--navy-3));
  color: #fff;
  font-weight: 800;
  font-family: 'Sora';
  font-size: 1.35rem;
  padding: 6px 14px;
  border-radius: 10px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(15, 163, 163, 0.35);
}

.brand-header .txt b {
  font-family: 'Sora';
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem;
  display: block;
  line-height: 1.1;
}

.brand-header .txt span {
  font-size: 0.72rem;
  color: #7fe3e3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-body {
  position: relative;
  z-index: 2;
  margin: 2.2rem 0;
}

.brand-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: #fff;
}

.brand-body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.feature-item i {
  color: var(--teal);
  font-size: 0.95rem;
  margin-top: 2px;
}

.brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.live-support-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.74rem;
}

.login-form-side, .demo-form-side {
  flex: 1.25;
  padding: 3rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.form-header {
  margin-bottom: 1.6rem;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-header p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

.form-floating-custom {
  position: relative;
  margin-bottom: 1.15rem;
}

/* ============ DÜZELTİLEN INPUT & İKON ALANI ============ */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-wrapper i.leading-icon {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none; /* Tıklamayı engellemez */
  z-index: 5;
  transition: color 0.2s ease;
}

.login-form-side .form-control-custom,
.demo-form-side .form-control-custom,
.demo-form-side .form-select-custom {
  width: 100% !important;
  border: 1px solid var(--line) !important;
  background: var(--bg) !important;
  border-radius: 11px !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  padding-left: 2.85rem !important; /* İkonun üzerine binmesini kesin olarak engelleyen mesafe */
  padding-right: 2.85rem !important;
  font-size: 0.88rem !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.login-form-side .form-control-custom:focus,
.demo-form-side .form-control-custom:focus,
.demo-form-side .form-select-custom:focus {
  background: #fff !important;
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3.5px rgba(15, 163, 163, 0.14) !important;
}

/* Input odaklandığında ikonun rengini teal yap */
.input-wrapper:focus-within i.leading-icon {
  color: var(--teal) !important;
}

.btn-toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  outline: none;
  z-index: 6;
}

.btn-toggle-password:hover { color: var(--teal-dark); }

.remember-forgot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.forgot-link {
  color: var(--teal-dark);
  font-weight: 600;
}

.forgot-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.btn-login-submit, .btn-demo-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 0.78rem 1.25rem;
  font-family: 'Sora';
  font-size: 0.94rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 8px 20px rgba(15, 163, 163, 0.28);
  transition: all 0.22s ease;
  cursor: pointer;
  margin-bottom: 1.1rem;
}

.btn-login-submit:hover, .btn-demo-submit:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--navy-3));
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 163, 163, 0.38);
}

.back-to-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.back-to-login a {
  color: var(--teal-dark);
  font-weight: 600;
}

.alert-success-custom {
  display: none;
  background: var(--teal-light);
  border: 1px solid rgba(15, 163, 163, 0.25);
  color: var(--teal-dark);
  border-radius: 11px;
  padding: 0.85rem 1rem;
  font-size: 0.84rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   3. SIDEBAR & MENÜ MİMARİSİ
   ========================================================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  z-index: 1045;
  transition: transform 0.3s ease;
}

.sb-brand {
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sb-brand .logo-badge {
  background: linear-gradient(135deg, var(--teal), var(--navy-3));
  color: #fff;
  font-weight: 800;
  font-family: 'Sora';
  font-size: 1.15rem;
  padding: 4px 10px;
  border-radius: 8px;
}

.sb-brand .txt b {
  font-family: 'Sora';
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  display: block;
  line-height: 1.1;
}

.sb-brand .txt span {
  font-size: 0.68rem;
  color: #7fe3e3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.sb-menu {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.sb-cap {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  padding: 0.6rem 0.75rem 0.2rem;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0.8rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.86rem;
  transition: 0.18s;
  cursor: pointer;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
}

.sb-link i.main-icon { font-size: 0.92rem; width: 20px; text-align: center; opacity: 0.85; }
.sb-link .arrow { margin-left: auto; font-size: 0.7rem; opacity: 0.6; transition: transform 0.25s ease; }
.sb-link[aria-expanded="true"] .arrow { transform: rotate(90deg); opacity: 1; }
.sb-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.sb-link.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 163, 163, 0.28);
}
.sb-link.active i.main-icon { opacity: 1; }

.sb-submenu {
  padding-left: 1.2rem;
  margin: 0.15rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.sb-sublink {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.55rem;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: 0.15s;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sb-sublink::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: 0.15s;
  flex-shrink: 0;
}

.sb-sublink .sub-arrow { margin-left: auto; font-size: 0.65rem; transition: transform 0.25s ease; opacity: 0.6; }
.sb-sublink[aria-expanded="true"] .sub-arrow { transform: rotate(90deg); opacity: 1; }
.sb-sublink:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.sb-sublink:hover::before { background: var(--teal); }
.sb-sublink.active { color: #fff; font-weight: 600; background: rgba(15, 163, 163, 0.25); }
.sb-sublink.active::before { background: var(--teal); }

.sb-sub-submenu {
  padding-left: 1.2rem;
  margin: 0.15rem 0 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  border-left: 1px dashed rgba(255, 255, 255, 0.15);
}

.sb-sub-sublink {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: 0.15s;
}

.sb-sub-sublink:hover { color: #7fe3e3; background: rgba(255, 255, 255, 0.04); padding-left: 0.8rem; }
.sb-sub-sublink.active { color: #fff; font-weight: 600; background: rgba(15, 163, 163, 0.35); }

.sb-foot {
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.currency-widget { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }

.curr-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.5rem;
  border-radius: 7px;
  text-align: center;
}

.curr-box small { font-size: 0.65rem; color: rgba(255, 255, 255, 0.5); display: block; }
.curr-box b { font-size: 0.8rem; color: #ffb74d; font-family: 'Sora'; }

.btn-support {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 59, 0.45);
  z-index: 1044;
}

.sb-overlay.show { display: block; }

/* ==========================================================================
   4. MAIN & TOPBAR & HEADER NAVİGASYON
   ========================================================================== */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(240, 243, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamb {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy);
  cursor: pointer;
}

.top-quick-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.top-quick-nav::-webkit-scrollbar { display: none; }

.quick-nav-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem 0.3rem;
  border-radius: 9px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: all 0.18s ease;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 68px;
}

.quick-nav-btn i {
  color: var(--teal);
  font-size: 1.05rem;
  margin-bottom: 2px;
  transition: 0.18s;
  line-height: 1;
}

.quick-nav-btn span {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.quick-nav-btn:hover {
  background: #fff;
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.quick-nav-btn:hover i { transform: scale(1.1); }

.quick-nav-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 3px 10px rgba(14, 42, 59, 0.18);
}

.quick-nav-btn.active i { color: #7fe3e3; }

.mobile-quick-dropdown { display: none; }

.tb-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-settings-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--navy);
  cursor: pointer;
  transition: 0.2s;
}

.btn-settings-toggle:hover { border-color: var(--teal); color: var(--teal); }

.settings-dropdown-menu {
  width: 290px;
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 0.6rem;
}

.settings-menu-header {
  font-family: 'Sora';
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 0.4rem;
}

.settings-grid-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  transition: 0.2s;
}

.settings-grid-item i {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(15, 163, 163, 0.1);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.settings-grid-item:hover { background: var(--cream); color: var(--teal-dark); }

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.6rem;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.user-profile-btn:hover, .user-profile-btn[aria-expanded="true"] {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.user-profile-btn .av, .tb-user .av {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Sora';
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.user-profile-btn .nm, .tb-user .nm { line-height: 1.15; }
.user-profile-btn .nm b, .tb-user .nm b {
  font-family: 'Sora';
  font-size: 0.82rem;
  color: var(--navy);
  display: block;
}
.user-profile-btn .nm span, .tb-user .nm span {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
}
.user-profile-btn .user-arrow {
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 0.25rem;
  transition: transform 0.2s;
}
.user-profile-btn[aria-expanded="true"] .user-arrow {
  transform: rotate(180deg);
  color: var(--teal);
}

.user-dropdown-menu {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 0.5rem;
  margin-top: 0.4rem !important;
  z-index: 1060;
}

.user-dropdown-header {
  padding: 0.5rem 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 0.35rem;
}

.user-dropdown-header .user-full-name {
  font-family: 'Sora';
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
}

.user-dropdown-header .user-role {
  font-size: 0.72rem;
  color: var(--teal-dark);
  font-weight: 600;
}

.user-dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: 0.15s;
}

.user-dropdown-menu .dropdown-item i {
  font-size: 0.85rem;
  width: 18px;
  color: var(--muted);
  transition: 0.15s;
}

.user-dropdown-menu .dropdown-item:hover { background: var(--cream); color: var(--teal-dark); }
.user-dropdown-menu .dropdown-item:hover i { color: var(--teal-dark); }
.user-dropdown-menu .dropdown-item.danger-item:hover { background: #fee2e2; color: #dc2626; }
.user-dropdown-menu .dropdown-item.danger-item:hover i { color: #dc2626; }

.content { padding: 1.25rem 1.5rem; flex: 1; }

/* ==========================================================================
   5. ORTAK UI KARTLARI, FORMLAR, BUTONLAR VE TABLOLAR
   ========================================================================== */
.card-x {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.card-x-header {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: #fff;
}

.card-x-header h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-x-header .collapse-indicator {
  transition: transform 0.25s ease;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-x-header[aria-expanded="true"] .collapse-indicator {
  transform: rotate(180deg);
  color: var(--teal);
}

.card-x-body { padding: 1.25rem; }

.section-pill {
  font-family: 'Sora';
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  background: rgba(15, 163, 163, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.form-label-custom {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
  display: block;
}

.form-control-custom, .form-select-custom {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 0.5rem 0.75rem;
  font-size: 0.83rem;
  color: var(--navy);
  font-weight: 500;
  width: 100%;
  outline: none;
  transition: 0.2s;
}

.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 163, 163, 0.12);
}

.input-group-custom { display: flex; gap: 0.4rem; }

.btn-ots {
  border: none;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.52rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ots-teal { background: var(--teal); color: #fff; }
.btn-ots-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ots-navy { background: var(--navy); color: #fff; }
.btn-ots-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ots-amber { background: #f39c12; color: #fff; }
.btn-ots-amber:hover { background: #d68910; color: #fff; }
.btn-ots-danger { background: #e0575b; color: #fff; }
.btn-ots-danger:hover { background: #c0392b; color: #fff; }
.btn-ots-outline { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.btn-ots-outline:hover { border-color: var(--teal); color: var(--teal-dark); }

/* DataTable & Tablo Rozetleri */
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--navy) !important;
  color: #fff !important;
  border-radius: 8px;
  border: 1px solid var(--navy);
}

table.dataTable thead th {
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted) !important;
  font-weight: 700;
  border-bottom: 1px solid var(--line) !important;
  padding: 0.75rem 0.85rem !important;
  background: #fafbfb;
}

table.dataTable tbody td {
  font-size: 0.82rem;
  vertical-align: middle;
  padding: 0.65rem 0.85rem !important;
  border-bottom: 1px solid var(--line-2) !important;
}

.badge-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.b-ok { background: var(--ok-bg); color: var(--ok-fg); }
.b-wait { background: var(--wait-bg); color: var(--wait-fg); }
.b-pasif { background: var(--cancel-bg); color: var(--cancel-fg); }

/* Tablo Aksiyon Butonları */
.action-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-action-pill {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  outline: none;
  background: transparent;
}

.btn-action-pill.edit {
  background: rgba(15, 163, 163, 0.1);
  color: var(--teal-dark);
  border-color: rgba(15, 163, 163, 0.2);
}
.btn-action-pill.edit:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 163, 163, 0.3);
}

.btn-action-pill.folio {
  background: rgba(243, 156, 18, 0.1);
  color: #d68910;
  border-color: rgba(243, 156, 18, 0.25);
}
.btn-action-pill.folio:hover {
  background: #f39c12;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.btn-action-pill.checkout {
  background: rgba(224, 87, 91, 0.1);
  color: #b45a4f;
  border-color: rgba(224, 87, 91, 0.25);
}
.btn-action-pill.checkout:hover {
  background: #e0575b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(224, 87, 91, 0.3);
}

/* Modallar */
.modal-content {
  border-radius: var(--r);
  border: none;
  box-shadow: var(--shadow-md);
}

.modal-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 1.4rem;
}

.modal-title {
  font-family: 'Sora';
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

/* ==========================================================================
   6. DASHBOARD & KPI KARTLARI
   ========================================================================== */
.kpi-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.kpi-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.kpi-icon.teal { background: rgba(15, 163, 163, 0.12); color: var(--teal-dark); }
.kpi-icon.navy { background: rgba(14, 42, 59, 0.1); color: var(--navy); }
.kpi-icon.amber { background: rgba(243, 156, 18, 0.12); color: #d68910; }
.kpi-icon.danger { background: rgba(224, 87, 91, 0.12); color: #b45a4f; }

.kpi-title { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.2rem; }
.kpi-value { font-family: 'Sora'; font-size: 1.45rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.kpi-meta { font-size: 0.72rem; margin-top: 0.35rem; font-weight: 500; }

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.6rem;
}

.room-box {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.6rem 0.4rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.room-box:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-sm);
}

.room-box b { font-family: 'Sora'; font-size: 0.95rem; display: block; line-height: 1.1; }
.room-box span { font-size: 0.65rem; font-weight: 600; display: block; margin-top: 0.25rem; }
.room-box.full { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.room-box.empty { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; }
.room-box.clean { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.room-box.dirty { background: #fef3c7; border-color: #fde68a; color: #92400e; }

/* ==========================================================================
   7. ROOM RACK (KOMPAKT 200+ ODA & FİLTRELER)
   ========================================================================== */
.rack-control-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.15rem;
}

.date-navigator {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2px;
}

.date-nav-btn {
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.date-nav-btn:hover { background: #fff; color: var(--teal-dark); }
.date-nav-btn.today { background: var(--navy); color: #fff; }

.date-picker-input {
  border: none;
  background: #fff;
  border-radius: 7px;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.smart-search-box {
  position: relative;
  width: 100%;
}

.smart-search-box i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.82rem;
}

.smart-search-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 0.48rem 0.85rem 0.48rem 2.2rem;
  font-size: 0.82rem;
  color: var(--navy);
  outline: none;
  transition: 0.2s;
}

.smart-search-box input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 163, 163, 0.12);
}

.filter-select {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 0.48rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  outline: none;
  cursor: pointer;
}

.rack-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 0.75rem;
  border-top: 1px solid var(--line-2);
  padding-top: 0.75rem;
}

.rack-pills-bar::-webkit-scrollbar { display: none; }

.rack-pill-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.18s;
  flex-shrink: 0;
}

.rack-pill-btn .indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.rack-pill-btn .badge-count {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 700;
}

.rack-pill-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.rack-pill-btn.active .badge-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.floor-section-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  overflow: visible;
}

.floor-header-mini {
  padding: 0.55rem 1rem;
  background: #fbfcfd;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floor-title-mini {
  font-family: 'Sora';
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.floor-stats-mini {
  font-size: 0.72rem;
  color: var(--muted);
}

.floor-body-mini {
  padding: 0.85rem;
  overflow: visible;
}

.room-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.55rem;
}

.mini-room-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  height: 74px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-room-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  z-index: 5;
}

.mini-top {
  padding: 0.2rem 0.35rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.mini-top .room-num-txt {
  font-family: 'Sora';
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  padding-left: 2px;
}

.room-menu-trigger-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.room-menu-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
}

.room-menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 3px;
  font-size: 0.68rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  opacity: 0.88;
  transition: 0.15s;
}

.room-menu-btn:hover, .room-menu-btn[aria-expanded="true"] {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
}

.mini-body {
  padding: 0.25rem 0.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
}

.mini-body .m-guest {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mini-body .m-type {
  font-size: 0.62rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
}

/* Oda Durum Renkleri */
.mini-room-card.state-empty .mini-top { background: linear-gradient(135deg, #0284c7, #0369a1); }
.mini-room-card.state-empty { border-color: #bae6fd; }

.mini-room-card.state-full .mini-top { background: linear-gradient(135deg, #e11d48, #be123c); }
.mini-room-card.state-full { border-color: #fecdd3; background: #fffafb; }

.mini-room-card.state-reserve .mini-top { background: linear-gradient(135deg, #d97706, #b45309); }
.mini-room-card.state-reserve { border-color: #fde68a; background: #fffdf9; }

.mini-room-card.state-dirty .mini-top { background: linear-gradient(135deg, #64748b, #475569); }
.mini-room-card.state-dirty { border-color: #cbd5e1; background: #f8fafc; }

.mini-room-card.state-out .mini-top { background: linear-gradient(135deg, #334155, #1e293b); }
.mini-room-card.state-out { border-color: #cbd5e1; opacity: 0.75; }

.room-action-dropdown {
  border-radius: 11px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(14, 42, 59, 0.22);
  padding: 0.35rem;
  min-width: 175px;
  z-index: 1060 !important;
  background: #fff;
  left: 0 !important;
  right: auto !important;
  top: 100% !important;
  margin-top: 4px !important;
}

.room-action-dropdown .dropdown-item {
  border-radius: 7px;
  padding: 0.38rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.15s;
}

.room-action-dropdown .dropdown-item i {
  font-size: 0.78rem;
  width: 16px;
  text-align: center;
  color: var(--teal);
}

.room-action-dropdown .dropdown-item:hover {
  background: var(--cream);
  color: var(--teal-dark);
  font-weight: 600;
}

.room-action-dropdown .dropdown-item.danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

.room-action-dropdown .dropdown-item.danger i { color: #dc2626; }

/* ==========================================================================
   8. RESPONSIVE OPTİMİZASYONLAR
   ========================================================================== */
@media (max-width: 1180px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: none; }
  .main { margin-left: 0; }
  .hamb { display: grid; }
}

@media (max-width: 920px) {
  .demo-wrapper, .login-wrapper {
    flex-direction: column;
    max-width: 520px;
    margin: 1rem;
  }
  .login-brand-side, .demo-brand-side { padding: 2.25rem 1.8rem; }
  .brand-body { margin: 1.5rem 0; }
  .brand-body h2 { font-size: 1.35rem; }
  .login-form-side, .demo-form-side { padding: 2.25rem 1.8rem; }
}

@media (max-width: 768px) {
  .topbar { padding: 0.5rem 1rem; }
  .top-quick-nav { display: none; }
  .mobile-quick-dropdown { display: block; }
  .user-profile-btn .nm, .tb-user .nm { display: none; }
  .content { padding: 1rem 0.8rem; }
}

/* ==========================================================================
   AUTH SAYFALARI MOBİL / RESPONSIVE OPTİMİZASYONU
   ========================================================================== */
@media (max-width: 991px) {
  /* Sol tanıtım ve marka alanını mobilde gizle */
  .login-brand-side,
  .demo-brand-side {
    display: none !important;
  }

  /* Form kartını tam genişlikte ekrana oturt */
  .login-wrapper,
  .demo-wrapper {
    max-width: 480px !important;
    margin: 1rem !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45) !important;
  }

  .login-form-side,
  .demo-form-side {
    padding: 2.25rem 1.5rem !important;
    width: 100% !important;
  }

  /* Mobilde formun üstünde gözükecek logo başlığı */
  .mobile-brand-header {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .mobile-brand-header {
    display: none !important;
  }
}


/* ==========================================================================
   OTS v2.0 PRO BİLDİRİM (ALERT) BİLEŞENLERİ
   ========================================================================== */
.ots-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid transparent;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(14, 42, 59, 0.04);
  transition: all 0.25s ease;
}

.ots-alert-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ots-alert-content {
  flex: 1;
}

.ots-alert-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.ots-alert-text {
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.ots-alert-close {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.ots-alert-close:hover {
  opacity: 1;
}

/* 1. BAŞARILI (SUCCESS / OLUMLU) */
.ots-alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.ots-alert-success .ots-alert-icon {
  background: #dcfce7;
  color: #15803d;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.25);
}

/* 2. HATA / OLUMSUZ (DANGER) */
.ots-alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.ots-alert-danger .ots-alert-icon {
  background: #fee2e2;
  color: #dc2626;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

/* 3. UYARI (WARNING) */
.ots-alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.ots-alert-warning .ots-alert-icon {
  background: #fef3c7;
  color: #d97706;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

/* 4. BİLGİ (INFO / TEAL) */
.ots-alert-info {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #075985;
}
.ots-alert-info .ots-alert-icon {
  background: #e0f2fe;
  color: #0284c7;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}


/* Tab Menü Özel Navigasyon Stili */
.ots-detail-nav {
  display: flex;
  gap: 0.35rem;
  border-bottom: 2px solid var(--line-2);
  padding: 0 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.ots-detail-nav::-webkit-scrollbar {
  display: none;
}

.ots-detail-nav .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.75rem 1.1rem;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-bottom: -2px;
}

.ots-detail-nav .nav-link:hover {
  color: var(--navy);
}

.ots-detail-nav .nav-link.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
  background: transparent;
}

.tag-customer-selected {
  background: rgba(15, 163, 163, 0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(15, 163, 163, 0.25);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.audit-log-footer {
  font-size: 0.76rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.4;
}


/* Kırmızı Buton (Dolu/Solid) */
.btn-ots-danger {
  background: #e11d48 !important;
  color: #fff !important;
  border: 1px solid #be123c !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25) !important;
}
.btn-ots-danger:hover {
  background: #be123c !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35) !important;
}

/* Kırmızı Buton (Çerçeveli/Outline) */
.btn-ots-outline-danger {
  background: #fff !important;
  border: 1.5px solid #fca5a5 !important;
  color: #e11d48 !important;
}
.btn-ots-outline-danger:hover {
  background: #fff1f2 !important;
  border-color: #e11d48 !important;
  color: #be123c !important;
  transform: translateY(-2px);
}


/* ==========================================================================
   OTS v2.0 PRO — PREMİUM SİLME & ONAY MODALI
   ========================================================================== */
.modal-confirm-card {
  border-radius: 20px !important;
  border: 1px solid rgba(225, 29, 72, 0.15) !important;
  box-shadow: 0 20px 50px rgba(14, 42, 59, 0.22) !important;
  overflow: hidden;
  background: #ffffff;
}

.modal-confirm-header {
  position: relative;
  padding: 1.75rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none !important;
  background: transparent;
}

.modal-confirm-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff1f2;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 0 8px rgba(225, 29, 72, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-confirm-icon-box {
  transform: scale(1.05);
}

.modal-confirm-title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0e2a3b;
  margin: 0;
}

.modal-confirm-body {
  padding: 0.5rem 1.75rem 1.5rem;
  text-align: center;
}

.modal-confirm-body p {
  color: #0e2a3b;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.modal-confirm-body span {
  color: #627685;
  font-size: 0.8rem;
  display: block;
}

.modal-confirm-footer {
  padding: 0.9rem 1.5rem 1.35rem;
  border-top: 1px solid #f1f5f9;
  background: #fafbfb;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}


/* ==========================================================================
   OTS v2.0 PRO — BAĞLANTI (LINK) DÜZENLEMELERİ
   ========================================================================== */

/* 1. Global Link Sıfırlaması (Varsayılan çirkin maviyi kaldırır) */
a {
  color: #0e2a3b;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #00d285;
  text-decoration: none;
}

/* 2. Tablo İçi ve Başlık Linkleri (Koyu & Tok) */
.ots-link {
  color: #0e2a3b !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ots-link:hover {
  color: #0fa3a3 !important;
  transform: translateX(2px);
}

/* 3. Teal (Neon Yeşil/Turkuaz) Vurgulu Link */
.ots-link-teal {
  color: #0fa3a3 !important;
  font-weight: 600;
}

.ots-link-teal:hover {
  color: #009e63 !important;
  text-decoration: underline !important;
}

/* 4. Sessiz / İkincil Link (Gri -> Koyu Lacivert) */
.ots-link-muted {
  color: #627685 !important;
  font-weight: 500;
  font-size: 0.85rem;
}

.ots-link-muted:hover {
  color: #0e2a3b !important;
}

/* 5. Rozet/Kart Şeklinde Link (Tıklanabilir Küçük Etiket) */
.ots-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #0e2a3b !important;
  font-size: 0.8rem;
  font-weight: 600;
}

.ots-link-badge:hover {
  background: #e2e8f0;
  color: #00d285 !important;
}


/* Çift basılan dataTables_info alanını tekilleştir */
.dataTables_wrapper .dataTables_info ~ .dataTables_info {
  display: none !important;
}

/* ==========================================================================
   OTS v2.0 PRO — STANDART TABLO (DATATABLE GÖRÜNÜMÜ)
   ========================================================================== */

.table-ots,
.card-x-body > table,
.card-x table.table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 0 !important;
  color: #0e2a3b;
  font-size: 0.875rem;
}

/* Tablo Başlıkları (DataTables ile Birebir Aynı) */
.table-ots thead th,
.card-x table.table thead th {
  background-color: #f8fafc !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.85rem 1rem !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-left: none !important;
  border-right: none !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

/* Tablo Gövde Satırları & Hücreleri */
.table-ots tbody td,
.card-x table.table tbody td {
  padding: 0.85rem 1rem !important;
  vertical-align: middle !important;
  border-top: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-left: none !important;
  border-right: none !important;
  color: #334155;
  background-color: #ffffff;
  transition: background-color 0.15s ease-in-out;
}

/* Satır Hover Efekti */
.table-ots tbody tr:hover td,
.card-x table.table tbody tr:hover td {
  background-color: #f8fafc !important;
}

/* Son Satırın Alt Çizgisi */
.table-ots tbody tr:last-child td,
.card-x table.table tbody tr:last-child td {
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Hizalamalar ve Vurgular */
.table-ots td.text-end,
.table-ots th.text-end {
  text-align: right !important;
}

.table-ots b,
.table-ots strong {
  color: #0e2a3b;
  font-weight: 600;
}