/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
  --dark-bg: #0a0e27;
  --dark-surface: rgba(255, 255, 255, 0.08);
  --dark-surface-2: rgba(255, 255, 255, 0.12);
  --accent: #00ff9d;
  --accent-hover: #00e589;
  --accent-secondary: #00aaff;
  --accent-tertiary: #8a2be2;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --error: #ff4545;
  --success: #4caf50;
  --warning: #ff9800;
  --border-radius: 30px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  --glass-blur: blur(16px);
  --dark-border: rgba(255, 255, 255, 0.1);
}

/* ===== GLOBAL LAYOUT ===== */
html, body {
  height: 100%;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  padding-top: 0;
  background: transparent;
  color: #FFFFFF;
  overflow-x: hidden;
  overflow-y: auto !important; /* Force vertical scrolling to be always available */
  position: relative;
}

body {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  position: relative;
  overflow-y: scroll; /* Ensure body is always scrollable */
}

/* For animation trigger when page loads */
body.loaded::after {
  opacity: 0.6;
}

/* Modern gradient background with animated mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #0f1729 50%, #050a1a 75%, #000510 100%);
  pointer-events: none;
}

/* Animated gradient orbs and glow effects */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 10% 20%, rgba(0, 255, 157, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 80%, rgba(0, 170, 255, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 25%, rgba(0, 255, 157, 0.1) 0%, transparent 35%),
    radial-gradient(ellipse at 30% 70%, rgba(0, 200, 255, 0.1) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  animation: backgroundPulse 15s ease-in-out infinite alternate;
}

/* Add animated background gradient */
@keyframes backgroundPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}

/* Animated grid overlay for depth */
html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(0, 255, 157, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
  opacity: 0.3;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(100px) translateX(100px);
  }
}

/* Floating particles effect */
html::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    radial-gradient(circle, rgba(0, 255, 157, 0.5) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 200, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle, rgba(138, 43, 226, 0.3) 1px, transparent 1px);
  background-size: 300px 300px, 450px 450px, 600px 600px;
  background-position: 0 0, 100px 100px, 200px 200px;
  pointer-events: none;
  opacity: 0.2;
  animation: particleFloat 30s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(50px, -50px);
  }
  50% {
    transform: translate(-30px, 30px);
  }
  75% {
    transform: translate(40px, 20px);
  }
}

/* Container principal pentru a împinge footerul în jos */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Fix for pages where container is direct child of body (about, contact, etc.) */
body > .container {
  padding-top: 100px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.5);
}

/* ===== HEADER AND NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 0;
  opacity: 1;
}

header::before {
  display: none;
}

header.scrolled {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: none;
  opacity: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: 1200px;
  margin: 10px auto;
  transition: var(--transition);
  height: 75px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

header.scrolled .navbar {
  padding: 0.6rem 1.5rem;
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin: 5px auto;
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  transform: translateY(6px);
}

.logo img {
  height: 40px;
  transition: var(--transition);
  filter: drop-shadow(0 0 5px rgba(0, 255, 157, 0.3));
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.6));
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
  margin-left: auto;
  padding: 0.6rem 1rem;
  background-color: rgba(0, 255, 157, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 157, 0.2);
  align-items: center;
  gap: 8px;
}

.mobile-menu-toggle .menu-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hover effects only for desktop and larger screens */
@media (min-width: 769px) {
  .mobile-menu-toggle:hover {
    color: var(--accent);
    background-color: rgba(0, 255, 157, 0.15);
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.7);
    transform: translateY(-2px);
  }
}

.mobile-menu-toggle.active {
  background-color: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.mobile-menu-toggle.active i {
  transform: rotate(90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: var(--transition);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0.8rem;
  background-color: var(--accent);
  transition: var(--transition);
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.8);
}

.nav-links a:hover::after {
  width: calc(100% - 1.6rem);
}

.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.7);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.15), rgba(0, 255, 157, 0.08));
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 10px;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.8);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: active-pulse 2.5s ease-in-out infinite;
}

.nav-links a.active::after {
  width: calc(100% - 1.6rem);
  background: linear-gradient(90deg, var(--accent), #00d4aa);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.8);
  height: 3px;
  border-radius: 2px;
}

/* Minimalistic logout button styling */
.nav-links a[href="/logout"] {
  background: none;
  border: none;
  padding: 0.3rem 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-shadow: none;
  transition: color 0.2s ease;
}

.nav-links a[href="/logout"]:hover {
  background: none;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
  transform: none;
  box-shadow: none;
}

.nav-links a[href="/logout"]::after {
  display: none;
}

.nav-links a[href="/logout"] i {
  font-size: 0.8rem;
  margin-right: 0.3rem;
  opacity: 0.7;
}

/* Enhanced Customer Area navbar button styling */
.nav-links a[href="/customer-area"] {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 193, 7, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  color: #ffd700 !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  position: relative;
  overflow: hidden;
  animation: customer-glow 3s ease-in-out infinite alternate;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.nav-links a[href="/customer-area"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  animation: slide-shine 4s infinite;
}

.nav-links a[href="/customer-area"]:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.15));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.nav-links a[href="/customer-area"].active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 193, 7, 0.18));
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.6);
  animation: customer-active-pulse 2s ease-in-out infinite;
}

.nav-links a[href="/customer-area"].active::after {
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  height: 3px;
}

