#top-account .dropdown-menu {
    background: #fff !important;         /* arka plan beyaz */
    color: #333 !important;              /* yazılar koyu */
    border: 1px solid rgba(0,0,0,.08);   /* Canvas tarzı ince kenar */
    border-radius: 10px;                 /* yumuşak köşe */
    padding: 8px 0;                      /* iç boşluk */
    min-width: 220px;                    /* daha ferah genişlik */
    box-shadow: 0 10px 30px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06); /* tema gölgesi */
}

#top-account .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;                           /* ikon ile metin arası */
    padding: 10px 16px;                  /* menü item yüksekliği */
    color: #222 !important;
    font-weight: 600;                    /* Canvas menü hissi */
    font-size: 15px;
    letter-spacing: .2px;
    text-decoration: none;
    line-height: 1.35;
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

#top-account .dropdown-menu a:hover {
    background: #f7f7f7 !important;      /* hover açık gri */
    color: #000 !important;
    padding-left: 18px;                  /* hover'da hafif kayma efekti */
}

/* ikonların daha net görünmesi */
#top-account .dropdown-menu a i {
    font-size: 16px;
    opacity: .85;
}

/* ayırıcı çizgi Canvas görünümü */
#top-account .dropdown-menu .divider,
#top-account .dropdown-menu .dropdown-divider {
    height: 1px;
    margin: 6px 0;
    overflow: hidden;
    background-color: rgba(0,0,0,.08);
}

/* badge (mesaj sayısı) */
#top-account .dropdown-menu .badge {
    background: #28a745;                 /* tema yeşili */
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.2;
    margin-left: 6px;
}

/* Dark header'da da menü kartı net görünsün */
.dark-header #top-account .dropdown-menu {
    box-shadow: 0 12px 34px rgba(0,0,0,.28), 0 4px 10px rgba(0,0,0,.12);
}

/* Mobilde tam genişlik hissi */
@media (max-width: 991px) {
    #top-account .dropdown-menu {
        min-width: 180px;
        border-radius: 8px;
    }
    #top-account .dropdown-menu a {
        font-size: 14px;
        padding: 10px 14px;
    }
}/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/





/* ==== Account icon size adjustment ==== */
.header-misc #top-account .account-toggle i.icon-user {
    font-size: 24px;   /* daha büyük kullanıcı ikonu */
}
.header-misc #top-account .account-toggle i.icon-angle-down {
    font-size: 16px;   /* ok simgesi orantılı */
}
/* Login sayfasında tab/modal kalıntılarını iptal et */
#auth-login,
#auth-login .col_full,
#auth-login .input-group { display:block !important; opacity:1 !important; visibility:visible !important; }

.tab-pane#auth-login,
.tabs .tab-container #auth-login { display:block !important; }

/* Kart çok koyuysa yazı kontrastı için küçük dokunuşlar (opsiyonel) */
#auth-login.card h3 { color:#fff; }
#auth-login.card input { background:#fff; color:#222; }
/* Kullanıcı menüsü hover ile açılsın */
#top-account.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
}
/* Footer üstünde kalan boşluğu sil */
#footer {
  margin-top: 0 !important;
  padding-top: 40px; /* biraz nefes bırakalım */
}

/* Content wrap'te fazla boşluğu al */
.content-wrap {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* STICKY FOOTER – içeriğin kısa olduğu sayfalarda footer'ı dibe iter */
html, body { height: 100%; }
#wrapper { min-height: 100%; display: flex; flex-direction: column; }
#content { flex: 1 0 auto; }   /* içerik alanı esnesin */
#footer  { margin-top: auto; flex-shrink: 0; }

/* İçerik boşken yukarıda kocaman beyaz blok olmasın */
#content .content-wrap { padding-top: 40px; padding-bottom: 40px; } /* gerekiyorsa 20–60px arası oynat */
#content {
    min-height: 500px; /* sayfada az içerik olsa bile footer alta insin */
}
/* Daha açık gri perde */
/* Bootstrap 4/5 */
.modal-backdrop.show { opacity: 0 !important; background: transparent !important; }

