@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Roboto&display=swap");

:root {
  --aisat-bg: #172027;
  --aisat-card: #1e272e;
  --aisat-border: rgba(255, 255, 255, 0.1);
  --aisat-head: #1e272e;
  --aisat-text: #ddd;
  --aisat-primary: #2e86de;
  --aisat-green: #28c76f;
  --aisat-red: #ea2027;
}

/*
  Tema header/footer ile AISat header'ın iç içe girmesini engelle.
  (Sadece AISat shortcode sayfalarında uygulanır.)
  NOT: header:not(.header-section) = tema header'ları gizle, AISat header koru
       footer:not(.footer-section) = tema footer'ları gizle, AISat footer koru
*/
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) header:not(.header-section),
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) footer:not(.footer-section),
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) #masthead,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) #colophon,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .site-header,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .site-footer,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .elementor-location-header,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .elementor-location-footer,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .ast-header-wrap,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .ast-primary-header-bar,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .ast-footer-wrap,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .header-main,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .footer-main {
  display: none !important;
}

/* AISat header ve footer her zaman görünür olsun */
.aisat-shell .header-section {
  display: block !important;
}

.aisat-shell .footer-section {
  display: block !important;
}

body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .entry-header,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .page-header,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .page-title,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .entry-title,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .ast-page-title-bar,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .ast-page-header,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .elementor-page-title,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .elementor-location-single,
body.aisat-page.aisat-render-blank:not(.elementor-editor-active) .elementor-location-archive {
  display: none !important;
}

/* Theme wrappers are no longer aggressively stripped of margins to prevent overlap */
body.aisat-page .aisat-shell {
  padding-top: 0;
}

/* Birçok temada link/button stilleri aşırı override ediliyor; AISat bileşenlerinde resetle */
.aisat-shell *,
.aisat-shell *::before,
.aisat-shell *::after {
  box-sizing: border-box;
}

.aisat-shell a:not(.header-section a):not(.footer-section a) {
  color: inherit;
}

.aisat-shell {
  background: var(--aisat-bg);
  color: var(--aisat-text);
  padding: 0;
  font-family: "Roboto", sans-serif;
}

.aisat-shell h1,
.aisat-shell h2,
.aisat-shell h3,
.aisat-shell h4,
.aisat-shell h5,
.aisat-shell h6,
.aisat-shell .title,
.aisat-shell .header-section *:not(i):not([class*="la-"]):not([class*="fa-"]) {
  font-family: "Rajdhani", sans-serif;
}

/* Bulletproof Icons against Elementor Overrides */
.aisat-shell i.las,
.header-section i.las,
.footer-section i.las,
.aisat-shell i.la,
.header-section i.la,
.footer-section i.la {
  font-family: "Line Awesome Free" !important;
  font-weight: 900 !important;
}

.aisat-shell i.lar,
.header-section i.lar,
.footer-section i.lar {
  font-family: "Line Awesome Free" !important;
  font-weight: 400 !important;
}

.aisat-shell i.lab,
.header-section i.lab,
.footer-section i.lab {
  font-family: "Line Awesome Brands" !important;
  font-weight: 400 !important;
}

.aisat-shell i.fas,
.header-section i.fas,
.footer-section i.fas,
.aisat-shell i.fa,
.header-section i.fa,
.footer-section i.fa {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

.aisat-shell i.far,
.header-section i.far,
.footer-section i.far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

.aisat-shell i.fab,
.header-section i.fab,
.footer-section i.fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}

/* Header styling — alsat.space exact replica */
/* .header-section wrapper: height = top-bar(45px) + bottom-bar(~65px) = 110px */
.aisat-shell .header-section,
.header-section {
  position: relative !important;
  width: 100%;
  height: 110px;
  background-color: transparent !important;
  z-index: 999;
}