@keyframes text-fade {
  0% { 
    color: rgba(230, 194, 0, 0.7) !important;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
  }
  100% { 
    color: #e6c200 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  }
}

@keyframes slide-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Mobile navigation styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    font-size: 1.1rem;
    padding: 8px 12px;
  }
  
  .mobile-menu-toggle.active {
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
  }
  
  .mobile-menu-toggle.active .menu-text {
    display: none;
  }
  
  .mobile-menu-toggle.active i {
    transform: rotate(90deg);
  }
  
  .navbar {
    padding: 0.5rem 1rem;
    border-radius: 14px;
    margin: 8px 10px;
    width: calc(100% - 20px);
    height: 65px;
    position: relative;
  }
  
  .logo {
    margin-right: auto;
    transform: translateY(0);
  }
  
  .logo img {
    height: 36px;
  }
  
  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(10, 15, 20, 0.6);
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.4s ease-in-out;
    opacity: 0;
    pointer-events: none;
    gap: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 157, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    pointer-events: all;
    background: rgba(25, 35, 45, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    margin: 0 10px;
    width: calc(100% - 20px);
    border-radius: 12px;
    overflow: hidden;
  }
  
  .nav-links a {
    width: 100%;
    padding: 1rem 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    border-radius: 0;
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .nav-links a:hover {
    background-color: rgba(0, 255, 157, 0.1);
    transform: translateX(5px);
  }
  
  .nav-links a.active {
    background-color: rgba(0, 255, 157, 0.15);
    color: var(--accent);
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.8);
    transform: translateX(5px);
  }
  
  /* Mobile styling for Customer Area button */
  .nav-links a[href="/customer-area"] {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 193, 7, 0.08));
    border: none;
    color: #e6c200 !important;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
    animation: none; /* Disable animations on mobile for performance */
  }
  
  .nav-links a[href="/customer-area"]:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 193, 7, 0.12));
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
  }
  
  .nav-links a[href="/customer-area"].active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(255, 193, 7, 0.15));
    transform: translateX(8px);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  }
  
  /* Mobile minimalistic logout button styling */
  .nav-links a[href="/logout"] {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-shadow: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links a[href="/logout"]:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    transform: translateX(3px);
    box-shadow: none;
  }
  
  .nav-links a[href="/logout"] i {
    font-size: 0.8rem;
    margin-right: 0.5rem;
    opacity: 0.7;
  }

  /* Language switch positioning */
  .lang-switch {
    top: 15px;
    right: 15px;
    z-index: 9999;
  }
  
  header {
    padding: 0;
    background-color: transparent;
  }
  
  body {
    padding-top: 60px;
  }
  
  .hero {
    margin-top: -60px;
    padding-top: 5rem;
  }
  
  main {
    margin-top: 0;
  }
  
  .dashboard-wrapper {
    margin-top: 0;
  }

  /* Hero text responsiveness */
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .mobile-menu-toggle .menu-text {
    display: none;
  }
  
  .mobile-menu-toggle {
    padding: 8px;
  }
  
  .navbar {
    height: 60px;
  }
  
  .logo img {
    height: 32px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  button, .btn, .cta-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .hero-actions .btn, .hero-actions .cta-btn {
    width: 100%;
    max-width: 250px;
  }
  
  /* Container padding for small screens */
  .container {
    padding: 0 1rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 7rem 1rem 8rem;
  position: relative;
  overflow: hidden;
  margin-top: -75px;
  background-color: transparent;
}

.hero::before {
  display: none; /* Remove the grid from hero section since it's now applied to the entire body */
}

.hero h1, .hero p, .hero-actions {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #00ff9d;
  text-shadow: 0 0 20px rgba(0, 255, 157, 1), 0 0 40px rgba(0, 255, 157, 0.8), 0 0 60px rgba(0, 255, 157, 0.6);
  animation: pulse-glow 2s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
  0% {
    text-shadow: 0 0 20px rgba(0, 255, 157, 1), 0 0 40px rgba(0, 255, 157, 0.6);
  }
  50% {
    text-shadow: 0 0 25px rgba(0, 255, 157, 1), 0 0 50px rgba(0, 255, 157, 0.9), 0 0 70px rgba(0, 255, 157, 0.7);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 255, 157, 1), 0 0 40px rgba(0, 255, 157, 0.6);
  }
}

.hero h1 .keys {
  color: var(--accent);
  display: inline-block;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  animation: fadeInUp 1.5s ease-out;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  background-color: var(--accent);
  color: #000;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: fadeIn 2s ease-out;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 255, 157, 0.3);
  color: #000;
  text-shadow: none;
}

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  padding: 2rem 0;
  margin-top: 0;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-wrapper {
  min-height: calc(100vh - 180px);
  padding: 100px 0 2rem 0;
  margin-top: 0;
  overflow-y: auto; /* Allow dashboard to scroll independently */
  will-change: transform; /* Hardware acceleration for smoother scrolling */
}

.dashboard-header {
  margin-bottom: 2rem;
  text-align: center;
  padding-top: 0; /* Reset padding since we have body padding now */
}

/* ===== CONTAINERE COMUNE ===== */
.login-container, .register-container, .dashboard-container, .admin-container {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.login-container h2,
.register-container h2,
.dashboard-container h2,
.admin-container h2 {
  margin-bottom: 1.5rem;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.login-container h2::after,
.register-container h2::after,
.dashboard-container h2::after,
.admin-container h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: -8px;
  left: 0;
  background-color: var(--accent);
  border-radius: 3px;
}

.error {
  color: var(--error);
  background-color: rgba(255, 69, 69, 0.1);
  padding: 0.8rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--error);
}

.success {
  color: var(--success);
  background-color: rgba(76, 175, 80, 0.1);
  padding: 0.8rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--success);
}

form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
}

/* Custom Dropdown Container */
.custom-dropdown {
  position: relative;
  width: 100%;
  display: inline-block;
}

.custom-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.custom-dropdown.active .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Custom Dropdown Button */
.dropdown-button {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  outline: none;
}