/* Eski Bootstrap 3 için de güvence */
.modal-backdrop.in { opacity: 0 !important; background: transparent !important; }
/* Header hiçbir yerde taşmayı kesmesin */
#header,
#header-wrap,
.primary-menu .menu-container {
  overflow: visible !important;
}

/* Dropdown her şeyin üstünde görünsün */
.user-auth,
.user-auth .dropdown,
.user-auth .dropdown-menu {
  position: relative;
  z-index: 10020 !important;
}

/* Bootstrap kullanıyorsanız, sağa hizalı açılış ve üstte kalma */
.user-auth .dropdown-menu {
  right: 0;
  left: auto;
}

/* Bazı temalar header'a transform verir; stacking context'i kırın */
#header,
#header-wrap {
  transform: none !important;
}
.user-auth:hover .dropdown-menu,
.top-account:hover .dropdown-menu {
  display: none !important; /* hover açılmayı iptal et */
}
.page-auth .content-wrap{padding:48px 0;}
.page-auth .auth-card{max-width:420px;margin:0 auto;}
@media (min-height:720px){
  .page-auth .content-wrap{min-height:calc(100vh - 260px);display:flex;align-items:center;}
}
.auth-card .btn-block{width:100%;}
.page-auth .content-wrap{padding:48px 0;}
.page-auth .auth-card{max-width:420px;margin:0 auto;}
@media (min-height:720px){
  .page-auth .content-wrap{min-height:calc(100vh - 260px);display:flex;align-items:center;}
}
.auth-card .btn-block{width:100%;}
/* Sayfa taşmalarını kapat (güvenli) */
html, body { width:100%; overflow-x:hidden; }

/* Hesap menüsü: her zaman header içinde, sağa hizalı ve layout'u itmesin */
.header-misc, #top-account { position:relative; z-index:10050; }
#top-account .dropdown-menu {
  position:absolute;   /* flow’tan çıkar, layout’u itmesin */
  right:0;             /* sağ uca sabitle */
  left:auto;           /* Bootstrap’in left:0 varsayılanını iptal et */
  transform:none;      /* varsa konumlandırma dönüşümlerini kapat */
  min-width:220px;
  max-width:280px;     /* genişlemesin */
  will-change:transform, opacity;
}

/* Bootstrap 3 kullanıyorsan sağa hizalama sınıfı */
.dropdown-menu-right { right:0; left:auto; }

/* Bizim fallback “show” class’ı ile de görünür olsun */
#top-account .dropdown-menu.show { display:block; }
/* Hesap menüsü ortalı dropdown */
#top-account .dropdown-menu {
  position: absolute;
  left: 50%;              /* ortadan başla */
  transform: translateX(-50%); /* tam ortaya kaydır */
  right: auto;            /* sağ hizayı iptal et */
  min-width: 220px;
  text-align: center;     /* içerikler ortalansın */
}
/* Kayıt Ol sayfası ortalama */
.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* dikeyde de ortalasın */
}

.register-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 30px 40px;
  max-width: 420px;
  width: 100%;
}

.register-card h2 {
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
}

.register-card label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.register-card input {
  margin-bottom: 16px;
  border-radius: 8px;
}

.register-card .btn {
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px;
}
/* Login & Register form text contrast düzeltme */
.auth-card, 
#auth-login.card {
  background: #ffffff;            /* Form arkası beyaz olsun */
  color: #111827;                 /* Yazılar koyu renk */
}

.auth-card label,
#auth-login label {
  color: #111827;                 /* Label koyu görünür */
  font-weight: 600;
}

.auth-card input,
#auth-login input {
  background: #fff;               /* Input arkası beyaz */
  color: #111827;                 /* Yazı rengi koyu */
  border: 1px solid #ddd;         /* Çerçeve daha net */
}

.auth-card input::placeholder,
#auth-login input::placeholder {
  color: #6b7280;                 /* Placeholder gri */
}

.auth-card .button,
#auth-login .button {
  background: #0ea5e9;            /* Buton marka rengi */
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
}
.auth-card .button:hover,
#auth-login .button:hover {
  background: #0284c7;            /* Hover daha koyu */
}

