
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #7f56da;
  --primary-glow: rgba(127, 86, 218, 0.4);
  --accent-color: #33b5e5;
  --text-color: #ffffff;
  --secondary-text-color: rgba(255, 255, 255, 0.6);
  --font-family-body: "Poppins", sans-serif;
  --background-color: #05050e;
  --surface-color: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --header-height: 80px;
  --sidebar-width: 280px;
  --glass-bg: rgba(255, 255, 255, 0.02);
}

body {
  font-family: var(--font-family-body);
  background-color: #000000;
  min-height: 100vh;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 80px);
  z-index: 1000;
  background: rgba(8, 8, 16, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  border-bottom: var(--glass-border);
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.header-logo a img {
  height: 40px;
  width: auto;
  
}

.user-profile-section {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: var(--surface-color);
  border: var(--glass-border);
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
}

.user-profile-section:hover {
  background: var(--surface-hover);
  border-color: var(--primary-color);
}

@media (max-width: 480px) {
  .user-profile-section span {
    display: none;
  }

  .user-profile-section {
    padding: 6px;
  }
}

.user-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  -o-object-fit: cover;
     object-fit: cover;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2rem;
  cursor: pointer;
  display: none;
}


.nav-main {
  display: flex;
}

.nav-main ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-main a {
  color: var(--secondary-text-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  text-transform: capitalize;
}

.nav-main a:hover,
.nav-main li.active a {
  color: white;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}


.dashboard-container {
  display: flex;
  padding-top: var(--header-height);
  min-height: 100vh;
}


.dashboard-sidebar {
  width: var(--sidebar-width);
  background: rgba(8, 8, 16, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  border-right: var(--glass-border);
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  z-index: 500;
  padding: 40px 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header h2 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-text-color);
  margin-bottom: 30px;
  padding-left: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-header h2 i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.dashboard-navigation ul {
  list-style: none;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  color: var(--secondary-text-color);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 16px;
  transition: var(--transition);
  font-weight: 500;
  margin-bottom: 10px;
  border: 1px solid transparent;
}

.nav-item a i {
  font-size: 1.4rem;
}

.nav-item a:hover {
  background: var(--surface-hover);
  color: #fff;
}

.nav-item.active a {
  background: rgba(127, 86, 218, 0.1);
  color: #fff;
  border: 1px solid rgba(127, 86, 218, 0.25);
}

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


.dashboard-content-area {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 50px 60px;
  max-width: calc(1400px + var(--sidebar-width));
  width: 100%;
  transform: translateZ(0);
  will-change: transform;
  transition: var(--transition);
}

.welcome-section {
  margin-bottom: 50px;
  animation: slideFadeIn 0.8s ease;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    
  }

  to {
    opacity: 1;
    
  }
}

.welcome-section h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.subtitle {
  color: var(--secondary-text-color);
  font-size: 1.2rem;
  font-weight: 300;
}


.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    
  }

  50% {
    
  }
}

.section-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-header h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-color);
}

.section-header p {
  color: var(--secondary-text-color);
  font-size: 1.1rem;
}


.courses-grid,
.tutors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}


.course-card {
  cursor: pointer;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
}

.course-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: var(--transition);
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.badge.subscribed {
  background: rgba(0, 200, 81, 0.2);
  color: #00c851;
  border: 1px solid rgba(0, 200, 81, 0.3);
}