.dropdown-button:hover {
  border-color: rgba(0, 255, 157, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-button:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Arrow */
.dropdown-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.dropdown-arrow svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

/* Dropdown List */
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  margin-top: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Dropdown Option */
.dropdown-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background: rgba(0, 255, 157, 0.1);
  color: var(--accent);
}

.dropdown-option.selected {
  background: rgba(0, 255, 157, 0.2);
  color: var(--accent);
  font-weight: 600;
}

/* Hide original select */
select.custom-select {
  display: none;
}



/* Fallback for non-custom selects */
select:not(.custom-select) {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff9d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

select:not(.custom-select):hover {
  border-color: rgba(0, 255, 157, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

select:not(.custom-select) option {
  background: var(--dark-bg);
  color: var(--text-primary);
  padding: 0.5rem;
  border: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== BUTOANE ===== */
button, .btn {
  background-color: var(--accent);
  color: #000;
  padding: 0.8rem 1.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: inline-block;
}

button:hover, .btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  text-shadow: none;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-danger {
  background-color: var(--error);
  color: white;
}

.btn-danger:hover {
  background-color: #e03c3c;
  box-shadow: 0 4px 15px rgba(255, 69, 69, 0.3);
}

/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

table th, table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table th {
  background-color: var(--dark-surface-2);
  font-weight: 600;
  color: var(--accent);
}

table tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* ===== CARD ===== */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.card:hover {
  /* Hover effect removed as requested */
  /* transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 255, 157, 0.3); */
}

.customer-card-redesigned {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.card-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 106, 0.05));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1));
  opacity: 0.5;
}

.card-header h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.card-header h2 i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
  transition: all 0.3s ease;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: white;
  background-clip: initial;
}

.card:hover .card-header h2 i {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: var(--dark-surface-2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* ===== FOOTER ===== */
footer {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
  margin-top: auto;
  text-align: center;
  color: var(--text-secondary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: 30px;
}

.footer-links {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.developer-credit {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0;
  margin-bottom: 0;
}

.developer-credit a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.developer-credit a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 5px rgba(0, 255, 157, 0.5);
  opacity: 1;
}

.version-info {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 0.25rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .nav-links {
    margin-top: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .hero {
    padding: 5rem 1rem 5rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .login-container, .register-container, .dashboard-container, .admin-container {
    padding: 1.5rem;
    margin: 1.5rem auto;
    width: calc(100% - 2rem);
  }
  
  main {
    padding: 1rem 0;
  }
  
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0.5rem 4rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  button, .btn, .cta-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .hero-actions .btn, .hero-actions .cta-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* ===== ANIMAȚII ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-surface-2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== MODERN PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #0f1729 50%, #050a1a 75%, #000510 100%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

#preloader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 10% 20%, rgba(0, 255, 157, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 80%, rgba(0, 170, 255, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 25%, rgba(0, 255, 157, 0.1) 0%, transparent 35%),
    radial-gradient(ellipse at 30% 70%, rgba(0, 200, 255, 0.1) 0%, transparent 40%);
  opacity: 0.8;
  animation: preloader-bg 15s ease-in-out infinite alternate;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

#preloader img {
  width: 120px;
  height: auto;
  margin-bottom: 40px;
  animation: logo-float 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.4));
}

/* Modern Geometric Loader */
.loader-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.geometric-loader {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top: 2px solid var(--accent);
  border-right: 2px solid rgba(0, 255, 157, 0.3);
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.geometric-loader::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid rgba(0, 255, 157, 0.5);
  transform: translate(-50%, -50%);
  animation: spin-reverse 1s ease-in-out infinite;
}

.geometric-loader::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-center 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
}



/* Loading Text */
.loading-text {
  margin-top: 25px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: text-glow 2s ease-in-out infinite;
}

/* Animations */
@keyframes preloader-bg {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

@keyframes logo-float {
  0%, 100% { 
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.4));
  }
  50% { 
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 5px 25px rgba(0, 255, 157, 0.6));
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulse-center {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}



@keyframes text-glow {
  0%, 100% { 
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 5px rgba(0, 255, 157, 0.3);
  }
  50% { 
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.6);
  }
}

.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.1);
}

/* Add subtle noise texture */
.hero::after {
  display: none;
}

@keyframes grid-pulse {
  0% {
    opacity: 0;
    background-size: 40px 40px;
  }
  50% {
    opacity: 0;
    background-size: 41px 41px;
  }
  100% {
    opacity: 0;
    background-size: 42px 42px;
  }
}

/* ===== ADMIN DASHBOARD STYLES ===== */
.admin-wrapper {
  padding: 100px 0 2rem 0;
  min-height: calc(100vh - 75px);
  display: flex;
  flex-direction: column;
}

.admin-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  text-align: center;
  border-bottom: none;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

.admin-heading i {
  color: var(--accent);
}

.admin-welcome {
  text-align: center;
  color: #c4c4c4;
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  max-width: 600px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-weight: 400;
}

/* Navigation Buttons Layout */
.user-management-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto;
  flex-wrap: wrap;
  max-width: 1000px;
}

.nav-button {
  flex: 0 1 auto;
  min-width: 140px;
  text-align: center;
}

.admin-tab-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: center;
  min-width: 140px;
  box-shadow: var(--glass-shadow);
}

.admin-tab-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 157, 0.3);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.2);
}

.admin-tab-button.active, 
.admin-tab-button.active:hover {
  background-color: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
  transform: translateY(-2px);
}

/* Admin card styling */
.admin-card {
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  overflow: visible;
  margin-bottom: 2rem;
  transition: var(--transition);
}

/* .admin-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 255, 157, 0.3);
  transform: translateY(-2px);
} */

.admin-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 106, 0.05));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 25px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  z-index: 10000;
  gap: 1rem;
  overflow: visible;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.admin-card .card-header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-card .card-body {
  padding: 1.5rem;
}

