/* Futuristic Dashboard Styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #000000;
  --bg-light: #ffffff;
  --primary: #CC3BFE;
  --accent: #a855f7;
  --text-light: #d1d5db;
  --text-dark: #111;
  --card-bg: #0a0a0a;
}

* {
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
}

body:not(.auth-page) {
  display: flex;
}

.dashboard {
  display: flex;
  width: 100%;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  padding: 0.8rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.2);
  overflow: hidden;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

.menu-toggle:hover {
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
}

.menu-toggle i {
  display: block;
}

/* Main */
.main-content {
  flex: 1;
  padding: 1.5rem;
  min-width: 0;
  position: relative;
  background: var(--bg-dark);
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  opacity: 0.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(204, 59, 254, 0.025);
  margin-bottom: 2rem;
  border-radius: 0;
}

.header-left {
  flex: 1;
  max-width: 600px;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-container i {
  position: absolute;
  left: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.search-container input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.search-container input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.search-container input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(204, 59, 254, 0.025);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-info {
  display: flex;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.info-item i {
  color: var(--primary);
}

.notification-wrapper {
  position: relative;
}

.notification-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.notification-btn:hover {
  background: rgba(204, 59, 254, 0.025);
  border-color: var(--primary);
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
}

/* Notification Popup */
.notification-popup {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-height: 500px;
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  backdrop-filter: blur(20px);
}

.notification-popup.active {
  display: flex;
}

.notification-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(204, 59, 254, 0.075);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(204, 59, 254, 0.025);
}

.notification-header h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
}

.notification-count {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: rgba(204, 59, 254, 0.075);
  border-radius: 12px;
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  max-height: 350px;
}

.notification-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.notification-item:hover {
  background: rgba(204, 59, 254, 0.025);
}

.notification-item.unread {
  background: rgba(204, 59, 254, 0.04);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(204, 59, 254, 0.075);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-content h5 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 0.3rem 0;
  font-weight: 600;
}

.notification-content p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.4rem 0;
  line-height: 1.4;
}

.notification-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.notification-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(204, 59, 254, 0.075);
  background: rgba(204, 59, 254, 0.015);
}

.view-all-btn {
  width: 100%;
  padding: 0.7rem;
  background: rgba(204, 59, 254, 0.025);
  border: 1px solid rgba(204, 59, 254, 0.15);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: rgba(204, 59, 254, 0.1);
  border-color: var(--primary);
}

/* Scrollbar for notification list */
.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.notification-list::-webkit-scrollbar-thumb {
  background: rgba(204, 59, 254, 0.15);
  border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: rgba(204, 59, 254, 0.25);
}

.user-profile-dropdown {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.user-profile-dropdown::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
}

.user-profile-dropdown:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 59, 254, 0.1);
}