.badge.locked {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-info {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
}

.course-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.course-info p {
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  margin-bottom: 25px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.tutor-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.tutor-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 20px;
  -o-object-fit: cover;
     object-fit: cover;
}

.tutor-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.tutor-info p {
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tutor-email {
  color: var(--secondary-text-color) !important;
  font-size: 0.85rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-bottom: 12px !important;
}

.tutor-rating {
  margin-bottom: 24px;
}

.rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rating-stars i {
  font-size: 16px;
  color: #ffd700;
}

.rating-stars .bx-star {
  color: rgba(255, 215, 0, 0.3);
}

.rating-text {
  margin-left: 8px;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  font-weight: 500;
}


.no-tutors {
  text-align: center;
  padding: 60px 20px;
  color: var(--secondary-text-color);
}

.no-tutors i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-tutors h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.no-tutors p {
  color: var(--secondary-text-color);
  font-size: 1rem;
  line-height: 1.5;
}


.upgrade-banner {
  background: #0c0c14;
  border: 1px solid rgba(127, 86, 218, 0.25);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 30px;
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  position: relative;
  overflow: hidden;
}

.upgrade-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.banner-content i.bx-lock-alt {
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.9;
  background: rgba(127, 86, 218, 0.1);
  padding: 12px;
  border-radius: 16px;
}

.banner-content h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: #fff;
}

.banner-content p {
  font-size: 0.95rem;
  color: var(--secondary-text-color);
  margin: 0;
  line-height: 1.4;
}

.btn-upgrade-banner {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  margin-left: auto;
}

.btn-upgrade-banner:hover {
  background: var(--primary-glow);
}

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


.btn-action {
  padding: 14px 28px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-action.btn-locked {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  opacity: 0.9;
}

.btn-action.btn-locked i {
  margin-right: 8px;
}

.btn-approve {
  background: var(--primary-color);
  color: white;
}

.btn-approve:hover {
  background: var(--primary-glow);
}

.btn-lock {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: var(--glass-border);
}

.btn-message {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: var(--glass-border);
  width: 100%;
}


.upgrade-card {
  background: rgba(127, 86, 218, 0.05);
  border: 1px solid rgba(127, 86, 218, 0.2);
  border-radius: 24px;
  padding: 30px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.upgrade-card .card-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom-left-radius: 12px;
}

.upgrade-card h4 {
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  margin-bottom: 10px;
}

.upgrade-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  display: block;
}

.upgrade-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-text-color);
}

.premium-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.12s cubic-bezier(0.2, 0, 0, 1), transform 0.12s cubic-bezier(0.2, 0, 0, 1);
}