/* Admin input styling */
.admin-input,
.admin-input select {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.admin-input:focus,
.admin-input select:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1), 0 4px 15px rgba(0, 255, 136, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.admin-input:hover,
.admin-input select:hover {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.admin-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.admin-input select option,
select.admin-input option {
  background: var(--dark-bg);
  color: var(--text-primary);
  padding: 0.5rem;
  border: none;
}

/* Ensure dropdown options are visible */
.admin-input select,
select.admin-input {
  position: relative;
  z-index: 99999;
}

.language-selector {
  position: relative;
  z-index: 99999;
  overflow: visible;
}

.language-selector select {
  position: relative;
  z-index: 99999;
  overflow: visible;
}

/* Ensure dropdown options appear above all other elements */
.language-selector select:focus,
.language-selector select:active {
  z-index: 999999;
}

.language-selector select option {
  background: var(--dark-bg);
  color: var(--text-primary);
  padding: 0.75rem;
  border: none;
  z-index: 999999;
}

/* Webhook card styling */
.webhooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.webhook-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 255, 157, 0.3);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* .webhook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.5);
} */

.webhook-header {
  background: var(--dark-surface-2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.webhook-header i {
  font-size: 1.25rem;
  color: var(--accent);
}

.webhook-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #f8f8f2;
  font-weight: 600;
}

.webhook-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.webhook-body p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex: 1;
}

.webhook-input-group {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

/* Admin table styling */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.admin-table th, .admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  font-weight: 600;
  color: var(--accent);
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.1);
}

.role-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.role-admin {
  background-color: rgba(0, 255, 157, 0.2);
  color: var(--accent);
}

.role-user {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* License type badges */
.license-type-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Action buttons */
.action-btn {
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Admin Dashboard */
@media (max-width: 991px) {
  .admin-card .card-header {
    padding: 1rem;
  }
  
  .admin-card .card-body {
    padding: 1.25rem;
  }
  
  .admin-table th, .admin-table td {
    padding: 0.8rem;
  }
  
  .user-management-nav {
    gap: 0.75rem;
  }
  
  .admin-tab-button {
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .admin-wrapper {
    padding: 1.5rem 0;
  }
  
  .admin-header {
    margin-bottom: 1.5rem;
  }
  
  .admin-heading {
    font-size: 1.8rem;
  }
  
  .admin-welcome {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .admin-card {
    margin-bottom: 1.5rem;
  }
  
  .admin-card .card-header h2 {
    font-size: 1.3rem;
  }
  
  .admin-tab-button {
    width: calc(50% - 0.5rem);
    min-width: 0;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }
  
  .user-management-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    margin: 1rem auto;
  }
  
  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .webhooks-grid {
    grid-template-columns: 1fr;
  }
  
  .header-actions {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .admin-card .card-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .admin-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .admin-card .card-body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .admin-heading {
    font-size: 1.6rem;
  }
  
  .admin-welcome {
    font-size: 0.9rem;
  }
  
  .user-management-nav {
    grid-template-columns: 1fr;
  }
  
  .admin-tab-button {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .admin-table th, .admin-table td {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .admin-card .card-header h2 {
    font-size: 1.2rem;
  }
  
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }
  
  .admin-button {
    margin-bottom: 0.5rem;
  }
  
  .admin-card {
    margin-bottom: 1rem;
  }
}

/* Admin Dropdown Menu */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary) !important;
  transition: all 0.2s ease;
}

.dropdown-toggle.active {
  background-color: rgba(0, 255, 157, 0.1);
}

.dropdown-toggle .fa-chevron-down {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.dropdown-toggle.active .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99999;
  display: none;
  min-width: 12rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: visible;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: rgba(0, 255, 170, 0.1);
  color: var(--text-primary);
}

.dropdown-item.active {
  background-color: var(--accent);
  color: #000 !important;
}

/* Add Section button style improvements */
.admin-button {
  display: inline-block;
  background-color: var(--accent);
  color: #000 !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.admin-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 170, 0.2);
}

.admin-button.secondary {
  background-color: var(--dark-surface);
  border: 1px solid var(--accent);
  color: var(--text-primary) !important;
}

.admin-button.secondary:hover {
  background-color: rgba(0, 255, 170, 0.1);
}

/* Updated Copy Button Styles */
.copy-btn {
  background-color: transparent !important;
  color: #00ff9d !important;
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  opacity: 1;
  padding: 0;
  margin-left: 8px;
}

.copy-btn:hover {
  background-color: #00ff9d !important;
  color: #000 !important;
  transform: scale(1.05);
}

.copy-btn i {
  font-size: 16px;
}

.copy-btn:hover i {
  color: #000;
}

/* User Avatar Styles */
.navbar .user-avatar {
  margin-left: 1rem;
}

.navbar .user-avatar img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 2px solid #00ff9d !important;
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.6) !important;
  transition: all 0.3s ease !important;
}

.navbar .user-avatar img:hover {
  transform: scale(1.15) !important;
  border-width: 3px !important;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.9) !important;
}

/* Toast Notification Styles - Modern Design */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 400px;
}