/* Top bar — pinned to top via JS, full width */
.header-section .header-top {
  position: relative;
  z-index: 1002;
  height: 45px;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background-color: #1e272e !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Kill Elementor row/column padding inside the top bar */
.header-section .header-top .elementor-container,
.header-section .header-top .elementor-row,
.header-section .header-top .elementor-col-100,
.header-section .header-top .elementor-column,
.header-section .header-top .elementor-widget-wrap,
.header-section .header-top .elementor-element {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Main menu bar — fixed so it stays visible on scroll */
.header-section .header-bottom {
  position: fixed !important;
  top: 45px !important;
  left: 0;
  width: 100%;
  z-index: 99999;
  background-color: #172027 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    top 0.3s ease;
  padding: 10px 0;
}

/* When scrolled past top bar, menu slides to top:0 + shadow + darker bg */
.header-section.active .header-bottom {
  top: 0 !important;
  background-color: #1e272e !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* WordPress Admin Bar — sticky top offset includes admin bar height */
body.admin-bar .header-section .header-bottom {
  top: 0;
}

.aisat-shell .header-section .header-top-area {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  list-style: none !important;
  gap: 15px;
}

.aisat-shell .header-section .header-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.aisat-shell .header-section .logo {
  flex-shrink: 0 !important;
  padding-right: 15px;
  display: flex;
  align-items: center;
}

.aisat-shell .header-section .logo img {
  max-height: 45px;
  width: auto;
  display: block;
}

.aisat-shell .header-section .dashboard-dashboard-icon {
  position: relative !important;
  cursor: pointer;
}

/* Avatar circle — matches alsat.space */
.aisat-shell .header-section .dashboard-dashboard-icon .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ddd;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 42px;
  overflow: hidden;
}

/* Dashboard dropdown menu — exact alsat.space replica */
.aisat-shell .header-section .dashboard-menu {
  display: none;
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 220px;
  background: rgb(30, 39, 46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  z-index: 100010;
  padding: 6px 0;
  margin-top: 6px;
  list-style: none;
}

.aisat-shell .header-section .dashboard-dashboard-icon:hover .dashboard-menu {
  display: block;
}

.aisat-shell .header-section .dashboard-menu li a {
  display: block;
  padding: 5px 20px;
  color: #c9d1d9;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.aisat-shell .header-section .dashboard-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Force menu to sit next to logo on desktop, overriding Elementor widget resets */
@media (min-width: 992px) {
  .aisat-shell .header-section .menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
  }

  .aisat-shell .header-section .menu > li {
    display: inline-block !important;
    white-space: nowrap !important;
  }
}

/* Isolate Footer from Page Overlaps */
.footer-section {
  position: relative;
  z-index: 99999;
  margin-top: 60px;
  clear: both;
}

/* Wide layout for header/footer exactly like reference */
.aisat-shell .header-section .container,
.aisat-shell .footer-section .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 4% !important;
  padding-right: 4% !important;
}

/* Make top header links look like plain text, exactly like reference */
.aisat-shell .header-top {
  background-color: rgb(30, 39, 46) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.aisat-shell .header-top-area .links a {
  background: transparent !important;
  color: #c9d1d9 !important;
  padding: 0 4px !important;
  border-radius: 0 !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.aisat-shell .header-top-area .links a:hover {
  color: #fff !important;
}

.aisat-shell .header-top-area .links.b-left {
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-left: 15px !important;
  margin-left: 0 !important;
}

/* Ensure menu is well spaced (Görsel 4 gibi geniş) */
@media (min-width: 992px) {
  .aisat-shell .header-section .menu > li > a {
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
  }

  .aisat-shell .header-section .menu > li > a:hover {
    color: var(--aisat-primary) !important;
  }
}

/* Fix mobile menu nested layout (içiçe) */
@media (min-width: 992px) {
  .header-bar {
    display: none !important;
  }
}

@media (max-width: 991px) {
  /* Mobile: header-top and header-bottom both flow normally */
  .header-section {
    height: auto !important;
    margin-top: calc(-1 * var(--body-mt, 0px));
  }

  /* Top bar stays relative on mobile */
  .header-section .header-top {
    position: relative;
    z-index: 1002;
  }

  /* Bottom bar (logo + burger): fixed on mobile too */
  .header-section .header-bottom {
    position: fixed !important;
    top: 45px !important;
    padding: 10px 0;
    background-color: #172027 !important;
  }

  .header-section .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--aisat-head);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999999 !important;
  }

  .header-section .menu.active {
    display: block;
  }

  .header-section .menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header-section .header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* On scroll active, mobile menu slides to top */
  .header-section.active .header-bottom {
    position: fixed !important;
    top: 0 !important;
    background-color: #1e272e !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }
}

.aisat-shell p,
.aisat-shell span,
.aisat-shell a {
  font-family: "Roboto", sans-serif;
}

/* CSS Override Strip for Header/Footer Redesign */
.aisat-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Page content card overlaps hero slightly (ama menünün üstüne binmesin) */
.aisat-page-wrap {
  margin-top: 18px;
  padding-bottom: 26px;
}

.aisat-page-card {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* Giriş yapmış kullanıcı içerik wrapper */
.aisat-user-content {
  margin-top: 18px;
  padding-bottom: 26px;
}

/* Sidebar kaldırıldı — orijinal template sidebar margin/padding tamamen sıfırla */
.aisat-shell .dashboard-section,
.aisat-shell .bg--section,
.aisat-shell [class*="dashboard"] {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  float: none !important;
}

/* Tüm container'lar ortalanmış */
.aisat-shell .container,
.aisat-shell .container-fluid,
.aisat-shell .container-lg,
.aisat-shell .container-xl {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  float: none !important;
}

/* aisat-container her zaman ortalı */
.aisat-shell .aisat-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* aisat-page-wrap (guest wrapper) — tam genişlik, ortalı */
.aisat-shell .aisat-page-wrap {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* aisat-card-body içindeki dashboard — tam genişlik */
.aisat-shell .aisat-card-body {
  padding: 0 !important;
}

.aisat-shell .aisat-card-body > .dashboard-section {
  margin: 0 !important;
  padding: 24px !important;
  width: 100% !important;
}

/* aisat-page-card — tam genişlik, border yok */
.aisat-shell .aisat-page-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Giriş yapmış kullanıcı içerik — ortalanmış, daraltılmış */
.aisat-user-content {
  margin-top: 18px;
  padding: 0 24px 26px;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Cards */

/* =====================================================
   Mobile bottom navigation (MUI sınıflarıyla)
   - Sadece mobil
   - Ekranın en altına sıfır (adres çubuğuna yapışık)
   - Icon rengi: #2f80ed
   ===================================================== */
.MuiBottomNavigation-root {
  display: none;
}

/* FAB (alt menü ortası) drop-up: masaüstünde asla görünmesin */
.aisat-fab-backdrop,
.aisat-fab-menu {
  display: none;
}

@media (max-width: 768px) {
  body.aisat-page {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  /* Mobilde üst şerit sade: dil seçimi + Cüzdan/Çıkış linklerini gizle */
  .aisat-topstrip-left {
    display: none;
  }

  .aisat-toplinks {
    display: none;
  }

  .aisat-topstrip-inner {
    padding: 8px 0;
  }

  .MuiBottomNavigation-root.aisat-bottomnav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100000;
    background: linear-gradient(
      180deg,
      rgba(12, 26, 46, 0.92),
      rgba(8, 16, 30, 0.92)
    );
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.4);
  }

  .MuiButtonBase-root {
    color: inherit;
    border: 0;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    outline: 0;
    padding: 0;
    position: relative;
    align-items: center;
    border-radius: 0;
    vertical-align: middle;
    justify-content: center;
    text-decoration: none;
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
  }

  .MuiBottomNavigationAction-root {
    flex: 1;
    max-width: none;
    min-width: 0;
    padding: 6px 8px 8px;
    color: #2f80ed;
    text-decoration: none;
    position: relative;
  }

  .MuiBottomNavigationAction-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .MuiSvgIcon-root {
    width: 24px;
    height: 24px;
    fill: currentColor;
    color: #2f80ed !important;
  }

  .MuiBottomNavigationAction-label {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .MuiBottomNavigationAction-root.Mui-selected {
    color: #2f80ed;
  }

  /* 3D glass active pill */
  .MuiBottomNavigationAction-root.Mui-selected::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 6px;
    bottom: 8px;
    border-radius: 16px;
    background: linear-gradient(
      180deg,
      rgba(47, 128, 237, 0.22),
      rgba(47, 128, 237, 0.06)
    );
    border: 1px solid rgba(47, 128, 237, 0.22);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    z-index: -1;
  }

  /* Alt menü ortası yuvarlak buton (Yatır - Çek arası) */
  .aisat-bottomnav-fab {
    flex: 0 0 84px;
    max-width: 84px;
    min-width: 84px;
    padding: 0 0 6px;
    margin-top: -22px;
  }

  .aisat-bottomnav-fab .MuiBottomNavigationAction-wrapper {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    /* Lacivert yuvarlak zemin */
    background: #07101c;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .aisat-bottomnav-fab-ico {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
  }

  .aisat-bottomnav-fab.Mui-selected .MuiBottomNavigationAction-wrapper,
  body.aisat-fab-open .aisat-bottomnav-fab .MuiBottomNavigationAction-wrapper {
    border-color: rgba(47, 128, 237, 0.55);
  }

  /* FAB drop-up menu (2/3. görseldeki linkler) */
  .aisat-fab-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000000;
  }

  .aisat-fab-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(56px + env(safe-area-inset-bottom) + 10px);
    z-index: 1000001;
    padding: 0 16px;
  }

  .aisat-fab-sheet {
    max-width: 420px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 18px;
    background: rgba(9, 20, 35, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(18px);
    opacity: 0;
    transition: all 0.18s ease;
    max-height: 62vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .aisat-fab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  @media (max-width: 380px) {
    .aisat-fab-grid {
      grid-template-columns: 1fr;
    }
  }

  .aisat-fab-sec {
    background: rgba(7, 16, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
  }

  .aisat-fab-sec-title {
    font-size: 13px;
    font-weight: 1000;
    color: #7bb6ff;
    margin-bottom: 8px;
  }

  .aisat-fab-link {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 850;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .aisat-fab-link:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  body.aisat-fab-open .aisat-fab-backdrop {
    display: block;
  }

  body.aisat-fab-open .aisat-fab-menu {
    display: block;
  }

  body.aisat-fab-open .aisat-fab-menu .aisat-fab-sheet {
    transform: translateY(0);
    opacity: 1;
  }

  /* %100 mobil garanti: tablolar yatay taşarsa scroll */
  .aisat-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .MuiTouchRipple-root {
    display: none;
  }
}

body.aisat-page .elementor-section.elementor-section-boxed > .elementor-container,
body.aisat-page .ast-container,
body.aisat-page .site-content > .ast-container {
    max-width: 1400px !important;
    width: auto !important;
}

/* Base Drops */
.aisat-dd {
  position: absolute;
  top: 46px;
  left: 0;
  min-width: 230px;
  background: rgba(11, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: none;
  z-index: 100005;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  overflow: visible;
  backdrop-filter: blur(14px);
}

.aisat-dd a {
  display: flex;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--aisat-text);
  font-weight: 800;
  border-bottom: 1px solid #223146;
}

.aisat-dd a:last-child {
  border-bottom: none;
}

.aisat-dd a:hover {
  background: rgba(7, 16, 28, 0.75);
}

/* Page content card overlaps hero slightly (ama menünün üstüne binmesin) */
.aisat-page-wrap {
  margin-top: 18px;
  padding-bottom: 26px;
}

.aisat-page-card {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* Cards */
.aisat-card {
  background: var(--aisat-card);
  border: 1px solid var(--aisat-border);
  border-radius: 5px;
  overflow: visible;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.aisat-card-head {
  background: var(--aisat-head);
  padding: 12px 14px;
  color: #fff;
  font-weight: 900;
}

.aisat-card-body {
  padding: 14px;
}

.aisat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.aisat-instrument-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.aisat-instrument-ico {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: #07101c;
  border: 1px solid var(--aisat-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.aisat-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--aisat-primary);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}

.aisat-btn:hover {
  filter: brightness(1.05);
}

.aisat-btn-outline {
  background: transparent;
  border: 1px solid var(--aisat-border);
}

.aisat-btn-green {
  background: var(--aisat-green);
}

.aisat-btn-red {
  background: var(--aisat-red);
}

/* Tables */
.aisat-table {
  width: 100%;
  border-collapse: collapse;
}

.aisat-table th,
.aisat-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #223146;
  color: var(--aisat-text);
}

.aisat-table th {
  background: var(--aisat-head);
  color: #fff;
  text-align: left;
}

.aisat-table tr:last-child td {
  border-bottom: none;
}

/* Forms */
.aisat-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.aisat-field label {
  font-weight: 800;
}

.aisat-input,
.aisat-select,
.aisat-textarea {
  border: 1px solid var(--aisat-border);
  background: #07101c;
  color: var(--aisat-text);
  border-radius: 5px;
  padding: 10px 10px;
}

.aisat-select option {
  color: #000;
  background: #fff;
}

.aisat-textarea {
  min-height: 120px;
}

.aisat-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Trade */
.aisat-trade-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aisat-range {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.aisat-range button {
  border: 1px solid var(--aisat-border);
  background: var(--aisat-card);
  color: var(--aisat-text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.aisat-range button.active {
  background: var(--aisat-primary);
  border-color: var(--aisat-primary);
  color: #fff;
}

.aisat-price {
  font-size: 14px;
  font-weight: 900;
}

/* Modal */
.aisat-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 100000;
}

.aisat-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: var(--aisat-card);
  border: 1px solid var(--aisat-border);
  border-radius: 14px;
  display: none;
  z-index: 100001;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.aisat-modal header {
  background: var(--aisat-head);
  color: #fff;
  padding: 14px 16px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aisat-modal header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.aisat-modal .body {
  padding: 16px;
}

/* Toast */
.aisat-toast {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100002;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aisat-toast-item {
  background: var(--aisat-card);
  border: 1px solid var(--aisat-border);
  border-left: 6px solid var(--aisat-primary);
  border-radius: 12px;
  padding: 12px 12px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.aisat-toast-item.error {
  border-left-color: var(--aisat-red);
}

.aisat-toast-title {
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.aisat-toast-msg {
  opacity: 0.95;
}

/* ═══════════════ Flip Clock (alsat.space style) ═══════════════ */
.flip-clock-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  user-select: none;
}

/* Divider (Hours / Minutes / Seconds label + dots) */
.flip-clock-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 64px;
  width: 14px;
}

.flip-clock-divider.hours {
  width: 0;
}

.flip-clock-divider .flip-clock-label {
  display: none;
  /* hidden by default, can show if wanted */
}

.flip-clock-divider .flip-clock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #adb5bd;
}

.flip-clock-divider .flip-clock-dot.top {
  margin-bottom: 8px;
}

.flip-clock-divider .flip-clock-dot.bottom {
  margin-top: 8px;
}

/* Each digit container */
.flip {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 36px;
  height: 64px;
  perspective: 200px;
}

.flip li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  list-style: none;
}

.flip li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  pointer-events: none;
}

/* flip-clock-before = old digit (behind), flip-clock-active = current digit (front) */
.flip li.flip-clock-before {
  z-index: 2;
}

.flip li.flip-clock-active {
  z-index: 3;
  animation: anim-flip-top 0.3s ease-in-out;
}

/* Upper & lower halves */
.flip .up,
.flip .down {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: #1a2332;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flip .up {
  top: 0;
  border-radius: 6px 6px 0 0;
  border-bottom: none;
}

.flip .down {
  bottom: 0;
  border-radius: 0 0 6px 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.4);
}

/* Shadow overlay for 3D depth effect */
.flip .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.flip .up .shadow {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.flip .down .shadow {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* The digit text */
.flip .inn {
  position: absolute;
  left: 0;
  width: 100%;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1;
  font-family: "Segoe UI", "Roboto", "Arial", sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.flip .up .inn {
  top: 50%;
  transform: translateY(-50%);
  height: 64px;
  line-height: 64px;
}

.flip .down .inn {
  bottom: 50%;
  transform: translateY(50%);
  height: 64px;
  line-height: 64px;
}

/* Flip animation */
.flip.play li.flip-clock-before .up {
  z-index: 2;
  animation: anim-hide 0.5s ease-in both;
}

.flip.play li.flip-clock-active .down {
  z-index: 2;
  animation: anim-show 0.5s ease-out 0.3s both;
}

@keyframes anim-hide {
  0% {
    transform: rotateX(0deg);
  }

  100% {
    transform: rotateX(-90deg);
  }
}

@keyframes anim-show {
  0% {
    transform: rotateX(90deg);
  }

  100% {
    transform: rotateX(0deg);
  }
}

@keyframes anim-flip-top {
  0% {
    transform: rotateX(0);
  }

  50% {
    transform: rotateX(-5deg);
  }

  100% {
    transform: rotateX(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .flip {
    width: 28px;
    height: 50px;
  }

  .flip .inn {
    font-size: 26px;
  }

  .flip .up .inn,
  .flip .down .inn {
    height: 50px;
    line-height: 50px;
  }

  .flip-clock-divider {
    height: 50px;
    width: 10px;
  }

  .flip-clock-divider .flip-clock-dot {
    width: 5px;
    height: 5px;
  }
}

.aisat-link {
  color: #9cc9ff;
}

/* =========================
   Auth (Login / Register / Profile)
   ========================= */

/* Fixed Modal Shell for Global Header Auth Links */
.aisat-global-modal {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999 !important;
  display: none !important;
  /* Forces hiding by default over aisat-auth-shell */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.aisat-global-modal.show-modal {
  display: flex !important;
}

.aisat-auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1000;
  width: 100%;
}

.aisat-auth-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aisat-auth-card {
  position: relative;
  width: 100%;
  max-width: 710px;
  background: rgba(11, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  padding: 26px 26px 22px;
}

.aisat-auth-card--wide {
  max-width: 760px;
}

.aisat-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.aisat-auth-brand img {
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.aisat-auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

.aisat-auth-sub {
  text-align: center;
  opacity: 0.9;
  margin-top: -8px;
  margin-bottom: 18px;
}

.aisat-auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 16, 28, 0.55);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
}

.aisat-auth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1877f2;
  font-weight: 1000;
}

.aisat-auth-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 10px;
}

.aisat-auth-sep span {
  font-weight: 1000;
  opacity: 0.85;
}

.aisat-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aisat-auth-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aisat-auth-input .aisat-input {
  flex: 1;
}

.aisat-auth-ic {
  width: 46px;
  height: 44px;
  border-radius: 12px;
  background: var(--aisat-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
}

.aisat-auth-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-weight: 800;
  opacity: 0.95;
}

.aisat-auth-btn {
  margin-top: 6px;
}

.aisat-auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.aisat-alert {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  margin: 6px 0;
}

.aisat-alert--ok {
  background: rgba(46, 204, 113, 0.16);
  border: 1px solid rgba(46, 204, 113, 0.28);
}

.aisat-alert--err {
  background: rgba(255, 45, 45, 0.13);
  border: 1px solid rgba(255, 45, 45, 0.25);
}

.aisat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .aisat-grid-2 {
    grid-template-columns: 1fr;
  }

  .aisat-auth-card {
    padding: 22px 18px;
  }
}

/* Close buttons */
.aisat-auth-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* Auth shell — full-screen dark background for standalone login/register pages */
.aisat-auth-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aisat-bg, #0d1b2a);
}

/* Auth card wrapper — contains form + close button */
.aisat-auth-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.aisat-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100001;
  width: 42px;
  height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none !important;
  color: #fff !important;
  font-size: 28px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 16, 28, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font-family: Arial, sans-serif !important;
  font-style: normal !important;
  transition: filter 0.2s;
}

/* Force close button icon to always be white regardless of theme */
a.aisat-auth-close,
a.aisat-auth-close:visited,
a.aisat-auth-close:link,
a.aisat-auth-close:hover,
a.aisat-auth-close:focus,
a.aisat-auth-close:active {
  color: #ffffff !important;
  text-decoration: none !important;
  background-color: rgba(7, 16, 28, 0.55) !important;
}

a.aisat-auth-close > i,
a.aisat-auth-close > i.las,
a.aisat-auth-close > i.la-times {
  color: #ffffff !important;
  font-size: 24px !important;
  font-style: normal !important;
  line-height: 1 !important;
}

.aisat-auth-close:hover {
  filter: brightness(1.3);
  color: #fff !important;
}

.aisat-page-card {
  position: relative;
}

.aisat-page-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 16, 28, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.aisat-page-close:hover {
  filter: brightness(1.05);
}

/* Deposit panels (Havale/EFT - Kripto sekmeleri) */
.aisat-deposit-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.aisat-deposit-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 16, 28, 0.35);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 1000;
  cursor: pointer;
}

.aisat-deposit-tab:hover {
  filter: brightness(1.05);
}

.aisat-deposit-tab.active {
  background: rgba(47, 125, 209, 0.18);
  border-color: rgba(47, 125, 209, 0.55);
}

.aisat-deposit-panel .aisat-card {
  margin-bottom: 12px;
}

@media (min-width: 769px) {
  body.aisat-fab-open .aisat-fab-backdrop,
  body.aisat-fab-open .aisat-fab-menu {
    display: none !important;
  }
}

/* ────────────────── Auth Pages (Login / Register) ────────────────── */

/* Wrapper for standalone auth pages */
.aisat-inline-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aisat-bg, #172027);
  padding: 40px 16px;
}

.aisat-auth-wrap {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

/* Auth Card */
.aisat-auth-card {
  position: relative;
  background: var(--aisat-card, #1e272e);
  border-radius: 10px;
  padding: 50px;
  width: 100%;
  max-width: 710px;
}

/* Brand / Logo */
.aisat-auth-brand {
  text-align: center;
  margin-bottom: 8px;
}

.aisat-auth-brand img {
  height: 60px;
  width: auto;
}

/* Title */
.aisat-auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  font-family: "Rajdhani", sans-serif;
}

/* Facebook social button */
.aisat-auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto 16px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s;
}

.aisat-auth-social:hover {
  background: rgba(255, 255, 255, 0.05);
}

.aisat-auth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #1877f2;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
}

/* VEYA separator */
.aisat-auth-sep {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Labels */
.aisat-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}

/* Input group (icon + input) */
.aisat-auth-input {
  display: flex;
  align-items: stretch;
  margin-bottom: 16px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Icon box */
.aisat-auth-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  min-width: 45px;
  height: 45px;
  background: #2e86de;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

/* Input field */
.aisat-auth-input .aisat-input {
  flex: 1;
  background: var(--aisat-bg, #172027);
  border: none;
  outline: none;
  color: #ddd;
  font-size: 15px;
  padding: 0 14px;
  height: 45px;
}

.aisat-auth-input .aisat-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Remember me / terms checkbox */
.aisat-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 20px;
  cursor: pointer;
}

.aisat-auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2e86de;
  flex-shrink: 0;
}

/* Submit button */
.aisat-auth-btn {
  display: block;
  width: 100%;
  background: #2e86de;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 16px;
}

.aisat-auth-btn:hover {
  background: #2578c7;
}

/* Foot links */
.aisat-auth-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.aisat-auth-foot a {
  color: #2e86de;
  font-size: 14px;
  text-decoration: none;
}

.aisat-auth-foot a:hover {
  text-decoration: underline;
}

/* 2-column grid (register name/password) */
.aisat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

/* Auth notice (error/success messages) */
.aisat-auth-notice {
  padding: 10px 14px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 14px;
}

.aisat-auth-notice.error {
  background: rgba(234, 32, 39, 0.15);
  color: #ea5455;
  border: 1px solid rgba(234, 32, 39, 0.3);
}

.aisat-auth-notice.success {
  background: rgba(40, 199, 111, 0.15);
  color: #28c76f;
  border: 1px solid rgba(40, 199, 111, 0.3);
}

/* Mobile responsive */
@media (max-width: 576px) {
  .aisat-auth-card {
    padding: 30px 20px;
  }

  .aisat-grid-2 {
    grid-template-columns: 1fr;
  }

  .aisat-auth-foot {
    flex-direction: column;
    text-align: center;
  }
}

.aisat-global-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.aisat-global-modal.show-modal {
  display: flex;
}

.aisat-global-modal-inner {
  position: relative;
  background: var(--aisat-card, #1e272e);
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 710px;
  width: 92%;
  max-height: 750px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.aisat-global-modal-inner .aisat-auth-close,
.aisat-global-modal .aisat-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #fff !important;
  font-size: 26px;
  text-decoration: none !important;
  z-index: 10;
  opacity: 0.9;
  transition:
    opacity 0.2s,
    background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 16, 28, 0.7);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-family: Arial, sans-serif !important;
  font-style: normal !important;
  line-height: 1;
}

.aisat-global-modal-inner .aisat-auth-close:hover,
.aisat-global-modal .aisat-auth-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}

.aisat-global-modal > .aisat-shell,
.aisat-global-modal > .aisat-card,
.aisat-global-modal > form,
.aisat-global-modal > div:not(.aisat-auth-close) {
  position: relative;
  background: var(--aisat-card, #1e272e);
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 710px;
  width: 92%;
  max-height: 750px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ========== DASHBOARD / WALLET ========== */
.aisat-db-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .aisat-db-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .aisat-db-grid {
    grid-template-columns: 1fr;
  }
}

.aisat-db-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1a6fd8;
  border-radius: 5px;
  padding: 18px 16px;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.aisat-db-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.aisat-db-card--demo {
  background: #1a5fb4;
}

.aisat-db-card--real {
  background: #114f99;
}

.aisat-db-card-icon {
  font-size: 28px;
  min-width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.aisat-db-card-val {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.aisat-db-card-lbl {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.aisat-btn--sm {
  font-size: 12px;
  padding: 5px 12px;
  margin-top: 4px;
}

/* Referral link */
.aisat-db-reflink {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e272e;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.aisat-db-reflink-label {
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  min-width: 90px;
}

.aisat-db-reflink-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 7px 10px;
  color: #fff;
  font-size: 13px;
  cursor: text;
}

/* ========== DASHBOARD NOTIFICATION BAR ========== */
.aisat-db-notif hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.aisat-db-notif-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.aisat-db-notif-bell {
  margin-left: 6px;
}

.aisat-db-notif-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ========== DASHBOARD TABLE ========== */
.aisat-db-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.aisat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #fff;
}

.aisat-table thead tr {
  background: #2e86de;
}

.aisat-table thead th {
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}

.aisat-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.15s;
}

.aisat-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.aisat-table tbody td {
  padding: 12px 5px;
  text-align: center;
  vertical-align: middle;
  color: #fff !important;
}

.aisat-table-empty {
  text-align: center;
  padding: 28px;
  color: rgba(255, 255, 255, 0.5);
}

/* Badge */
.aisat-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.aisat-badge--win {
  background: #1a8a3a;
  color: #fff;
}

.aisat-badge--loss {
  background: #8a1a1a;
  color: #fff;
}

.aisat-badge--pend {
  background: #8a6a1a;
  color: #fff;
}

/* Icon button */
.aisat-btn--icon {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
}

/* ========== DASHBOARD OVERRIDE CSS ========== */

/* Full-bleed: dashboard-section viewport genişliğine çık */
.dashboard-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

/* Wallet shell kısıtlamalarını kaldır */
.aisat-page--wallet .aisat-shell,
.aisat-page--wallet .aisat-shell > .container,
.aisat-page--wallet .aisat-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

/* Container tam genişlik */
.dashboard-section .container {
  max-width: 1320px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

/* Dashboard kart title — tek satır, kompakt */
.dashboard__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  white-space: nowrap;
}

/* Subtitle tek satır */
.dashboard__content .subtitle {
  font-size: 12px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Buton tek satır */
.dashboard__content .btn--sm {
  white-space: nowrap !important;
  font-size: 12px !important;
}

/* alsat.space ile aynı köşeler */
.dashboard__item {
  border-radius: 5px !important;
  overflow: hidden !important;
}

.dashboard__thumb {
  border-radius: 5px 0 0 5px !important;
}

/* ========== DASHBOARD ALERT HR + YÜKSEKLIK ========== */
/* Notification banner yükseklik artır */
.dashboard-section .alert,
.notification-alert .alert {
  border-radius: 12px !important;
  padding: 20px 24px !important;
  min-height: 90px;
}

/* HR (ayraç çizgi) görünür yap */
.dashboard-section .alert hr,
.notification-alert .alert hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  margin: 12px 0 !important;
  opacity: 1 !important;
  display: block !important;
}

/* Tablo + input oval - eski silinmişti */
.dashboard-section .table-responsive {
  border-radius: 12px !important;
  overflow: hidden !important;
}

.dashboard-section .input-group {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* =========================================================
   DASHBOARD FULL-WIDTH FIX
   WordPress tema container'ını kır, tam genişlik kullan
   ========================================================= */

/* Dashboard bölümünü tam genişliğe çek */
.dashboard-section {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Tema veya Elementor'un koyduğu dar container'ları ezip tam genişlik yap */
.aisat-shell .dashboard-section,
.elementor-widget-container .dashboard-section,
.entry-content .dashboard-section,
.post-content .dashboard-section,
[class*="wp-block"] .dashboard-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}

/* Stat kartı başlıkları - tutar tek satırda kalacak */
.dashboard__title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

/* Dashboard kartları - alsat.space ile aynı */
.dashboard__item {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  border-radius: 5px !important;
  height: 100% !important;
  background: #1e272e !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0 !important;
}

/* İkon kutusu — alsat.space ile aynı 90px */
.dashboard__thumb {
  flex-shrink: 0 !important;
  width: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 5px 0 0 5px !important;
  font-size: 40px !important;
  background: #2e86de !important;
  color: #fff !important;
}

/* İçerik alanı — alsat.space ile aynı */
.dashboard__content {
  padding: 30px !important;
  width: calc(100% - 90px) !important;
  min-width: 0 !important;
}

/* Alt yazı */
.dashboard__content .subtitle {
  font-size: 0.82rem !important;
  opacity: 0.75 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Hepsini Gör butonu küçük */
.dashboard__content .btn--sm {
  margin-top: 8px !important;
  font-size: 0.78rem !important;
  padding: 3px 10px !important;
}

/* ============================================================
   KULLANICI İKİNCİL NAV BAR (giriş sonrası, header altında)
   ============================================================ */
.aisat-user-nav {
  background: #1a2233;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  position: relative;
  z-index: 999;
}

.aisat-user-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.aisat-user-nav__inner {
  display: flex;
  align-items: stretch;
}

.aisat-user-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}

.aisat-user-nav__menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.aisat-user-nav__menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s;
  border-radius: 0;
}

.aisat-user-nav__menu > li > a i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.aisat-user-nav__menu > li > a:hover,
.aisat-user-nav__menu > li > a.active {
  color: #f0b90b;
  background: rgba(255, 255, 255, 0.05);
}

/* Aktif item alt çizgi */
.aisat-user-nav__menu > li > a.active {
  border-bottom: 2px solid #f0b90b;
}

/* Dropdown ok döndür */
.aisat-user-nav__menu > li.has-sub:hover > a i {
  transform: rotate(180deg);
}

/* Alt menü */
.aisat-user-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #1e2d45;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.aisat-user-nav__menu > li.has-sub:hover .aisat-user-nav__sub {
  display: block;
}

.aisat-user-nav__sub li a {
  display: block;
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}

.aisat-user-nav__sub li a:hover {
  color: #f0b90b;
  background: rgba(255, 255, 255, 0.07);
}

/* Mobil: scrollable yatay */
@media (max-width: 768px) {
  .aisat-user-nav .container {
    padding: 0;
  }

  .aisat-user-nav__menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .aisat-user-nav__menu::-webkit-scrollbar {
    display: none;
  }

  .aisat-user-nav__menu > li > a {
    padding: 11px 12px;
    font-size: 0.8rem;
  }

  .aisat-user-nav__sub {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    min-width: 180px;
  }
}

/* ==========================================
   HEADER - TOP BAR daima solid, BOTTOM transparent→solid
   ========================================== */

/* Top bar daima solid */
.header-section .header-top {
  background-color: #172027 !important;
}

/* Header-bottom: başlangıçta şeffaf, hero/arka plan görünsün */
.header-section .header-bottom {
  background-color: transparent !important;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

/* Scroll edilince veya kullanıcı sayfasında daima solid */
.header-section.scrolled .header-bottom,
.aisat-user-page .header-section .header-bottom,
body.user-logged-in .header-section .header-bottom {
  background-color: #172027 !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Ayrıca header-section kendisi de arka planı olmayacak (şeffaf için) */
.header-section {
  background-color: transparent;
}

/* Kullanıcı sayfalarında header-section de solid */
.aisat-user-page .header-section {
  background-color: #172027 !important;
}

/* ==========================================
   TOPBAR - Guest ve Logged-in Buton Stilleri
   ========================================== */
.aisat-topbar-btn {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.aisat-topbar-btn:hover {
  opacity: 0.85;
}

.aisat-topbar-btn--login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.aisat-topbar-btn--register {
  background: var(--aisat-primary, #2e86de);
  border: 1px solid var(--aisat-primary, #2e86de);
  color: #fff !important;
}

/* Logged-in topbar öğeleri */
.aisat-topbar-user,
.aisat-topbar-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #ddd;
}

.aisat-topbar-balance strong {
  color: #28c76f;
  font-weight: 700;
}

.aisat-topbar-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  background: rgba(234, 32, 39, 0.15);
  color: #ea2027 !important;
  border: 1px solid rgba(234, 32, 39, 0.3);
  text-decoration: none !important;
  transition: background 0.2s;
}

.aisat-topbar-logout:hover {
  background: rgba(234, 32, 39, 0.3);
}

/* User Profile Dropdown Specific Styles */
.user-profile-dropdown .dropdown-list {
  background: #17202a !important;
  border-radius: 4px !important;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5) !important;
  right: 0 !important;
  left: auto !important;
}

.user-profile-dropdown .dropdown-list__item {
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  transition: all 0.3s ease;
}

.user-profile-dropdown .dropdown-list__item:last-child {
  border-bottom: none !important;
}

.user-profile-dropdown .dropdown-list__item a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.user-profile-dropdown .dropdown-list__item:hover {
  background: #1e2a35 !important;
}

.user-profile-dropdown .dropdown-list__item:hover a {
  color: #f0b90b !important;
}

/* ==========================================
   DASHBOARD LAYOUT - Sidebar + Content
   ========================================== */
.aisat-dashboard-wrap {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 110px);
  background: var(--aisat-bg, #172027);
}

/* SIDEBAR */
.aisat-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #1e272e;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  min-height: calc(100vh - 110px);
  position: sticky;
  top: 110px;
  overflow-y: auto;
  padding: 20px 0 40px;
}

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

.aisat-sidebar-item {
  margin: 0;
}

.aisat-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #aab8c2 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  font-family: "Roboto", sans-serif;
}

.aisat-sidebar-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.aisat-sidebar-link:hover,
.aisat-sidebar-link.active {
  color: #fff !important;
  background: rgba(46, 134, 222, 0.12);
  border-left-color: var(--aisat-primary, #2e86de);
}

.aisat-sidebar-item:last-child .aisat-sidebar-link:hover {
  background: rgba(234, 32, 39, 0.1);
  border-left-color: #ea2027;
  color: #ea2027 !important;
}

/* DASHBOARD MAIN CONTENT */
.aisat-dashboard-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* dashboard-section already has padding; remove extra card wrapper padding */
.aisat-dashboard-main .dashboard-section {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* ==========================================
   RESPONSIVE - Sidebar mobilde gizle
   ========================================== */
@media (max-width: 991px) {
  .aisat-dashboard-wrap {
    flex-direction: column;
  }

  .aisat-sidebar {
    width: 100%;
    min-height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 0;
  }

  .aisat-sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .aisat-sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .aisat-sidebar-item {
    flex-shrink: 0;
  }

  .aisat-sidebar-link {
    padding: 10px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .aisat-sidebar-link:hover,
  .aisat-sidebar-link.active {
    border-left-color: transparent;
    border-bottom-color: var(--aisat-primary, #2e86de);
  }

  .aisat-sidebar-link span {
    display: none;
  }

  .aisat-sidebar-link i {
    font-size: 1.3rem;
  }
}

/* =========================================================
   HOTFIX: Cüzdan sayfası yatay kayma / horizontal scroll fix
   ========================================================= */
body.aisat-page,
body.aisat-page .site,
body.aisat-page .site-main,
.aisat-shell,
.aisat-user-content {
  overflow-x: hidden;
}

.aisat-user-content > .dashboard-section,
.aisat-shell .dashboard-section,
.elementor-widget-container .dashboard-section,
.entry-content .dashboard-section,
.post-content .dashboard-section,
[class*="wp-block"] .dashboard-section {
  position: relative !important;
  left: auto !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.dashboard-section .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {
  .dashboard-section .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ============================================================
   Withdraw Gateway Selection + Calculator Styles
   ============================================================ */

/* Scrollable gateway list */
.payment-system-list.is-scrollable,
.gateway-option-list {
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--aisat-primary, #2e86de) transparent;
}

/* Individual gateway label (acts as a clickable card) */
.payment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--aisat-border, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s,
    background 0.2s;
  user-select: none;
}

.payment-item:hover {
  border-color: var(--aisat-primary, #2e86de);
  background: rgba(46, 134, 222, 0.07);
}

.payment-item.selected,
.payment-item:has(input:checked) {
  border-color: var(--aisat-primary, #2e86de);
  background: rgba(46, 134, 222, 0.12);
}

/* Check indicator dot */
.payment-item__check {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.payment-item.selected .payment-item__check,
.payment-item:has(input:checked) .payment-item__check {
  border-color: var(--aisat-primary, #2e86de);
  background: var(--aisat-primary, #2e86de);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, 0.25);
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex: 1;
}

.payment-item__name {
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
}

.payment-item__limits {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  margin-left: 8px;
}

/* Right col: calculator info rows */
.deposit-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.deposit-info:last-child {
  border-bottom: none;
}

.deposit-info__title {
  flex: 0 0 48%;
}
.deposit-info__input {
  flex: 0 0 50%;
  text-align: right;
}

.deposit-info.total-amount {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  font-size: 14px;
}

.deposit-info .amount {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  font-size: 14px;
  width: 100%;
}

.deposit-info .amount::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.deposit-info__input-group {
  display: flex;
  align-items: center;
}

.deposit-info__input-group-text {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

.deposit-info__input-group .form-control {
  border-radius: 0 6px 6px 0 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-left: none !important;
  color: #fff !important;
}

.deposit-info p.text {
  margin: 0;
  color: var(--aisat-text, #ddd);
  font-size: 13px;
}

/* Submit button */
.withdraw-form .btn--base {
  background: var(--aisat-primary, #2e86de);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    opacity 0.2s;
}

.withdraw-form .btn--base:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.withdraw-form .btn--base:not(:disabled):hover {
  background: #1a6bbf;
}

/* Alert message */
.aisat-alert {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.aisat-alert-info {
  background: rgba(46, 134, 222, 0.15);
  border: 1px solid rgba(46, 134, 222, 0.4);
  color: #a8d0f7;
}

/* Wallet address */
#aisat-wallet-address {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 13px;
  padding: 6px 10px !important;
  width: 100%;
}

#aisat-wallet-address::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Info text at bottom */
.withdraw-form .info-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ── Deposit / Practice cards (alsat.space match) ── */
.custom--card.deposit--card {
  background: #1a232e;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.custom--card.deposit--card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.custom--card.deposit--card .card-header {
  background: #28343f;
  border-bottom: none;
}
/* General custom--card card-header (deposit/withdraw): blue bg + white text */
.custom--card:not(.deposit--card) .card-header {
  background: var(--aisat-primary, #4285f4) !important;
  border-bottom: none;
}
.custom--card:not(.deposit--card) .card-header .card-title {
  color: #fff !important;
}
.custom--card.deposit--card .card-header .card-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}
.custom--card.deposit--card .card-body {
  padding: 16px 12px 12px;
  display: flex;
  justify-content: center;
}
.custom--card.deposit--card .deposit__thumb {
  background: radial-gradient(circle, #0d1520 60%, #0b1018 100%);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 14px;
  border: 2px solid rgba(255,255,255,.06);
}
.custom--card.deposit--card .deposit__thumb img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.custom--card.deposit--card .card-footer {
  background: transparent;
  border-top: none;
  padding: 0 12px 12px;
}

/* ── cmn--btn (card trade button) ── */
.cmn--btn {
  display: block;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  background: var(--aisat-primary, #4285f4);
  border-radius: 6px;
  text-decoration: none !important;
  transition: opacity .2s;
}
.cmn--btn:hover {
  opacity: .85;
  color: #fff !important;
}

/* ── btn--base-outline (demo balance add) ── */
.btn--base-outline {
  background: transparent;
  border: 1px solid var(--aisat-primary, #4285f4);
  color: var(--aisat-primary, #4285f4);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn--base-outline:hover {
  background: var(--aisat-primary, #4285f4);
  color: #fff;
}

/* ── Confirmation modal (Onay Bildirimi!) ── */
.custom--modal {
  z-index: 1050;
}
.custom--modal .modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 400px;
  width: 92%;
}
.custom--modal .modal-content {
  background: #1e2a38;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  border: none;
  width: 100%;
}
.custom--modal .modal-header {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 14px 18px;
}
.custom--modal .modal-header .modal-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.custom--modal .modal-header span[data-aisat-close] {
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.custom--modal .modal-header span[data-aisat-close]:hover {
  color: #fff;
}
.custom--modal .modal-body {
  color: #cfd4dc;
  font-size: 14px;
}
.custom--modal .modal-body .question {
  margin: 0;
}
.custom--modal .modal-footer {
  border-top: none;
  gap: 10px;
  padding: 12px 18px 16px;
}
.custom--modal .btn--dark {
  background: #d9534f;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.custom--modal .btn--dark:hover { opacity: .85; color: #fff; }
.custom--modal .btn--base {
  background: #5cb85c;
  color: #fff;
  border: none;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.custom--modal .btn--base:hover { opacity: .85; color: #fff; }

/* ===== Duration Controls — compact horizontal row above chart ===== */
.duration-controls {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.duration-controls button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 30px !important;
  height: auto !important;
  min-height: 0 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 5px !important;
  background: #1e272e !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
.duration-controls button i {
  color: #2e86de !important;
}
.duration-controls button.active,
.duration-controls button:hover {
  box-shadow: 0 0 4px rgba(255,255,255,0.4) !important;
  background: #485460 !important;
}

/* Also target ul.highlow-time-duration for theme compatibility */
.highlow-time-duration {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.highlow-time-duration li {
  padding: 5px !important;
  flex: 0 0 auto !important;
}
.highlow-time-duration li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 30px !important;
  height: auto !important;
  min-height: 0 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 5px !important;
  background: #1e272e !important;
  color: #fff !important;
  font-size: 14px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.highlow-time-duration li a i {
  color: #2e86de !important;
}
.highlow-time-duration li a.active,
.highlow-time-duration li a:hover {
  box-shadow: 0 0 4px rgba(255,255,255,0.4) !important;
  background: #485460 !important;
}

/* ===== Deposit / Withdraw submit buttons — always styled ===== */
#aisat-deposit-form .btn--base,
#aisat-withdraw-form .btn--base,
#aisat-calc-submit,
#aisat-wm-submit {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
#aisat-deposit-form .btn--base:hover,
#aisat-withdraw-form .btn--base:hover,
#aisat-calc-submit:hover,
#aisat-wm-submit:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}

/* ===== Global User Pages — Consistent 1400×800 container ===== */

/* Reduce section padding */
.dashboard-section.pt-120,
.dashboard-section.bg--section,
div.dashboard-section {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

/* The main container box — scales to screen */
.dashboard-section > .container,
.deposit-section > .container,
.withdraw-section > .container,
.bg--section > .container,
div.dashboard-section > div.container,
div.bg--section > div.container {
  width: 100% !important;
  max-width: 1140px !important;
  min-height: 800px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  overflow-y: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 15px !important;
  box-shadow: none !important;
  position: relative !important;
  isolation: isolate !important;
}

/* Fix Bootstrap row negative margins that cause horizontal overflow */
.dashboard-section > .container > .row,
.bg--section > .container > .row,
.dashboard-section > .container > .notice,
.bg--section > .container > .notice {
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Bootstrap columns should stay inside */
.dashboard-section > .container .row > [class*="col-"],
.bg--section > .container .row > [class*="col-"] {
  box-sizing: border-box !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Tables should not overflow — allow horizontal scroll */
.dashboard-section > .container table,
.bg--section > .container table {
  width: 100% !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  color: #fff !important;
}

.dashboard-section > .container table th,
.dashboard-section > .container table td,
.bg--section > .container table th,
.bg--section > .container table td {
  color: #fff !important;
}

.dashboard-section > .container .table-responsive,
.bg--section > .container .table-responsive {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Scrollbar styling */
.dashboard-section > .container::-webkit-scrollbar,
.bg--section > .container::-webkit-scrollbar {
  width: 6px;
}
.dashboard-section > .container::-webkit-scrollbar-track,
.bg--section > .container::-webkit-scrollbar-track {
  background: transparent;
}
.dashboard-section > .container::-webkit-scrollbar-thumb,
.bg--section > .container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

/* Mobile responsive — up to 768px */
@media (max-width: 768px) {
  .dashboard-section.pt-120,
  .dashboard-section.bg--section,
  div.dashboard-section {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
  .dashboard-section > .container,
  .deposit-section > .container,
  .withdraw-section > .container,
  .bg--section > .container,
  div.dashboard-section > div.container,
  div.bg--section > div.container {
    height: auto !important;
    border-radius: 10px !important;
    padding: 15px !important;
  }
}

/* Small mobile — up to 480px */
@media (max-width: 480px) {
  .dashboard-section > .container,
  .deposit-section > .container,
  .withdraw-section > .container,
  .bg--section > .container,
  div.dashboard-section > div.container,
  div.bg--section > div.container {
    border-radius: 8px !important;
    padding: 10px !important;
  }
}

/* ===== Retina Ready — Hi-DPI image rendering ===== */
.dashboard-section img,
.bg--section img,
.dashboard__thumb img,
.dashboard__item img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: bicubic;
  max-width: 100%;
  height: auto;
}

/* SVG icons should scale cleanly */
.dashboard-section svg,
.bg--section svg,
.dashboard-section i,
.bg--section i {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Retina 2x screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .dashboard-section img,
  .bg--section img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* ===== Responsive Dashboard Cards ===== */
@media (max-width: 992px) {
  .dashboard-section .col-xl-3,
  .dashboard-section .col-lg-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 576px) {
  .dashboard-section .col-xl-3,
  .dashboard-section .col-lg-4,
  .dashboard-section .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ===== Responsive Trade Page ===== */
@media (max-width: 992px) {
  .dashboard-section .col-lg-7,
  .bg--section .col-lg-7 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .dashboard-section .col-lg-5,
  .bg--section .col-lg-5 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 15px !important;
  }
}

/* Firefox smooth scroll inside container */
.dashboard-section > .container,
.bg--section > .container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* ===== Prevent horizontal page scroll ===== */
html, body {
  overflow-x: hidden !important;
}

/* ===== Stretch cards horizontally — fill container width ===== */

/* Dashboard stat cards row: spread across full width */
.dashboard-section > .container .row.justify-content-center,
.bg--section > .container .row.justify-content-center {
  justify-content: space-between !important;
}

/* Dashboard item cards full stretch */
.dashboard-section > .container .dashboard__item,
.bg--section > .container .dashboard__item {
  width: 100% !important;
  height: 100% !important;
}

/* Deposit/Withdraw inner card panels stretch */
.dashboard-section > .container .aisat-deposit-wrap,
.dashboard-section > .container .aisat-withdraw-wrap,
.bg--section > .container .aisat-deposit-wrap,
.bg--section > .container .aisat-withdraw-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

/* Action box on trade page stretches */
.dashboard-section > .container .action-box,
.bg--section > .container .action-box {
  width: 100% !important;
}

/* Support ticket, profile, password change forms stretch */
.dashboard-section > .container form,
.bg--section > .container form {
  width: 100% !important;
  max-width: 100% !important;
}

/* Table wrapper: full width */
.dashboard-section > .container .table-wrapper,
.bg--section > .container .table-wrapper {
  width: 100% !important;
}

/* ==========================================
   TICKET NEW FORM (YENİ TALEP) FIXES
   ========================================== */
.ticket-new-section .form-label {
  color: #ffffff !important;
}

.ticket-new-section .cmn--form--control,
.ticket-new-section .cmn--form--control option {
  background-color: #17202a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ticket-new-section .cmn--form--control:focus {
  border-color: var(--aisat-primary, #2e86de) !important;
  box-shadow: none !important;
}

.ticket-new-section .cmn--form--control[readonly] {
  background-color: #1e272e !important;
  color: #aab8c2 !important;
}

.ticket-new-section .text-muted {
  color: #aab8c2 !important;
}