.premium-btn:hover {
  opacity: 0.88;
  
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

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

.modal-content {
  background: #0d0d1b;
  border: var(--glass-border);
  border-radius: 32px;
  width: 95%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}


.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  contain: layout paint;
  z-index: 400;
  display: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 30px;
  border-bottom: var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.close-modal {
  background: none;
  border: none;
  color: var(--secondary-text-color);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: #fff;
  transform: rotate(90deg);
}

.upgrade-body {
  padding: 40px;
  text-align: center;
}

.feature-list {
  text-align: left;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-item i {
  color: #00c851;
  font-size: 1.4rem;
}

.pricing {
  margin-bottom: 30px;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
}

.period {
  color: var(--secondary-text-color);
  font-size: 1.2rem;
}


footer {
  padding: 60px 20px;
  text-align: center;
  border-top: var(--glass-border);
  margin-top: auto;
  margin-left: var(--sidebar-width);
  transition: var(--transition);
}


@media (max-width: 1200px) {
  .dashboard-content-area {
    padding: 40px;
  }
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 90px;
  }

  .sidebar-header h2 span,
  .nav-item a span {
    display: none;
  }

  .nav-item a {
    justify-content: center;
    padding: 18px;
  }

  .sidebar-header h2 {
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 992px) {
  :root {
    --sidebar-width: 0px;
  }

  .dashboard-sidebar {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .dashboard-content-area,
  footer {
    margin-left: 0;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .dashboard-content-area {
    padding: 20px 15px;
  }

  .courses-grid,
  .tutors-grid,
  .grid-container {
    gap: 15px;
    grid-template-columns: 1fr;
  }

  .course-info {
    padding: 20px 15px;
  }

  .tutor-card {
    padding: 25px 20px;
  }

  .section-header {
    margin-bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-header h3 {
    font-size: 1.5rem;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .btn-upgrade-banner {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 90%;
  max-width: 400px;
  z-index: 2002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.drawer-content {
  background: rgba(255, 255, 255, 0.02);
  border: var(--glass-border);
  border-radius: 40px;
  padding: 60px 30px 40px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.drawer-nav ul {
  list-style: none;
  padding: 0;
}

.drawer-nav li {
  margin-bottom: 20px;
}

.drawer-nav a {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  padding: 24px 30px;
  border-radius: 28px;
  font-size: 1.2rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.drawer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-signin-modal {
  display: block;
  margin-top: 24px;
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  padding: 22px;
  border-radius: 28px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-signin-modal:hover {
  background: var(--primary-color);
  color: #fff;
}


@media (max-width: 768px) {
  .dashboard-sidebar {
    display: none;
    
  }
}




.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.messages-container,
.earnings-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.stat-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary-color);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(127, 86, 218, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}

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


.student-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.student-card:hover {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.04);
}

.student-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  margin-bottom: 20px;
  -o-object-fit: cover;
     object-fit: cover;
}

.student-info h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
}

.student-email {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.active {
  background: rgba(0, 200, 81, 0.2);
  color: #00c851;
}

.status-badge.inactive {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-text-color);
}

.student-actions {
  width: 100%;
  margin-top: 20px;
}


.session-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.session-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.session-info h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.session-info p {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
}

.session-time {
  color: var(--accent-color) !important;
  font-weight: 500;
  margin-top: 5px;
  display: block;
}

.status-badge.scheduled {
  background: rgba(51, 181, 229, 0.2);
  color: #33b5e5;
}

.status-badge.completed {
  background: rgba(0, 200, 81, 0.2);
  color: #00c851;
}

.btn-join {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
}

.btn-view {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 12px;
}


.message-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.message-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.message-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.message-content {
  flex: 1;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.message-header h4 {
  color: #fff;
  font-size: 1rem;
}

.message-time {
  color: var(--secondary-text-color);
  font-size: 0.8rem;
}

.message-preview {
  color: var(--secondary-text-color);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.unread-badge {
  background: var(--primary-color);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 5px;
  display: inline-block;
}

.btn-reply {
  padding: 8px 16px;
  font-size: 0.9rem;
  height: -moz-fit-content;
  height: fit-content;
  align-self: center;
}


.earning-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.earning-info h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.earning-date {
  font-family: monospace;
  opacity: 0.7;
}

.earning-amount {
  text-align: right;
}

.earning-amount h3 {
  color: #00c851;
  font-size: 1.4rem;
}

.earning-type {
  color: var(--secondary-text-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.checkout-modal-card {
  background: rgba(13, 13, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  width: 90%;
  max-width: 420px;
  padding: 35px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary-color);
}

.checkout-modal-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.checkout-modal-header p {
  color: var(--secondary-text-color);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.checkout-modal-benefits ul {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-modal-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.checkout-modal-benefits li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.checkout-modal-benefits li i {
  color: var(--primary-color);
  font-size: 1.2rem;
  background: rgba(127, 86, 218, 0.1);
  padding: 4px;
  border-radius: 50%;
}

.checkout-modal-benefits li strong {
  color: #fff;
}

.btn-gold-glow {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-gold-glow:hover {
  background: var(--primary-glow);
}



.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  
  
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  contain: layout paint;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-logo img {
  height: 32px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--secondary-text-color, #a0a0a0);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.drawer-close:hover {
  color: #ffffff;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}

.mobile-primary-btn {
  display: block;
  width: 100%;
  background: var(--primary-color, #7f56da);
  color: #ffffff;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 32px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.mobile-primary-btn:active {
  opacity: 0.75;
}

.mobile-nav-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
  color: var(--primary-color, #7f56da);
}

@media (max-width: 768px) and (hover: none) {
  header {
    background: #080810;
  }
  .upgrade-banner {
    background: #0c0c14;
  }
  .modal-overlay {
    background: rgba(0, 0, 0, 0.92);
  }
  .menu-overlay {
    background: rgba(0, 0, 0, 0.92);
  }
  .mobile-menu-drawer {
    background: #000000;
  }
}

.mobile-nav-list a i {
  font-size: 1.2rem;
  color: var(--secondary-text-color, #a0a0a0);
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-nav-list a:hover i {
  transform: translateX(4px);
  color: var(--primary-color, #7f56da);
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.fluid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.action-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}
.mobile-menu-drawer { position: fixed; top: 0; left: 0; bottom: 0; height: 100vh !important; min-height: -webkit-fill-available; z-index: 9999; overflow-y: auto; }