.toast-notification {
  display: flex;
  align-items: center;
  background: rgba(24, 36, 42, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  color: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
  padding: 20px;
  width: 350px;
  max-width: 100%;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.toast-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px 0 0 2px;
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-notification .highlight {
  color: #00ff9d;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
}

.toast-success::before {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.toast-error::before {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.toast-icon {
  flex-shrink: 0;
  margin-right: 16px;
  font-size: 22px;
  opacity: 0.9;
}

.toast-success .toast-icon {
  color: #4facfe;
}

.toast-error .toast-icon {
  color: #ff6b6b;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.toast-message {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-weight: 400;
}

.toast-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  transition: all 0.2s ease;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

/* Mobile responsiveness for toasts */
@media (max-width: 768px) {
  #toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    align-items: center;
  }
  
  .toast-notification {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    margin-bottom: 8px;
  }
  
  .toast-title {
    font-size: 14px;
  }
  
  .toast-message {
    font-size: 13px;
  }
}

/* Order highlight animation */
@keyframes highlight-pulse {
  0% {
    background-color: rgba(0, 255, 157, 0.05);
    box-shadow: 0 0 0 rgba(0, 255, 157, 0.3);
  }
  50% {
    background-color: rgba(0, 255, 157, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
  }
  100% {
    background-color: rgba(0, 255, 157, 0.05);
    box-shadow: 0 0 0 rgba(0, 255, 157, 0.3);
  }
}

.highlight-row {
  animation: highlight-pulse 1s ease-in-out 2;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

.highlight-row-stopped {
  background-color: rgba(0, 255, 157, 0.05);
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

/* Modern Admin Navigation - Flat design for admin pages */
.modern-admin-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
  width: 100%;
}

.modern-admin-nav a,
.modern-admin-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(24, 36, 42, 0.5);
  color: #777 !important; /* Grey color for inactive buttons with !important to override */
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 140px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.modern-admin-nav .dropdown-toggle {
  white-space: nowrap;
  display: flex;
  justify-content: center;
  min-width: 140px;
  width: auto;
  color: #777 !important; /* Important flag to ensure grey text color */
}

.modern-admin-nav .dropdown-toggle i.fa-caret-down {
  display: none;
}

/* Dropdown arrow indicator for modern-admin-nav */
.modern-admin-nav .dropdown-toggle:after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

/* Add rotation effect to the dropdown arrow on hover */
.modern-admin-nav .dropdown:hover .dropdown-toggle:after {
  transform: rotate(180deg);
}

/* Customer Area License Cards Styling */
.licenses-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.license-count {
  background: rgba(0, 255, 157, 0.2);
  color: #00ff9d;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.licenses-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.license-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.license-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff9d, #00d4aa);
  border-radius: 16px 16px 0 0;
}

/* .license-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 12px 40px rgba(0, 255, 157, 0.15);
} */

.license-item.expired::before {
  background: linear-gradient(90deg, #ff6b6b, #ee5a52);
}

/* Aurum License - Same styling as other licenses */
.license-item.aurum-license {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 255, 157, 0.05);
}

.license-item.aurum-license::before {
  background: linear-gradient(90deg, #00ff9d, #00d4aa);
  height: 3px;
  box-shadow: none;
}

/* .license-item.aurum-license:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 12px 40px rgba(0, 255, 157, 0.15);
} */

.license-item.aurum-license .license-title h3 {
  color: var(--text-primary);
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: inherit;
}

.license-item.aurum-license .license-title h3 i {
  color: var(--accent);
  text-shadow: none;
  animation: none;
}

.license-item.aurum-license .license-id {
  color: var(--text-secondary);
  background: none;
  -webkit-text-fill-color: inherit;
}

.license-item.expired {
  border-color: rgba(255, 107, 107, 0.3);
}

.license-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.license-info {
  flex: 1;
  min-width: 250px;
}

.license-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.license-title h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
  color: #fff;
}

.license-title h3 i {
  color: #00ff9d;
  font-size: 1.1em;
}

.license-id {
  background: rgba(255, 255, 255, 0.1);
  color: #E0E0E0;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 1em;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
  align-self: flex-start;
}

.license-status-badge {
  margin-top: 8px;
}

.license-status-badge .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status.active {
  background: rgba(0, 255, 157, 0.2);
  color: #00ff9d;
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.status.pending {
  background: rgba(255, 193, 7, 0.2);
  color: #FFC107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status.expired {
  background: rgba(255, 107, 107, 0.2);
  color: #FF6B6B;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.status.other {
  background: rgba(158, 158, 158, 0.2);
  color: #9E9E9E;
  border: 1px solid rgba(158, 158, 158, 0.3);
}

.license-expiry {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.license-expiry.normal {
  border-left-color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

.license-expiry.warning {
  border-left-color: #FF9800;
  background: rgba(255, 152, 0, 0.1);
  animation: pulse-warning 2s infinite;
}

.license-expiry.expired {
  border-left-color: #F44336;
  background: rgba(244, 67, 54, 0.1);
  animation: pulse-danger 2s infinite;
}

.expiry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1em;
}

.license-expiry.normal .expiry-icon {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.license-expiry.warning .expiry-icon {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

.license-expiry.expired .expiry-icon {
  background: rgba(244, 67, 54, 0.2);
  color: #F44336;
}

.expiry-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expiry-label {
  font-size: 0.65em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.license-expiry.normal .expiry-label {
  color: #4CAF50;
}

.license-expiry.warning .expiry-label {
  color: #FF9800;
}

.license-expiry.expired .expiry-label {
  color: #F44336;
}

.expiry-details {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0;
}

.days-count {
  font-size: 1.2em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.days-text {
  font-size: 0.8em;
  font-weight: 500;
  color: #B0BEC5;
}

.expiry-date {
  font-size: 0.75em;
  color: #90A4AE;
  font-weight: 500;
}

@keyframes pulse-warning {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 152, 0, 0); }
}

@keyframes pulse-danger {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(244, 67, 54, 0); }
}

/* Override warning colors for premium licenses */
.license-item.aurum-license .license-expiry.warning,
.license-item[class*="argentum"] .license-expiry.warning {
  border-left-color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
  animation: none;
}

.license-item.aurum-license .license-expiry.warning .expiry-icon,
.license-item[class*="argentum"] .license-expiry.warning .expiry-icon {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.license-item.aurum-license .license-expiry.warning .expiry-label,
.license-item[class*="argentum"] .license-expiry.warning .expiry-label {
  color: #4CAF50;
}

.license-credentials {
  margin-bottom: 24px;
}

.credential-row {
  margin-bottom: 16px;
}

.credential-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credential-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #B0BEC5;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credential-item label i {
  color: #00ff9d;
  width: 16px;
  text-align: center;
}

.credential-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-text {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #00ff9d;
  word-break: break-all;
}

.value-text:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 255, 157, 0.3);
}

.value-text.blurred {
  filter: blur(4px);
  user-select: none;
}

.no-account {
  background: rgba(158, 158, 158, 0.1);
  padding: 12px 16px;
  border-radius: 10px;
  color: #9E9E9E;
  font-style: italic;
  border: 1px solid rgba(158, 158, 158, 0.2);
  flex: 1;
}

.copy-btn, .toggle-btn {
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  color: #00ff9d;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover, .toggle-btn:hover {
  background: rgba(0, 255, 157, 0.2);
  border-color: rgba(0, 255, 157, 0.4);
  transform: scale(1.05);
}

.toggle-btn {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
  color: #FFC107;
}

.toggle-btn:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.4);
}

.license-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.action-btn {
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 255, 157, 0.05));
  border: 1px solid rgba(0, 255, 157, 0.3);
  color: #00ff9d;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9em;
}

.action-btn:hover {
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 255, 157, 0.1));
  border-color: rgba(0, 255, 157, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.25);
}