.user-profile-dropdown:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(204, 59, 254, 0.075);
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.user-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.user-profile-dropdown i {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Header */
@media (max-width: 768px) {
  .header {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.6rem 0 0.6rem 3.5rem;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .header-left {
    display: none;
  }
  
  .header-right {
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-end;
  }
  
  .header-info {
    display: none;
  }
  
  .user-profile-dropdown {
    padding: 0.3rem;
    gap: 0.5rem;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
  }
  
  .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  
  .user-details {
    display: none;
  }
  
  .user-profile-dropdown i {
    display: none;
  }
  
  .notification-btn {
    width: 38px;
    height: 38px;
  }
  
  .notification-popup {
    width: 300px;
    right: -20px;
  }
  
  /* Performance Summary Mobile */
  .performance-summary {
    grid-template-columns: 1fr;
  }
  
  .summary-card {
    padding: 1rem;
  }
  
  .summary-content h2 {
    font-size: 1.5rem;
  }
}

.welcome {
  margin-top: 1.5rem;
  position: relative;
}

.welcome::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 3px;
  box-shadow: 0 0 20px var(--primary);
}

.welcome h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.welcome .username {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.dashboard-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-info::before {
  content: '▸';
  color: var(--primary);
  font-size: 1rem;
}

.banner {
  margin: 2rem 0;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.3), inset 0 0 60px rgba(0, 212, 255, 0.1);
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(204, 59, 254, 0.075);
  opacity: 0.5;
  pointer-events: none;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  backdrop-filter: blur(2px);
}

.banner-text h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.banner-text p {
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.explore-btn {
  margin-top: 1rem;
  background: var(--primary);
  color: var(--bg-dark);
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  border: 2px solid var(--primary);
  cursor: pointer;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explore-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.explore-btn:hover::before {
  width: 300px;
  height: 300px;
}

.explore-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.8), 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.explore-btn:active {
  transform: scale(0.98);
}

/* Courses */
.courses {
  margin-top: 2rem;
  position: relative;
}

.courses::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1rem;
  bottom: -1rem;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  border-radius: 3px;
  opacity: 0.5;
}

.courses h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.courses h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 3px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.course-card {
  background: var(--card-bg);
  padding: 1.2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 212, 255, 0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.5s;
}

.course-card:hover::before {
  left: 100%;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4), inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.course-card h4 {
  position: relative;
  z-index: 1;
}

.course-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.progress-bar {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
  margin: 0.5rem 0;
  border: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
}

.progress-bar div {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: width var(--transition);
  position: relative;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  background: rgba(204, 59, 254, 0.075);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 30px rgba(0, 212, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 212, 255, 0.05) 50%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.3;
}

.stat {
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.stat:hover {
  transform: scale(1.1) translateY(-5px);
}

.stat h4 {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.stat p {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.footer {
  margin-top: 2rem;
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidebar {
    width: 240px;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .banner {
    height: 220px;
  }
  
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .sidebar {
    position: fixed;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform var(--transition);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .main-content {
    width: 100%;
    padding: 1rem;
    margin-left: 0;
    padding-top: 0;
  }
  
  .main-content .header {
    margin-top: 0;
  }
  
  .header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .header .right {
    font-size: 0.85rem;
  }
  
  .welcome h2 {
    font-size: 1.4rem;
  }
  
  .banner {
    height: 200px;
    margin: 1.5rem 0;
  }
  
  .banner-text h2 {
    font-size: 1.3rem;
  }
  
  .banner-text p {
    font-size: 0.9rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat h4 {
    font-size: 0.85rem;
  }
  
  .stat p {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.6rem;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
  }
  
  .sidebar {
    width: 100%;
    padding: 1rem;
  }
  
  .main-content {
    padding: 0.75rem;
    padding-top: 0;
  }
  
  .welcome h2 {
    font-size: 1.2rem;
  }
  
  .banner {
    height: 180px;
  }
  
  .banner-overlay {
    padding: 1rem;
  }
  
  .banner-text h2 {
    font-size: 1.1rem;
  }
  
  .banner-text p {
    font-size: 0.8rem;
  }
  
  .explore-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .courses h3 {
    font-size: 1.2rem;
  }
  
  .header .right {
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  
  .footer {
    font-size: 0.75rem;
  }
}

/* Profile Page Styles */

.menu button.active {
  background: rgba(204, 59, 254, 0.075);
  border-left-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3), inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.profile-container {
  margin-top: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(204, 59, 254, 0.075);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 2rem;
}

.profile-avatar-large img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.profile-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}

.tab-btn:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Form Section */
.form-section h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input:read-only {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Subscriptions Grid */
.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.subscription-card {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  text-align: center;
  transition: all var(--transition);
}

.subscription-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.subscription-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.subscription-card.featured {
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.15);
}

.subscription-card.featured i {
  color: var(--accent);
}

.subscription-card h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.subscription-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Courses Empty State */
.courses-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(204, 59, 254, 0.075);
  border-radius: 15px;
  border: 1px dashed rgba(0, 212, 255, 0.3);
}

.courses-empty i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.courses-empty h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.courses-empty p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.courses-count {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Rank System */
.rank-container {
  max-width: 800px;
  margin: 0 auto;
}

.current-rank {
  text-align: center;
  margin-bottom: 2rem;
}

.rank-badge {
  display: inline-block;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.rank-badge i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.rank-badge h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.rank-points {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.rank-next {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.rank-progress {
  margin-bottom: 2rem;
}

.progress-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  height: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: width var(--transition);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.rank-list {
  display: grid;
  gap: 0.8rem;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all var(--transition);
}

.rank-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.rank-item.completed {
  border-color: var(--primary);
  background: rgba(204, 59, 254, 0.075);
}

.rank-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.rank-item span:first-of-type {
  font-weight: 600;
  color: var(--text-light);
  flex: 1;
}

.rank-range {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Leaderboard */
.leaderboard-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.lb-tab-btn {
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--text-light);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.lb-tab-btn:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
}

.lb-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
}

.leaderboard-content {
  display: none;
}

.leaderboard-content.active {
  display: block;
}

.leaderboard-list {
  display: grid;
  gap: 0.8rem;
}

.lb-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all var(--transition);
}

.lb-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.lb-item.user-rank {
  background: rgba(204, 59, 254, 0.075);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.lb-rank {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
  min-width: 40px;
}

.lb-item i.gold { color: #FFD700; }
.lb-item i.silver { color: #C0C0C0; }
.lb-item i.bronze { color: #CD7F32; }
.lb-item i.diamond { color: #00CED1; }

.lb-user {
  flex: 1;
}

.lb-user span {
  display: block;
  color: var(--text-light);
  font-weight: 500;
}

.lb-user small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.lb-points {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.rank-1, .rank-2, .rank-3 {
  border-color: var(--primary);
  background: rgba(204, 59, 254, 0.075);
}

/* Responsive Profile */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .tabs {
    justify-content: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .subscriptions-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Profile Page Specific Styles */
.profile-container {
  max-width: 1200px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 2rem;
}

.profile-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  overflow: hidden;
  position: relative;
}

.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h3 {
  font-size: 2rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.profile-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Form Styles */
.form-section h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.form-group input[readonly] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Subscriptions */
.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.subscription-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  text-align: center;
  transition: all var(--transition);
}

.subscription-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.subscription-card.featured {
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.15);
}

.subscription-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.subscription-card.featured i {
  color: var(--accent);
}

.subscription-card h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.subscription-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Courses Empty State */
.courses-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 2px dashed rgba(0, 212, 255, 0.3);
}

.courses-empty i {
  font-size: 4rem;
  color: rgba(0, 212, 255, 0.3);
  margin-bottom: 1rem;
}

.courses-empty h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.courses-empty p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.courses-count {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Rank Container */
.rank-container {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.current-rank {
  text-align: center;
  margin-bottom: 2rem;
}

.rank-badge {
  display: inline-block;
  padding: 2rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 20px;
  border: 2px solid var(--primary);
  margin-bottom: 1rem;
}

.rank-badge i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.rank-badge h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.rank-points {
  color: var(--text-light);
  font-size: 1.2rem;
}

.rank-next {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* Progress Track */
.rank-progress {
  margin-bottom: 2rem;
}

.progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.85rem;
  z-index: 1;
}

/* Rank List */
.rank-list {
  display: grid;
  gap: 1rem;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}

.rank-item.completed {
  background: rgba(204, 59, 254, 0.075);
  border-color: var(--primary);
}

.rank-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.rank-item.completed i {
  color: #00ff00;
}

.rank-item span:first-of-type {
  flex: 1;
  font-weight: 500;
  color: var(--text-light);
}

.rank-range {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Leaderboard Tabs */
.leaderboard-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.lb-tab-btn {
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.lb-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lb-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  font-weight: 600;
}

.leaderboard-content {
  display: none;
}

.leaderboard-content.active {
  display: block;
}

.leaderboard-list {
  display: grid;
  gap: 0.8rem;
}

.lb-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all var(--transition);
}

.lb-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.lb-item.user-rank {
  background: rgba(204, 59, 254, 0.075);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.lb-rank {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
  min-width: 50px;
}

.lb-item i.gold { color: #FFD700; }
.lb-item i.silver { color: #C0C0C0; }
.lb-item i.bronze { color: #CD7F32; }
.lb-item i.diamond { color: #00CED1; }

.lb-user {
  flex: 1;
}

.lb-user span {
  display: block;
  color: var(--text-light);
  font-weight: 500;
}

.lb-user small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.lb-points {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.rank-1, .rank-2, .rank-3 {
  border-color: var(--primary);
  background: rgba(204, 59, 254, 0.075);
}

/* Profile Responsive */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .tabs {
    justify-content: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .subscriptions-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .leaderboard-tabs {
    flex-wrap: wrap;
  }
}

/* ============================================
   NEW EXPERIMENTAL DASHBOARD DESIGN
   ============================================ */

/* Hero Section */
.hero-section {
  position: relative;
  padding: 3rem 2rem;
  margin: 2rem 0;
  background: rgba(10, 10, 10, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(204, 59, 254, 0.075);
  overflow: hidden;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.05;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
  filter: blur(40px);
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  left: 10%;
  filter: blur(30px);
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 10%;
  filter: blur(25px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(204, 59, 254, 0.025);
  border: 1px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.hero-text h1 {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(204, 59, 254, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204, 59, 254, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid rgba(204, 59, 254, 0.1);
}

.btn-secondary:hover {
  background: rgba(204, 59, 254, 0.04);
  border-color: var(--primary);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(204, 59, 254, 0.075);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 1.5rem;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Performance Summary */
.performance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.summary-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.summary-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(204, 59, 254, 0.075);
  transform: translateY(-5px);
}

.summary-card.primary {
  border-color: var(--primary);
  background: rgba(204, 59, 254, 0.025);
}

.summary-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(204, 59, 254, 0.075);
  color: var(--primary);
  flex-shrink: 0;
}

.summary-card.primary .summary-icon {
  background: var(--primary);
  color: var(--bg-dark);
}

.summary-content {
  flex: 1;
}

.summary-label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-content h2 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin: 0 0 0.3rem 0;
  font-weight: 700;
}

.summary-change {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.summary-change.positive {
  color: #22c55e;
}

.summary-change i {
  font-size: 0.75rem;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Specific layouts for dashboard cards */
.featured-stats {
  grid-column: span 1;
}

.courses-showcase {
  grid-column: span 1;
}

.live-market {
  grid-column: span 2;
}

.quick-market {
  grid-column: span 1;
}

.upcoming-events {
  grid-column: span 1;
}

.community-feed {
  grid-column: span 1;
}

.quick-actions {
  grid-column: span 1;
}

/* Responsive grid adjustments */
@media (max-width: 1400px) {
  .live-market {
    grid-column: span 1;
  }
}

.dashboard-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(204, 59, 254, 0.075);
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.card-header h3 {
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid var(--primary);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.stat-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary) 0%,
    var(--primary) calc(var(--progress) * 1%),
    rgba(255, 255, 255, 0.1) calc(var(--progress) * 1%),
    rgba(255, 255, 255, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.5rem;
}

.stat-circle::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--card-bg);
}

.stat-circle span {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.stat-item label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mini Courses */
.courses-mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.course-mini-card:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.course-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.course-info {
  flex: 1;
}

.course-info h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.course-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.mini-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.mini-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Live Market */
.market-pairs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.market-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.market-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.pair-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pair-name {
  font-weight: 600;
  color: var(--text-light);
}

.pair-value {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.pair-value.positive { color: #00ff88; }
.pair-value.negative { color: #ff4444; }

.pair-change {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pair-change.positive {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.pair-change.negative {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
}

.market-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ff88;
  font-size: 0.9rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.event-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  min-width: 60px;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.event-date .month {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.event-details {
  flex: 1;
}

.event-details h4 {
  color: var(--text-light);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.event-details p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-attend {
  padding: 0.6rem;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-attend:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

/* Community Feed */
.feed-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feed-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.feed-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.feed-content {
  flex: 1;
}

.feed-content h4 {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.feed-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.feed-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Quick Actions */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-5px);
}

.action-btn i {
  font-size: 1.8rem;
  color: var(--primary);
}

.action-btn span {
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.btn-link:hover {
  transform: translateX(3px);
}

/* Responsive Design for New Dashboard */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Hero Section Responsive */
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-content {
    gap: 1.5rem;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-text p {
    font-size: 0.9rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  /* Cards responsive */
  .dashboard-card {
    padding: 1rem;
  }
  
  .card-header h3 {
    font-size: 1rem;
  }
  
  /* Stats grid responsive */
  .stats-grid {
    gap: 1rem;
  }
  
  .stat-circle {
    width: 60px;
    height: 60px;
  }
  
  .stat-circle span {
    font-size: 0.9rem;
  }
  
  /* Actions grid responsive */
  .actions-grid {
    gap: 0.5rem;
  }
  
  .action-btn {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
  
  /* Feed responsive */
  .feed-item {
    padding: 0.8rem;
    gap: 0.8rem;
  }
  
  .feed-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  /* Market items responsive */
  .market-item {
    padding: 0.8rem;
  }
  
  /* Event items responsive */
  .event-item {
    padding: 0.8rem;
    gap: 0.8rem;
  }
  
  .event-date {
    padding: 0.6rem;
    min-width: 50px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .stats-grid,
  .actions-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-circle {
    width: 50px;
    height: 50px;
  }
  
  .stat-circle span {
    font-size: 0.8rem;
  }
  
  .dashboard-card {
    padding: 0.8rem;
  }
  
  .card-header {
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
  }
}

/* ============================================
   NEW EXPERIMENTAL SIDEBAR DESIGN
   ============================================ */

/* Sidebar */
.sidebar {
  width: 80px;
  background: #000000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0.8rem;
  border-right: 1px solid rgba(204, 59, 254, 0.025);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: visible; /* Allow tooltips to show outside sidebar */
}



/* Default collapsed state styling */
.sidebar .sidebar-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.sidebar .sidebar-logo {
  justify-content: center;
}

.sidebar .logo-text,
.sidebar .profile-details,
.sidebar .btn-expand-profile,
.sidebar .nav-label,
.sidebar .nav-text,
.sidebar .nav-count,
.sidebar .nav-badge,
.sidebar .upgrade-promo,
.sidebar .sidebar-footer .nav-text,
.sidebar .profile h1,
.sidebar .profile p {
  display: none;
}

.sidebar .sidebar-profile {
  padding: 1rem;
}

.sidebar .profile-avatar {
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.sidebar .nav-item {
  justify-content: center;
  padding: 0.9rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow: visible; /* Allow tooltips to show */
}

.sidebar .nav-icon {
  margin: 0;
}

.sidebar .sidebar-footer .nav-item {
  justify-content: center;
  padding: 0.9rem;
}

.sidebar .profile {
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar .menu button {
  padding: 0.9rem;
  justify-content: center;
}

.sidebar .menu button span {
  display: none;
}

.sidebar .menu button i {
  margin: 0;
}



/* Tooltip for nav items */
.nav-item {
  position: relative;
}

/* Ensure tooltips work on buttons inside anchor tags */
.sidebar-nav a .nav-item,
.sidebar-nav button.nav-item,
.sidebar-footer a .nav-item,
.sidebar-footer button.nav-item {
  position: relative;
}


.nav-item::after,
.sidebar-nav a .nav-item::after,
.sidebar-nav button.nav-item::after,
.sidebar-footer a .nav-item::after,
.sidebar-footer button.nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 15px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(204, 59, 254, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(204, 59, 254, 0.15);
  z-index: 10000;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
  transform: translateY(-50%) translateX(-10px);
}

.nav-item:hover::after,
.sidebar-nav a:hover .nav-item::after,
.sidebar-nav button.nav-item:hover::after,
.sidebar-footer a:hover .nav-item::after,
.sidebar-footer button.nav-item:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
}

/* Tooltip arrow */
.nav-item::before,
.sidebar-nav a .nav-item::before,
.sidebar-nav button.nav-item::before,
.sidebar-footer a .nav-item::before,
.sidebar-footer button.nav-item::before {
  content: '';
  position: absolute;
  left: calc(100% + 9px);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid rgba(204, 59, 254, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10001;
  transition: opacity 0.2s ease, visibility 0s 0.2s;
}

.nav-item:hover::before,
.sidebar-nav a:hover .nav-item::before,
.sidebar-nav button.nav-item:hover::before,
.sidebar-footer a:hover .nav-item::before,
.sidebar-footer button.nav-item:hover::before {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s 0s;
}

/* Desktop view - ensure tooltips are visible and working */
@media (min-width: 769px) {
  /* Force tooltips to be visible on desktop */
  .nav-item::after,
  .sidebar-nav a .nav-item::after,
  .sidebar-nav button.nav-item::after,
  .sidebar-footer a .nav-item::after,
  .sidebar-footer button.nav-item::after {
    display: block !important;
  }
  
  .nav-item::before,
  .sidebar-nav a .nav-item::before,
  .sidebar-nav button.nav-item::before,
  .sidebar-footer a .nav-item::before,
  .sidebar-footer button.nav-item::before {
    display: block !important;
  }
  
  /* Ensure tooltips appear on hover for desktop */
  .nav-item:hover::after,
  .sidebar-nav a:hover .nav-item::after,
  .sidebar-nav button.nav-item:hover::after,
  .sidebar-footer a:hover .nav-item::after,
  .sidebar-footer button.nav-item:hover::after {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .nav-item:hover::before,
  .sidebar-nav a:hover .nav-item::before,
  .sidebar-nav button.nav-item:hover::before,
  .sidebar-footer a:hover .nav-item::before,
  .sidebar-footer button.nav-item:hover::before {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Tooltip for profile */
.sidebar-profile {
  position: relative;
}

.sidebar-profile::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-light);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(204, 59, 254, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transition: opacity 0.2s ease;
}

.sidebar-profile:hover::after {
  opacity: 1;
}

/* Tooltip for sidebar logo */
.sidebar-logo {
  position: relative;
}

.sidebar-logo::after {
  content: "softlife";
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-light);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(204, 59, 254, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transition: opacity 0.2s ease;
}

.sidebar-logo:hover::after {
  opacity: 1;
}

/* Sidebar Header */
.sidebar-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(204, 59, 254, 0.075);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 1.5rem;
  box-shadow: none !important;
  padding: 0 !important;
}

.logo-text h2 {
  font-size: 1.5rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sidebar Profile */
.sidebar-profile {
  background: rgba(10, 10, 10, 0.8);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(204, 59, 254, 0.075);
  margin-bottom: 1rem;
  position: relative;
}

.profile-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  object-fit: cover;
}

.status-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 3px solid var(--bg-dark);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.profile-details {
  text-align: center;
  margin-bottom: 1rem;
}

.profile-details h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.profile-details p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.8rem;
}

.profile-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-mini {
  padding: 0.3rem 0.6rem;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-expand-profile {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-expand-profile:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--primary);
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: visible; /* Allow tooltips to show */
}

.sidebar-nav a {
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: visible; /* Allow tooltips to show */
  position: relative;
}

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

.nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: left;
  width: 100%;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.nav-item.active {
  background: rgba(204, 59, 254, 0.075);
  border-left: 3px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.nav-item.active .nav-icon {
  color: var(--primary);
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.nav-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-badge, .nav-count {
  padding: 0.2rem 0.5rem;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid var(--primary);
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  min-width: 25px;
  text-align: center;
}

.nav-count {
  background: rgba(255, 0, 195, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.nav-badge.pulse {
  /* Animation removed for performance */
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.upgrade-promo {
  background: rgba(168, 85, 247, 0.15);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 195, 0.3);
  margin-bottom: 1rem;
  text-align: center;
}

.promo-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.8rem;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 1.5rem;
}

.promo-content h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.promo-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.btn-promo {
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-promo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 0, 195, 0.4);
}

.logout-btn {
  color: rgba(255, 68, 68, 0.8);
}

.logout-btn:hover {
  background: rgba(255, 68, 68, 0.1);
}

.logout-btn .nav-icon {
  color: rgba(255, 68, 68, 0.8);
}

/* Responsive Sidebar */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    width: 280px !important;
    height: 100vh;
    padding: 1.5rem !important;
    transform: translateX(-100%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  /* Show all text on mobile */
  .sidebar .logo-text,
  .sidebar .profile-details,
  .sidebar .btn-expand-profile,
  .sidebar .nav-label,
  .sidebar .nav-text,
  .sidebar .nav-count,
  .sidebar .nav-badge,
  .sidebar .upgrade-promo,
  .sidebar .sidebar-footer .nav-text {
    display: block !important;
  }
  
  /* Mobile sidebar layout */
  .sidebar .sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .sidebar .sidebar-logo {
    justify-content: flex-start;
  }
  
  .sidebar .sidebar-profile {
    padding: 1.5rem;
  }
  
  .sidebar .profile-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
  }
  
  .sidebar .nav-item {
    justify-content: flex-start;
    padding: 0.9rem 1.2rem;
    flex-direction: row;
    gap: 1rem;
  }
  
  .sidebar .nav-icon {
    margin-right: 0;
  }
  
  .sidebar .sidebar-footer .nav-item {
    justify-content: flex-start;
    padding: 0.9rem 1.2rem;
  }
  
  .sidebar .sidebar-footer .nav-text {
    display: inline !important;
  }
  
  /* Hide tooltips on mobile */
  .sidebar .nav-item::after,
  .sidebar .sidebar-profile::after,
  .sidebar .sidebar-logo::after {
    display: none;
  }
  
  /* Dark overlay on mobile when sidebar is open */
  .main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .sidebar.active ~ .main-content::before {
    opacity: 1;
    pointer-events: all;
  }
}

/* ============================================
   ACADEMIES PAGE STYLES
   ============================================ */

.page-header {
  margin: 2rem 0;
}

.page-header h1 {
  font-size: 2.5rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.academy-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.academy-section {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.academy-section:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(204, 59, 254, 0.025);
}

.academy-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(204, 59, 254, 0.075);
  flex-wrap: wrap;
}

.academy-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
}

.academy-info {
  flex: 1;
}

.academy-info h2 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.academy-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

.live-price, .social-stats, .market-data {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.price-label, .price-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.price-label {
  color: rgba(255, 255, 255, 0.5);
}

.price-value {
  color: var(--primary);
  font-size: 1.1rem;
}

.stat-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.market-indicator.positive {
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.course-card-academy {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card-academy:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(204, 59, 254, 0.075);
}

.course-thumbnail {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.course-thumbnail::after {
  content: '';
  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.5s;
}

.course-card-academy:hover .course-thumbnail::after {
  left: 100%;
}

.course-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.course-level {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(204, 59, 254, 0.025);
  border: 1px solid rgba(204, 59, 254, 0.15);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
}

.course-details h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.course-details > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.5;
}

.course-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
}

.course-stats span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-rating i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.course-rating span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.btn-enroll {
  padding: 0.9rem 1.5rem;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-enroll:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204, 59, 254, 0.15);
}

.academy-section a {
  text-decoration: none;
  color: inherit;
}

/* Responsive Academies */
@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .academy-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .live-price, .social-stats, .market-data {
    align-items: flex-start;
    margin-top: 1rem;
  }
}

/* Academies Page Responsive */
@media (max-width: 768px) {
  .page-header {
    margin: 1rem 0;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  .academy-section {
    padding: 1.5rem;
  }
  
  .academy-header {
    gap: 1rem;
  }
  
  .academy-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .academy-info h2 {
    font-size: 1.4rem;
  }
  
  .academy-info p {
    font-size: 0.9rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .course-card-academy {
    flex-direction: column;
  }
  
  .course-thumbnail {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .academy-section {
    padding: 1rem;
  }
  
  .academy-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .academy-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ============================================
   NEWS & ANALYSIS PAGE STYLES
   ============================================ */

.news-dashboard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Trading Widgets */
.trading-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.widget-card {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.widget-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(204, 59, 254, 0.025);
}

/* TradingView Widgets */
.tradingview-widget-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

.tradingview-widget-copyright {
  display: none;
}

/* Specific widget heights */
.widget-chart .tradingview-widget-container {
  min-height: 600px;
}

.widget-heatmap .tradingview-widget-container {
  min-height: 500px;
}

.widget-forex .tradingview-widget-container {
  min-height: 450px;
}

.widget-screener .tradingview-widget-container {
  min-height: 600px;
}

.widget-timeline .tradingview-widget-container {
  min-height: 550px;
}

/* Compact chart for dashboard */
.widget-chart-compact .tradingview-widget-container {
  min-height: 400px;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(204, 59, 254, 0.075);
}

.widget-header h3 {
  font-size: 1.1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-indicator {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
  /* Animation removed for performance */
}

/* Forex Pairs */
.forex-pairs, .crypto-pairs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pair-item, .crypto-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pair-item:hover, .crypto-item:hover {
  background: rgba(204, 59, 254, 0.025);
  transform: translateX(5px);
}

.pair-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pair-left i {
  font-size: 1.5rem;
  color: var(--primary);
}

.pair-name {
  display: block;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.pair-change {
  font-size: 0.8rem;
  font-weight: 600;
}

.pair-change.positive {
  color: #22c55e;
}

.pair-change.negative {
  color: #ef4444;
}

.pair-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
}

/* Crypto Items */
.crypto-item {
  align-items: center;
}

.crypto-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.crypto-info {
  flex: 1;
  margin-left: 1rem;
}

.crypto-name {
  display: block;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.95rem;
}

.crypto-symbol {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.crypto-data {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.crypto-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.crypto-change {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Sentiment Data */
.sentiment-data {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sentiment-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sentiment-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  min-width: 100px;
}

.sentiment-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.sentiment-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.sentiment-value {
  font-weight: 600;
  color: var(--text-light);
  min-width: 40px;
  text-align: right;
}

/* News Feed */
.news-feed-section {
  margin-bottom: 2rem;
}

.news-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 25px;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(204, 59, 254, 0.025);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: transparent;
  color: var(--bg-dark);
}

.news-articles {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(204, 59, 254, 0.075);
}

.news-card.featured {
  border-width: 2px;
  background: rgba(204, 59, 254, 0.025);
}

.news-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-tag {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-tag.forex {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
}

.news-tag.crypto {
  background: rgba(240, 147, 251, 0.2);
  color: #f093fb;
}

.news-tag.analysis {
  background: rgba(79, 172, 254, 0.2);
  color: #4facfe;
}

.news-tag.market {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

.news-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.news-content h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.4;
}

.news-content p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(204, 59, 254, 0.075);
}

.news-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.btn-read-more {
  padding: 0.6rem 1.2rem;
  background: rgba(204, 59, 254, 0.025);
  border: 1px solid rgba(204, 59, 254, 0.15);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-read-more:hover {
  background: rgba(204, 59, 254, 0.1);
  border-color: var(--primary);
  transform: translateX(5px);
}

/* Economic Calendar */
.calendar-section {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  padding: 2rem;
}

.calendar-section h2 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.calendar-item.high-impact {
  border-left-color: #ef4444;
}

.calendar-item.medium-impact {
  border-left-color: #fbbf24;
}

.calendar-item.low-impact {
  border-left-color: #22c55e;
}

.calendar-item:hover {
  background: rgba(204, 59, 254, 0.025);
  transform: translateX(5px);
}

.calendar-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-hour {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
}

.time-zone {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.calendar-info {
  flex: 1;
}

.impact-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.impact-badge.high {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.impact-badge.medium {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.impact-badge.low {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.calendar-info h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.calendar-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.calendar-forecast {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

/* Responsive News */
@media (max-width: 1024px) {
  .trading-widgets {
    grid-template-columns: 1fr;
  }
  
  /* TradingView Widget Responsive */
  .widget-chart .tradingview-widget-container,
  .widget-heatmap .tradingview-widget-container,
  .widget-forex .tradingview-widget-container,
  .widget-screener .tradingview-widget-container,
  .widget-timeline .tradingview-widget-container {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .news-dashboard {
    gap: 1.5rem;
  }
  
  .trading-widgets {
    gap: 1rem;
  }
  
  .widget-card {
    padding: 1rem;
  }
  
  .widget-header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
  }
  
  /* TradingView Widget Mobile */
  .widget-chart .tradingview-widget-container,
  .widget-heatmap .tradingview-widget-container,
  .widget-forex .tradingview-widget-container,
  .widget-screener .tradingview-widget-container,
  .widget-timeline .tradingview-widget-container {
    min-height: 350px;
  }
  
  .pair-item,
  .crypto-item {
    padding: 0.8rem;
  }
  
  .pair-left {
    gap: 0.8rem;
  }
  
  .news-card {
    flex-direction: column;
  }
  
  .news-image {
    width: 100%;
    height: 150px;
  }
  
  .calendar-section {
    padding: 1.5rem;
  }
  
  .calendar-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
  }
  
  .calendar-time {
    flex-direction: row;
    min-width: auto;
    gap: 0.5rem;
  }
  
  .calendar-forecast {
    text-align: left;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .widget-card {
    padding: 0.8rem;
  }
  
  .widget-header h3 {
    font-size: 1rem;
  }
  
  .pair-name {
    font-size: 0.85rem;
  }
  
  .pair-price {
    font-size: 1rem;
  }
  
  .calendar-section h2 {
    font-size: 1.4rem;
  }
  
  .calendar-item {
    padding: 0.8rem;
  }
}

/* ============================================
   REFERRALS PAGE STYLES
   ============================================ */

/* Referral Stats */
.referral-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card-referral {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.stat-card-referral:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(204, 59, 254, 0.075);
  transform: translateY(-5px);
}

.stat-icon-referral {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(204, 59, 254, 0.075);
  color: var(--primary);
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-label-referral {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-content h2 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin: 0 0 0.3rem 0;
  font-weight: 700;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.stat-change.positive {
  color: #22c55e;
}

.stat-change i {
  font-size: 0.75rem;
}

/* Referral Code Section */
.referral-code-section {
  margin: 2rem 0;
}

.referral-code-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.referral-code-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: rgba(204, 59, 254, 0.025);
  border: 2px solid var(--primary);
  border-radius: 12px;
  gap: 1rem;
}

.referral-code-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  flex: 1;
  text-align: center;
}

.btn-copy {
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-copy:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(204, 59, 254, 0.2);
}

.referral-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-align: center;
  margin: 0;
}

.referral-link-container {
  margin-top: 0.5rem;
}

.referral-link-display {
  display: flex;
  gap: 0.5rem;
}

.referral-link-input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.15);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.referral-link-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(204, 59, 254, 0.1);
}

.btn-copy-link {
  padding: 0.8rem 1.5rem;
  background: rgba(204, 59, 254, 0.025);
  border: 1px solid rgba(204, 59, 254, 0.15);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-copy-link:hover {
  background: rgba(204, 59, 254, 0.1);
  border-color: var(--primary);
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-share {
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-share:hover {
  background: rgba(204, 59, 254, 0.025);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-share i {
  font-size: 1.2rem;
}

/* How It Works */
.how-it-works {
  margin: 2rem 0;
}

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

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Referral List Section */
.referral-list-section {
  margin: 2rem 0;
}

.referral-filters {
  display: flex;
  gap: 0.5rem;
}

.filter-btn-referral {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 20px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn-referral:hover {
  background: rgba(204, 59, 254, 0.025);
  border-color: var(--primary);
}

.filter-btn-referral.active {
  background: var(--primary);
  border-color: transparent;
  color: var(--bg-dark);
}

.referrals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.referral-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.referral-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.referral-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.referral-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.status-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

.status-badge.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-badge.pending {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.referral-info {
  flex: 1;
}

.referral-info h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.referral-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.referral-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.referral-status.active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.referral-status.pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.referral-earnings {
  text-align: right;
  min-width: 120px;
}

.earnings-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.earnings-amount {
  display: block;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.earnings-amount.pending {
  color: rgba(255, 255, 255, 0.4);
}

/* Copy Notification */
.copy-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--primary);
  color: var(--bg-dark);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(204, 59, 254, 0.2);
  z-index: 10000;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s ease;
}

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

/* Responsive Referrals */
@media (max-width: 768px) {
  .referral-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .referral-code-display {
    flex-direction: column;
    text-align: center;
  }

  .referral-code-text {
    font-size: 1.2rem;
  }

  .share-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .referral-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .referral-earnings {
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .referral-filters {
    flex-wrap: wrap;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .referral-stats {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    grid-template-columns: 1fr;
  }

  .stat-card-referral {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   AUTH PAGES (LOGIN & SIGNUP) STYLES
   ============================================ */

.auth-page {
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  margin: 0;
  padding: 0;
}

.auth-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow-y: auto;
}

.auth-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.auth-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.auth-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.05;
  filter: blur(60px);
}

.auth-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation: float 20s ease-in-out infinite;
}

.auth-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
  animation: float 15s ease-in-out infinite reverse;
}

.auth-shapes .shape-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 10%;
  animation: float 18s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

.auth-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: 90vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  overflow: hidden;
}

/* Auth Image Section (Left Side) */
.auth-image-section {
  background: linear-gradient(135deg, rgba(204, 59, 254, 0.025) 0%, rgba(168, 85, 247, 0.1) 100%),
              url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(74,158,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  background-size: cover, 40px 40px;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 90vh;
}

.auth-image-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(204, 59, 254, 0.075) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
  z-index: 0;
}

.auth-image-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-image-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.auth-logo-large {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.logo-icon-auth-large {
  width: 80px;
  height: 80px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: none !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.logo-icon-auth-large i {
  display: block;
  line-height: 1;
}

.auth-logo-large h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem 0;
  font-weight: 800;
}

.tagline-auth-large {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
}

.auth-image-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item-large {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item-large:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateX(10px);
}

.feature-icon-large {
  width: 60px;
  height: 60px;
  background: rgba(204, 59, 254, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.feature-item-large h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.feature-item-large p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.auth-card {
  background: rgba(10, 10, 10, 0.95);
  border: none;
  border-left: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 0;
  padding: 3rem;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-height: 100vh;
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo-icon-auth {
  width: 70px;
  height: 70px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
  box-shadow: none !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.logo-icon-auth i {
  display: block;
  line-height: 1;
}

.auth-logo h1 {
  font-size: 2rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.3rem 0;
}

.tagline-auth {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.auth-header h2 {
  font-size: 2rem;
  color: var(--text-light);
  margin: 0 0 0.5rem 0;
}

.auth-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-auth {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-auth label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group-auth label i {
  color: var(--primary);
  font-size: 0.9rem;
}

.form-group-auth input {
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group-auth input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(204, 59, 254, 0.025);
}

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

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: var(--primary);
}

.password-strength {
  margin-top: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.strength-fill {
  height: 100%;
  width: 0%;
  background: #ef4444;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.password-match {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  display: block;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.forgot-password {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.forgot-password:hover {
  text-decoration: underline;
}

.link-inline {
  color: var(--primary);
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}

.btn-auth-primary {
  padding: 1rem 2rem;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 15px rgba(204, 59, 254, 0.15);
}

.btn-auth-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204, 59, 254, 0.2);
}

.btn-auth-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.social-auth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-social {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(204, 59, 254, 0.1);
  border-radius: 12px;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.btn-social:hover {
  background: rgba(204, 59, 254, 0.025);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-social i {
  font-size: 1.5rem;
  color: var(--primary);
}

.auth-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(204, 59, 254, 0.075);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(204, 59, 254, 0.025);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(204, 59, 254, 0.075);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Auth Pages */
@media (max-width: 1024px) {
  .auth-container {
    padding: 1rem;
  }

  .auth-content {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .auth-image-section {
    display: none;
  }

  .auth-card {
    border-left: none;
    border: 1px solid rgba(204, 59, 254, 0.1);
    border-radius: 16px;
    min-height: auto;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .auth-container {
    padding: 1rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: auto;
  }

  .auth-content {
    max-width: 100%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    min-height: auto;
    overflow: visible;
  }

  .auth-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(204, 59, 254, 0.1);
    width: 100%;
    max-height: none;
    justify-content: center;
    box-sizing: border-box;
  }

  .auth-header {
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .auth-subtitle {
    font-size: 0.95rem;
  }

  .auth-logo {
    margin-bottom: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-group-auth {
    margin-bottom: 0;
    width: 100%;
  }

  .form-group-auth label {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    display: block;
  }

  .form-group-auth input {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }

  .social-auth {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .btn-social {
    padding: 0.8rem;
    font-size: 0.8rem;
  }

  .auth-image-section {
    display: none;
  }

  .auth-form {
    gap: 1.5rem;
    width: 100%;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin: 0.5rem 0;
    width: 100%;
  }

  .forgot-password {
    font-size: 0.9rem;
    width: 100%;
    text-align: left;
    padding-top: 0.5rem;
  }

  .checkbox-label {
    font-size: 0.9rem;
    width: 100%;
  }

  .password-input-wrapper {
    width: 100%;
    position: relative;
  }

  .password-input-wrapper input {
    width: 100%;
    padding-right: 3.5rem;
  }

  .toggle-password {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .btn-auth-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
  }

  .auth-footer {
    margin-top: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 0.75rem;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: auto;
  }

  .auth-content {
    border-radius: 16px;
    min-height: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 100%;
  }

  .auth-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(204, 59, 254, 0.1);
    max-height: none;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .auth-header {
    margin-bottom: 2rem;
  }

  .auth-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .auth-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .logo-icon-auth {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .auth-logo h1 {
    font-size: 1.4rem;
  }

  .tagline-auth {
    font-size: 0.75rem;
  }

  .form-group-auth {
    width: 100%;
    margin-bottom: 0;
  }

  .form-group-auth label {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .form-group-auth label i {
    font-size: 0.85rem;
  }

  .form-group-auth input {
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .form-row {
    gap: 1.5rem;
  }

  .auth-form {
    gap: 1.5rem;
    width: 100%;
  }

  .form-group-auth {
    gap: 0.6rem;
  }

  .btn-auth-primary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .auth-footer {
    padding-top: 1.5rem;
    margin-top: 1rem;
    text-align: center;
  }

  .auth-footer p {
    font-size: 0.9rem;
  }

  .password-strength {
    margin-top: 0.5rem;
  }

  .strength-bar {
    height: 5px;
  }

  .strength-text {
    font-size: 0.75rem;
    margin-top: 0.3rem;
  }

  .password-match {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: block;
  }

  .checkbox-label {
    font-size: 0.9rem;
    width: 100%;
    line-height: 1.5;
  }

  .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .forgot-password {
    font-size: 0.9rem;
    width: 100%;
    text-align: left;
    padding-top: 0.25rem;
  }

  .password-input-wrapper {
    width: 100%;
    position: relative;
  }

  .password-input-wrapper input {
    width: 100%;
    padding-right: 3.5rem;
  }

  .toggle-password {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
  }

  .auth-image-section {
    display: none;
  }

  .auth-logo {
    margin-bottom: 1.5rem;
  }
}