:root {
  --font-default: 15px;
  --font-heading: 17px;
  --font-mini: 13px;
  --theme: #4F6EA0;
}
html:lang(my),
html:lang(ar) {
  font-size: 10px !important;
}
html:lang(my) .auth-buttons .btn,
html:lang(ar) .auth-buttons .btn {
  font-size: 10px !important;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Roboto', sans-serif !important;
  font-size: var(--font-default);
  background-color: #ffffff;
  color: #0f172a;
  line-height: 1.4;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  background-color: var(--theme);
  color: #ffffff;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .logo-placeholder {
    font-size: 20px !important;
    font-style: normal;
    padding: 3px 6px !important;
  }
}

.logo-placeholder {
  font-family: "Praise", cursive;
  font-size: 35px;
  font-weight: 800;
  font-style: italic;
  color: #000000;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 3px 15px;

  -webkit-text-stroke: 0.3px #000000;
  text-shadow: 
    0.1px 0 0 #000000, 
    -0.1px 0 0 #000000, 
    0 0.1px 0 #000000, 
    0 -0.1px 0 #000000;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-item {
  color: #f0f9ff;
  font-size: var(--font-mini);
  font-weight: 500;
  transition: color 0.2s;
  margin: 0 10px;
}

.nav-item:hover {
  color: #ffffff;
}

.auth-buttons {
  display: flex;
  gap: 8px;
}

/* Base Alert Container */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Icons */
.alert__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Typography */
.alert__content {
  flex: 1;
}

.alert__title {
  font-weight: 600;
  margin-bottom: 2px;
}

.alert__message {
  opacity: 0.9;
}

/* Variants */
.alert--error {
  background-color: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
}

.alert--success {
  background-color: #def7ec;
  color: #03543f;
  border: 1px solid #84e1bc;
}

.alert--warning {
  background-color: #feecdc;
  color: #8a2c0d;
  border: 1px solid #fbd5d5;
}

.alert--info {
  background-color: #e1effe;
  color: #1e429f;
  border: 1px solid #a4cafe;
}

.btn {
  padding: 9px 16px;
  font-size: var(--font-mini);
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-block;
}

.btn-login {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-register {
  background: rgba(79, 110, 160, 0.25);
  color: #ffffff;
  
  /* Blurring */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  /* Hairline transparent border */
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  
  /* Soft top inner glow + delicate drop shadow */
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
    0 4px 12px rgba(15, 23, 42, 0.15);
    
  transition: all 0.25s ease;
}

.btn-register:hover {
  background: rgba(79, 110, 160, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
    0 6px 16px rgba(79, 110, 160, 0.3);
}

.lang-dropdown-wrapper {
  position: relative;
}

.lang-select-btn {
  font-size: var(--font-mini);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.lang-select-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.dropdown-arrow-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lang-dropdown-wrapper.active .dropdown-arrow-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 110;
}

.lang-dropdown-wrapper.active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  font-size: var(--font-mini);
  color: #334155;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-option:hover,
.lang-option.selected {
  background: #f1f5f9;
  color: var(--theme);
  font-weight: 600;
}

.flag-square {
  width: 22px;
  height: 22px;
  object-fit: cover; /* Ensures non-square images crop perfectly to 1:1 */
  flex-shrink: 0;
  display: inline-block;
}

/* Mobile Sidebar Drawer */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 20px;
  background: var(--theme);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-heading);
}

.sidebar-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.sidebar-menu {
  padding: 16px 0;
  flex: 1;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: #334155;
  text-decoration: none;
  font-size: var(--font-default);
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.sidebar-item:hover,
.sidebar-item.active {
  background: #f1f5f9;
  color: var(--theme);
  border-left-color: var(--theme);
}

#menu-state {
  display: none;
}

#menu-state:checked ~ .sidebar {
  left: 0;
}

#menu-state:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

.main-content {
  /* padding: 24px 10px 24px 10px; */
}