.action-btn.rotate-btn {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
  border-color: rgba(255, 193, 7, 0.3);
  color: #FFC107;
}

.action-btn.rotate-btn:hover {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.25);
}

.pending-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFC107;
  font-style: italic;
  padding: 12px 16px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.empty-licenses-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.6);
}

.empty-icon {
  font-size: 4em;
  color: rgba(0, 255, 157, 0.3);
  margin-bottom: 20px;
}

.empty-licenses-state h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.empty-licenses-state p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive Design for License Items */
@media (max-width: 768px) {
  .license-item {
    padding: 20px;
  }
  
  .license-main {
    flex-direction: column;
    align-items: stretch;
  }
  
  .license-title {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .credential-value {
    flex-direction: column;
    align-items: stretch;
  }
  
  .copy-btn, .toggle-btn {
    align-self: flex-start;
  }
  
  .license-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .action-btn {
    justify-content: center;
  }
}

/* Enhanced Navbar Animations */
@keyframes active-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@keyframes customer-glow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  }
  50% {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
}

@keyframes customer-active-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@keyframes slide-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== MODERN ORDERS STYLING ===== */
.orders-card-modern .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.orders-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.orders-count {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 106, 0.1));
  color: #00ff88;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.empty-orders-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-orders-state h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.empty-orders-state p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.order-card-modern {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* .order-card-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
} */

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-id-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-id-modern {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
}

.status-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-modern.licență-activată,
.status-badge-modern.activated {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge-modern.aștept-verificare,
.status-badge-modern.waiting-verification {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.1));
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge-modern.plată-validată,
.status-badge-modern.payment-validated {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge-modern.suspendată,
.status-badge-modern.suspended {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.order-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.license-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 106, 0.1));
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
  width: fit-content;
}

.license-badge-modern.argentum {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(211, 211, 211, 0.2));
  color: #c0c0c0;
  border: 1px solid rgba(192, 192, 192, 0.4);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.license-badge-modern.aurum {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 200, 0, 0.2));
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.expiration-date-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.expiration-date-modern.expired {
  color: #ef4444;
}

.license-key-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.license-key-modern {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin-top: 0.5rem;
}

.key-text {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--text-primary);
  word-break: break-all;
}

.copy-btn-modern {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.copy-btn-modern:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.order-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-btn-modern.rotate-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.action-btn-modern.rotate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.action-btn-modern.renew-btn {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: white;
}

.action-btn-modern.renew-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

.pending-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-style: italic;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* Responsive design for orders */
@media (max-width: 768px) {
  .orders-grid {
    grid-template-columns: 1fr;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .order-details-grid {
    grid-template-columns: 1fr;
  }
  
  .order-actions {
    flex-direction: column;
  }
  
  .action-btn-modern {
    justify-content: center;
  }
}

/* License Account Styling */
.license-account {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.license-account i {
  color: var(--secondary-color);
}

/* Blur Effect for License Keys */
.key-text.blurred {
  filter: blur(4px);
  cursor: pointer;
  transition: filter 0.3s ease;
  user-select: none;
}

.key-text.blurred:hover {
  filter: blur(2px);
}

.key-text {
  transition: filter 0.3s ease;
  cursor: pointer;
}

/* ===== MODERN REDESIGN STYLES ===== */

/* Modern Hero Section */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 120px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 255, 157, 0.05));
  animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element.element-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element.element-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 25%;
  animation-delay: 4s;
}

.floating-element.element-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--accent);
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-icon i {
  font-size: 1rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.title-line-1 {
  display: block;
  margin-bottom: 0.5rem;
}

.title-gradient {
  display: block;
  background: linear-gradient(135deg, var(--accent), #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.cta-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn-modern.primary {
  background: linear-gradient(135deg, var(--accent), #00d4aa);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.3);
}

.cta-btn-modern.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 157, 0.4);
}

.cta-btn-modern.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cta-btn-modern.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.9rem;
}

.scroll-arrow {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Modern Features Section */
.features-section-modern {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  backdrop-filter: blur(10px);
}

.section-title-modern {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .features-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card-modern {
  position: relative;
  height: 100%;
}

.feature-card-inner {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* .feature-card-modern:hover .feature-card-inner {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
} */

.feature-icon-modern {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 255, 157, 0.1));
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card-modern:hover .icon-background {
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.3), rgba(0, 255, 157, 0.2));
}

.feature-icon-modern i {
  font-size: 1.5rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card-modern:hover .feature-hover-effect {
  opacity: 1;
}



/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title-modern {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn-modern {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .features-grid-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Modern Order Form Styles */
.modern-order-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  margin-bottom: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.modern-order-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* .modern-order-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 136, 0.2);
} */

.modern-order-form:hover::before {
  opacity: 1;
}

/* Modern Header */
.modern-header {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 204, 106, 0.05));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  position: relative;
  overflow: hidden;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.header-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
  transition: all 0.3s ease;
}