/* Mase Group visual refinement */
:root {
  --mg-ink: #172033;
  --mg-muted: #667085;
  --mg-brand: #2463a7;
  --mg-brand-dark: #194b80;
  --mg-accent: #c59b52;
  --mg-surface: #ffffff;
  --mg-soft: #f5f7fa;
  --mg-line: #e4e9f0;
  --mg-shadow: 0 14px 40px rgba(20, 32, 51, .10);
}

html { scroll-behavior: smooth; }
body {
  background: var(--mg-surface);
  color: var(--mg-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--mg-brand); color: #fff; }
a, button, input, textarea, select { transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(36, 99, 167, .25);
  outline-offset: 3px;
}

#header {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 8px 30px rgba(10, 18, 32, .16);
}
#header-wrap { backdrop-filter: saturate(130%) blur(12px); }
#logo img { object-fit: contain; }
#primary-menu .menu-link { font-weight: 600; }
#primary-menu .sub-menu-container {
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow);
}

#top-account .dropdown-menu {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  text-align: left;
  border-radius: 8px;
}
#top-account .dropdown-menu a:hover { padding-left: 16px; }
#top-account.dropdown:hover .dropdown-menu { display: none !important; }
#top-account.dropdown.open .dropdown-menu,
#top-account .dropdown-menu.show { display: block !important; }

#content .content-wrap { padding-top: 56px; }
.heading-block h1, .heading-block h2, .heading-block h3 {
  color: var(--mg-ink) !important;
  font-weight: 700;
  letter-spacing: 0;
}
.heading-block > span { color: var(--mg-muted); }
.divider.divider-short:after, .divider.divider-short:before { border-color: var(--mg-line); }

.button, button.button, .btn {
  border-radius: 6px;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(36, 99, 167, .16);
}
.button:hover, button.button:hover, .btn:hover { transform: translateY(-2px); }
.button-blue, .btn-color-blue {
  background-color: var(--mg-brand) !important;
  border-color: var(--mg-brand) !important;
}
.button-blue:hover, .btn-color-blue:hover { background-color: var(--mg-brand-dark) !important; }

.feature-box, .pricing-box {
  border-color: var(--mg-line);
  border-radius: 8px;
}
.pricing-box {
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 32, 51, .07);
}
.pricing-box:hover { transform: translateY(-4px); box-shadow: var(--mg-shadow); }
.pricing-title { background: var(--mg-soft); }
.table-responsive {
  border: 1px solid var(--mg-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 32, 51, .06);
}
.table-comparison { margin: 0; }

.sm-form-control, .form-control, select {
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #fff;
}
.sm-form-control:focus, .form-control:focus, select:focus {
  border-color: var(--mg-brand);
  box-shadow: 0 0 0 4px rgba(36, 99, 167, .10);
}

.mg-bleed {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  max-width: 100vw;
  clear: both;
}
#footer { clear: both; border-top: 3px solid var(--mg-accent); }
#footer .footer-widgets-wrap { padding-top: 56px; padding-bottom: 48px; }
#footer h4 { letter-spacing: 0; }
#live-stats { box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }

.mg-location-panel {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  background: var(--mg-soft);
  border: 1px solid var(--mg-line);
  border-radius: 8px;
}
.mg-location-panel > i {
  margin-bottom: 18px;
  color: var(--mg-brand);
  font-size: 42px;
}
.mg-location-panel h3 { margin-bottom: 8px; color: var(--mg-ink); }
.mg-location-panel p { max-width: 360px; margin-bottom: 22px; color: var(--mg-muted); }

.mg-social-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--mg-ink);
  background: #fff;
  border: 1px solid var(--mg-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 32, 51, .07);
}
.mg-social-card:hover { color: var(--mg-brand); transform: translateY(-3px); box-shadow: var(--mg-shadow); }
.mg-social-card > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mg-social-card-meta { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 12px; }
.mg-social-card-meta i { color: #c13584; font-size: 22px; }
.mg-social-card-meta strong { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 575px) {
  .button-xlarge { padding: 0 20px; font-size: 15px; }
  #live-stats { right: 8px !important; bottom: 8px !important; max-width: calc(100vw - 16px); }
}