.hero-slider-integrated-wrapper {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  background-color: #0f172a;
  position: relative;
}

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide-item {
  min-width: 100%;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 48px;
  color: #ffffff;
  background-size: cover;
  background-position: center center;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.slide-tag {
  display: inline-block;
  background: var(--theme);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: var(--font-mini);
  font-weight: 700;
  margin-bottom: 8px;
}

.slide-title {
  font-size: var(--font-heading);
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.slide-desc {
  font-size: var(--font-mini);
  color: #f8fafc;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--theme);
  transform: translateY(-50%) scale(1.08);
}

.arrow-prev {
  left: 16px;
}

.arrow-next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 22px;
  border-radius: 8px;
  background: #ffffff;
}

.slider-dashed-divider {
  width: 100%;
  border-top: 2px dashed rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 5;
}

.slider-bottom-glass-btn {
  width: 100%;
  padding: 16px 0;
  background: linear-gradient(135deg, #f3d372 0%, #d4af37 50%, #aa820a 100%);
  border: none;
  color: #080c14;
  font-weight: 600;
  font-size: var(--font-heading);
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-bottom-glass-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shineSweep 4s infinite ease-in-out;
}

@keyframes shineSweep {
  0% { left: -60%; }
  20% { left: 130%; }
  100% { left: 130%; }
}

.slider-bottom-glass-btn:hover {
  background: linear-gradient(135deg, #fce288 0%, #f3d372 50%, #d4af37 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 25px rgba(212, 175, 55, 0.55);
  transform: translateY(-1px);
}

.btn-icon-circle {
  width: 28px;
  height: 28px;
  background: #080c14;
  color: #f3d372;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-mini);
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.slider-bottom-glass-btn:hover .btn-icon-circle {
  transform: translateX(4px) scale(1.08);
}

.banner-card-horizontal {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 15px;
  height: 250px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-card-horizontal:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.banner-wide-1 {
  background-image: url('https://images.pexels.com/photos/46798/the-ball-stadion-football-the-pitch-46798.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
}

.banner-wide-2 {
  background-image: url('https://images.pexels.com/photos/3621104/pexels-photo-3621104.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
}

.banner-wide-3 {
  background-image: url('https://images.pexels.com/photos/1884574/pexels-photo-1884574.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
}

.banner-content-wrapper {
  padding: 0 48px;
  z-index: 2;
  max-width: 600px;
}

.align-left {
  margin-right: auto;
  text-align: left;
}

.align-right {
  margin-left: auto;
  text-align: right;
}

.wide-badge {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 18px;
  font-size: var(--font-mini);
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.wide-badge-gold {
  background: #d97706;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

.wide-badge-blue {
  background: var(--theme);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.wide-title {
  font-size: var(--font-heading);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.2;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 0, 0, 0.8);
}

.wide-gold-text {
  color: #fef08a;
  font-size: var(--font-heading);
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 0, 0, 0.8);
}

.wide-sub {
  font-size: var(--font-mini);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.8);
}

.wide-action-btn {
  display: inline-block;
  font-weight: 800;
  font-size: var(--font-default);
  padding: 10px 32px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f3d372 0%, #d4af37 100%);
  color: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.wide-action-btn:hover {
  background: linear-gradient(135deg, #fce288 0%, #f3d372 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  /* border: 1px solid #e2e8f0; */
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateY(15px);
  transition: transform 0.25s ease;
  color: #0f172a;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: var(--font-heading);
  cursor: pointer;
}

.modal-close:hover {
  color: #0f172a;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.modal-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: var(--font-default);
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
}

.modal-tab.active {
  color: var(--theme);
}

.modal-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme);
  border-radius: 3px 3px 0 0;
}

.alert-box {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: var(--font-mini);
  margin-bottom: 14px;
  display: none;
  align-items: center;
  gap: 6px;
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: var(--font-default);
  color: #475569;
  margin-bottom: 4px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font-size: var(--font-default);
  outline: none;
}

.form-input:focus {
  border-color: var(--theme);
  background: #ffffff;
}

.form-input.input-error {
  border-color: #ef4444;
}

.form-submit {
  width: 100%;
  padding: 12px;
  font-size: var(--font-default);
  font-weight: 800;
  border-radius: 24px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f3d372 0%, #d4af37 100%);
  color: #080c14;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.form-submit:hover {
  background: linear-gradient(135deg, #fce288 0%, #f3d372 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

footer {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 24px 10px;
  color: #64748b;
  font-size: var(--font-mini);
  display: none
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}

.footer-left {
  flex: 1;
  line-height: 1.6;
}

.footer-right {
  text-align: right;
}

.license-card {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
}

.license-card p {
  margin: 0;
}

.license-title {
  font-weight: 700;
  color: #334155;
  margin-bottom: 2px;
  font-size: var(--font-default);
}

.license-placeholder {
  background-color: var(--theme);
  color: #ffffff;
  font-weight: 800;
  font-size: var(--font-mini);
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-icon-item {
  text-align: center;
}

.icon-badge {
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--theme);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
  font-size: var(--font-mini);
  border: 1px solid #cbd5e1;
}

.icon-label {
  display: block;
  font-size: var(--font-mini);
  color: #64748b;
}

.payment_container {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 0 auto;
}

.payment_section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.payment_section_title {
  font-size: var(--font-heading);
  font-weight: 800;
  color: var(--theme);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links,
  .logo-subtext {
    display: none;
  }

  .slide-item {
    height: 210px;
    padding: 0 16px;
  }

  .slide-content {
    padding: 14px 16px;
  }

  .slide-title {
    font-size: var(--font-heading);
  }

  .slide-desc {
    font-size: var(--font-mini);
  }

  .slider-bottom-glass-btn {
    font-size: var(--font-heading);
    padding: 14px 0;
  }

  .banner-card-horizontal {
    height: auto;
    min-height: 180px;
    padding: 20px 16px;
  }

  .banner-content-wrapper {
    padding: 0;
    max-width: 100%;
    text-align: left !important;
  }

  .wide-title {
    font-size: var(--font-heading);
  }

  .wide-gold-text {
    font-size: var(--font-heading);
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-right {
    text-align: left;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 0 0;
    gap: 8px;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .auth-buttons {
    display: flex;
    gap: 4px;
  }

  .auth-buttons .btn {
    padding: 6px 10px;
    font-size: var(--font-mini);
    white-space: nowrap;
  }

  .lang-select-btn {
    padding: 4px;
    gap: 2px;
  }

  .lang-select-btn #currentLangText {
    display: none;
  }

  .flag-circle {
    width: 20px;
    height: 20px;
  }

  .dropdown-arrow {
    font-size: var(--font-mini);
  }
}



/* User Dropdown Styling */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.user-dropdown-btn:hover {
  background: #334155;
  border-color: #475569;
}

.user-avatar-icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  z-index: 100;
  overflow: hidden;
}

.user-dropdown-wrapper.active .user-dropdown-menu {
  display: block;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.user-dropdown-item:hover {
  background: #334155;
  color: #ffffff;
}

.user-dropdown-item.logout-item {
  color: #f87171;
  border-top: 1px solid #334155;
}

.user-dropdown-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.user-dropdown-item svg {
  width: 16px;
  height: 16px;
}

/* Fullscreen overlay loader */
.loader-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  gap: 16px;
}

.loader-overlay.active {
  display: flex;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}