.modern-order-form:hover .header-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
}

.header-text h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-subtitle {
  margin: 5px 0 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 400;
}

/* .header-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1));
  opacity: 0.5;
} */

/* Modern Form Body */
.modern-form-body {
  padding: 25px 30px 30px 30px;
}

.modern-order-form-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Sections */
.form-section {
  position: relative;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title i {
  color: #00ff88;
  font-size: 16px;
}

.section-title span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
}

/* Modern Form Row */
.modern-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .modern-form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Modern Form Group */
.modern-form-group {
  position: relative;
}

.modern-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
}

.modern-label i {
  color: #00ff88;
  font-size: 14px;
}

/* Modern Select */
.modern-select-wrapper {
  position: relative;
}

.modern-select {
  width: 100%;
  padding: 15px 45px 15px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modern-select:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1), 0 4px 15px rgba(0, 255, 136, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.modern-select option {
  background: #1a1a1a;
  color: white;
  padding: 10px;
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
}

.modern-select:focus + .select-arrow {
  color: #00ff88;
  transform: translateY(-50%) rotate(180deg);
}

/* Modern Input */
.modern-input-wrapper {
  position: relative;
}

.modern-input {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modern-input:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1), 0 4px 15px rgba(0, 255, 136, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #00ff88, #00cc6a);
  transition: width 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.modern-input:focus + .input-decoration {
  width: 100%;
}

/* Modern Info Box */
.modern-info-box {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: rgba(0, 123, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.info-icon {
  color: #007bff;
  font-size: 20px;
  margin-top: 2px;
}

.info-content h4 {
  margin: 0 0 8px 0;
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.info-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

/* Modern Add Button */
.modern-add-section {
  margin-top: 20px;
}

.modern-btn-add {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.modern-btn-add:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  color: #00ff88;
  transform: translateY(-2px);
}

.modern-btn-add .btn-icon {
  width: 20px;
  height: 20px;
  background: rgba(0, 255, 136, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
}

.modern-btn-add:hover .btn-icon {
  background: rgba(0, 255, 136, 0.3);
  transform: rotate(90deg);
}

/* Modern Checkbox */
.modern-checkbox-group {
  margin-top: 5px;
}

.modern-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-checkbox-container:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 255, 136, 0.2);
}

.modern-checkbox-container input[type="checkbox"] {
  display: none;
}

.modern-checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.modern-checkmark i {
  font-size: 14px;
  color: white;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.modern-checkbox-container input[type="checkbox"]:checked + .modern-checkmark {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border-color: #00ff88;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.modern-checkbox-container input[type="checkbox"]:checked + .modern-checkmark i {
  opacity: 1;
  transform: scale(1);
}

.checkbox-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.modern-link {
  color: #00ff88;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modern-link:hover {
  color: #00cc6a;
  text-decoration: underline;
}

/* Modern Submit Button */
.form-submit-section {
  margin-top: 5px;
}

.modern-submit-btn {
  width: 100%;
  padding: 0;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
}

.modern-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

.modern-submit-btn:active {
  transform: translateY(-1px);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 30px;
  position: relative;
  z-index: 2;
}

.btn-content .btn-icon {
  font-size: 18px;
  color: white;
  transition: all 0.3s ease;
}

.btn-text {
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modern-submit-btn:hover .btn-content .btn-icon {
  transform: scale(1.1);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.modern-submit-btn:hover .btn-glow {
  left: 100%;
}

/* Legacy styles for compatibility */
.new-order-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-block {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-block:hover {
  background: linear-gradient(135deg, #00cc6a, #00ff88);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

/* Remove the transform on hover to prevent downward animation */
.modern-admin-nav .dropdown-toggle:hover {
  transform: none;
  box-shadow: none;
}

/* Show the dropdown menu on hover */
.modern-admin-nav .dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown items should be smaller */
.modern-admin-nav .dropdown-menu .dropdown-item {
  padding: 8px 15px;
  font-size: 0.9rem;
  min-width: auto; /* Remove min-width constraint */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Custom dropdown styling for modern admin nav */
.modern-admin-nav .dropdown .dropdown-menu a.dropdown-item {
  padding: 8px 15px;
  font-size: 0.9rem;
  min-width: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* PLATINUM pricing card styles - now using featured styling like Aurum */
.platinum-card {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.15);
}

/* .platinum-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 157, 0.25);
  border-color: rgba(0, 255, 157, 0.4);
} */

.premium-btn {
  background: linear-gradient(135deg, #00ff9d, #00cc7a);
  color: #000 !important;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
  text-shadow: none;
  width: 100%;
  max-width: 220px;
  text-align: center;
}

.premium-btn:hover {
  background: linear-gradient(135deg, #00cc7a, #00ff9d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
  color: #000 !important;
  text-shadow: none;
}

.premium-btn:active,
.premium-btn:focus {
  color: #000 !important;
  text-shadow: none;
  justify-content: flex-start;
  width: auto;
  background-color: transparent;
  color: #777 !important; /* Grey color for dropdown items */
}


.modern-admin-nav .dropdown .dropdown-menu a.dropdown-item:hover {
  background-color: rgba(0, 255, 157, 0.1);
  color: #fff !important; /* White text on hover */
}

.modern-admin-nav .dropdown .dropdown-menu a.dropdown-item i {
  font-size: 0.9rem;
}

/* Mobile Admin Dashboard Improvements */
@media (max-width: 768px) {
  .modern-admin-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 0 10px;
  }
  
  .modern-admin-nav a,
  .modern-admin-nav .dropdown-toggle {
    min-width: 0;
    padding: 10px;
    font-size: 0.9rem;
    gap: 5px;
    width: 100%;
  }
  
  .modern-admin-nav .dropdown {
    width: 100%;
  }
  
  .modern-admin-nav .dropdown-menu {
    width: 100%;
    left: 0;
    transform: none;
    top: 100%;
    margin-top: 0;
  }
  
  .admin-card .card-header {
    padding: 12px;
  }
  
  .admin-card .card-body {
    padding: 15px;
  }
  
  /* Fix for toast notifications on mobile */
  #toast-container {
    width: 100%;
    padding: 0 10px;
    right: 0;
    align-items: center;
  }
  
  .toast-notification {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .modern-admin-nav {
    grid-template-columns: 1fr;
  }
  
  .admin-table th, 
  .admin-table td {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 10px 8px;
  }
  
  .admin-card .card-header h2 {
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
  }
  
  .header-actions {
    justify-content: center;
  }
}

.modern-admin-nav .dropdown-toggle {
  white-space: nowrap;
  display: flex;
  justify-content: center;
  min-width: 140px;
  width: auto;
  color: #777 !important; /* Important flag to ensure grey text color */
}

.modern-admin-nav .dropdown-toggle i.fa-caret-down {
  display: none;
}

.modern-admin-nav a:hover,
.modern-admin-nav .dropdown-toggle:hover {
  background-color: #223741;
  color: #fff !important; /* White text on hover with !important to override */
  transform: none;
  box-shadow: none;
}

.modern-admin-nav a.active {
  background-color: #00ff9d;
  color: #000 !important; /* Black text for active with !important to override */
}

.modern-admin-nav a i {
  font-size: 1.1rem;
}

.modern-admin-nav .dropdown {
  position: relative;
}

.modern-admin-nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 2px); /* Reduced to keep menu closer */
  left: 0;
  background: rgba(24, 36, 42, 0.95);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 8px 32px rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 99999;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible;
}

/* Dropdown arrow indicator for modern-admin-nav */
.modern-admin-nav .dropdown-toggle:after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

/* Add padding area to prevent accidental closing */
.modern-admin-nav .dropdown::after {
  content: '';
  position: absolute;
  height: 15px;
  width: 100%;
  top: 100%;
  left: 0;
}

/* Add rotation effect to the dropdown arrow on hover */
.modern-admin-nav .dropdown:hover .dropdown-toggle:after {
  transform: rotate(180deg);
}

/* Searchable Dropdown Styles */
.searchable-dropdown {
  position: relative;
  width: 100%;
}

.searchable-dropdown .dropdown-trigger {
  position: relative;
}

.searchable-dropdown .search-input {
  width: 100%;
  padding-right: 30px;
  cursor: text;
}

.searchable-dropdown .dropdown-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.searchable-dropdown.active .dropdown-icon {
  transform: translateY(-50%) rotate(180deg);
}

.searchable-dropdown .dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: #0f1729; /* Solid background to cover content below */
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  margin-top: 5px;
}

.searchable-dropdown.active .dropdown-options {
  display: block;
}

.searchable-dropdown .dropdown-option {
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.searchable-dropdown .dropdown-option:last-child {
  border-bottom: none;
}

.searchable-dropdown .dropdown-option:hover {
  background: rgba(0, 255, 157, 0.1);
}

.searchable-dropdown .dropdown-option.selected {
  background: rgba(0, 255, 157, 0.2);
  border-left: 3px solid var(--accent);
}

.searchable-dropdown .user-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.searchable-dropdown .user-id {
  font-size: 0.8em;
  color: var(--text-secondary);
  font-family: monospace;
}

.searchable-dropdown .no-results {
  padding: 15px;
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
}


/* Modern Help Section */
.help-section-modern {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.help-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.help-card-modern {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.help-card-modern:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.discord-theme .card-bg-glow {
  background: radial-gradient(circle at top right, rgba(88, 101, 242, 0.15), transparent 60%);
}

.email-theme .card-bg-glow {
  background: radial-gradient(circle at top right, rgba(0, 255, 157, 0.15), transparent 60%);
}

.help-card-modern:hover .card-bg-glow {
  opacity: 1;
}

.help-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.help-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.discord-theme .help-icon-wrapper {
  background: rgba(88, 101, 242, 0.1);
  color: #5865F2;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.15);
}

.email-theme .help-icon-wrapper {
  background: rgba(0, 255, 157, 0.1);
  color: #00ff9d;
  box-shadow: 0 10px 20px rgba(0, 255, 157, 0.15);
}

.help-card-modern:hover .help-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.help-card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.help-card-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.help-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.help-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.help-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.discord-btn-modern {
  background: #5865F2;
  color: white;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn-modern:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
  color: white;
}

.email-btn-modern {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-btn-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

@media (max-width: 768px) {
  .help-grid-modern {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .help-card-modern {
    padding: 2rem 1.5rem;
  }
}


/* Modern Pricing Section */
.pricing-section-modern {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.pricing-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.pricing-card-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card-modern.featured {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.pricing-card-modern.featured:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFC107, #FF9800);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    z-index: 1;
    white-space: nowrap;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platinum-card .popular-badge {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
}

.tier-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.pricing-card-modern:hover .tier-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tier-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.price-container {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.price-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 1rem;
}

.pricing-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.feature-item i {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 8px;
    font-size: 0.9rem;
}

.pricing-footer {
    text-align: center;
}

.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
    font-size: 0.9rem;
}

.pricing-btn i {
    color: white;
}

.argentum-btn, .aurum-btn, .platinum-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.argentum-btn:hover, .aurum-btn:hover, .platinum-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Modern FAQ Section */
.faq-section-modern {
    padding: 6rem 0;
    position: relative;
}

.faq-container-modern {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item-modern.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question-modern {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.faq-question-modern i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.faq-item-modern.active .faq-question-modern i {
    transform: rotate(180deg);
}

.faq-answer-modern {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.faq-item-modern.active .faq-answer-modern {
    padding-bottom: 1.5rem;
    max-height: 1000px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}
