/* ============================================================
   SMMPANEL24.XYZ – style.css
   GLOBAL styles only:
   - Body reset
   - smm-header / smm-nav / smm-logo / smm-menu (used by layout.twig)
   - smm-hamburger + smm-mobile-menu (used by layout.twig)
   - Select2 dark theme (dashboard only)
   - Scrollbar

   Landing Page CSS is self-contained inside signin.twig.
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #eef3ff 0%, #f4f8ff 30%, #f8fbff 60%, #ffffff 100%);
  background-attachment: fixed;
  color: #07183d;
  min-height: 100vh;
}

/* ── CONTAINER ────────────────────────────────────────────── */
.smm-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 90px;
}

/* ── HEADER ───────────────────────────────────────────────── */
.smm-header {
  height: 104px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e7ecf5;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.smm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smm-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.smm-logo-icon {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #0d4cff, #8fb7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.smm-logo-text {
  color: #07183d;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.smm-logo-text span {
  color: #1261ff;
}

.smm-menu {
  display: flex;
  align-items: center;
  gap: 46px;
}

.smm-menu a {
  color: #07183d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color 0.2s;
}

.smm-menu a.active,
.smm-menu a:hover {
  color: #0d56ff;
}

.smm-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 38px;
  height: 2px;
  background: #0d56ff;
  border-radius: 20px;
}

.smm-nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.smm-signin {
  color: #07183d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.2s;
}

.smm-signin:hover {
  color: #0d56ff;
}

.smm-signup {
  background: linear-gradient(135deg, #1765ff, #0d4ee8);
  color: #fff;
  text-decoration: none;
  padding: 17px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 94, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.smm-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 94, 255, 0.32);
  color: #fff;
}

/* ── HAMBURGER MENU ───────────────────────────────────────── */
.smm-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}

.smm-hamburger:hover {
  background: #f1f5ff;
}

.smm-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #07183d;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.smm-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.smm-hamburger.open span:nth-child(2) { opacity: 0; }
.smm-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ──────────────────────────────────────────── */
.smm-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(7, 24, 61, 0.4);
  backdrop-filter: blur(2px);
}

.smm-mobile-menu.open {
  display: block;
}

.smm-mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 60px rgba(15, 56, 120, 0.15);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.smm-mobile-menu.open .smm-mobile-menu-panel {
  transform: translateX(0);
}

.smm-mobile-menu-panel a {
  display: block;
  padding: 14px 0;
  color: #07183d;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #f0f4fa;
  transition: color 0.2s;
}

.smm-mobile-menu-panel a:hover { color: #0d56ff; }

.smm-mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: #f1f5ff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07183d;
}

.smm-mobile-signup {
  margin-top: 24px;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #1765ff, #0d4ee8);
  color: #fff !important;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: none !important;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0f1a; }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2a4a7f; }

/* ── SELECT2 DARK THEME (Dashboard only) ──────────────────── */
.select2-dropdown { background: #0d1424 !important; border: 1px solid #1e2d45 !important; border-radius: 10px !important; }
.select2-results__options { background: #0d1424 !important; }
.select2-results__option { background: #0d1424 !important; color: #94a3b8 !important; }
.select2-results__option a { color: #94a3b8 !important; }
.select2-results__option .badge,
.select2-results__option b { background: #1e3a5f !important; color: #60a5fa !important; }
.select2-selection--single .badge,
.select2-selection--single b,
.select2-selection__rendered .badge,
.select2-selection__rendered b { background: #1e3a5f !important; color: #60a5fa !important; }
.select2-results__option--highlighted,
.select2-results__option--highlighted[aria-selected] { background: #0d1424 !important; color: #94a3b8 !important; }
.select2-results__option:hover,
.select2-results__option:hover[aria-selected] { background: #1e3a5f !important; color: #fff !important; }
.select2-search--dropdown { background: #0d1424 !important; border-bottom: 1px solid #1a2540 !important; padding: 8px !important; }
.select2-search--dropdown .select2-search__field { background: #111827 !important; border: 1px solid #2a3a50 !important; border-radius: 6px !important; color: #f1f5f9 !important; outline: none !important; }

/* ── RESPONSIVE HEADER ────────────────────────────────────── */
@media (max-width: 1100px) {
  .smm-container { padding: 0 28px; }
  .smm-menu { display: none; }
  .smm-hamburger { display: flex; }
}

@media (max-width: 768px) {
  .smm-container { padding: 0 18px; }
  .smm-header { height: auto; padding: 14px 0; }
  .smm-logo-text { font-size: 17px; }
  .smm-logo-icon { font-size: 28px; }
  .smm-nav-actions { gap: 10px; }
  .smm-signin { display: none; }
  .smm-signup { padding: 10px 16px; font-size: 13px; border-radius: 6px; }
}
