:root {
  --primary: #1f8ef1;
  --primary-dark: #1a7ed9;
  --secondary: #4facfe;
  --accent: #e040fb;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

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

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

.btn.primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn.primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn.primary:hover:before {
  left: 100%;
}

.btn.primary:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, #3a9dfc 100%);
}

.btn.secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--light-gray);
}

.btn.secondary:hover {
  background: var(--light-gray);
  border-color: #d1d1d1;
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  border: 1px solid var(--light-gray);
}

.btn.ghost:hover {
  background: var(--light-gray);
}

.btn.full-width {
  width: 100%;
  display: block;
}

/* Add styles for our new button classes to avoid inline styles */
.login-submit-btn,
.register-submit-btn,
.change-password-submit-btn,
.add-news-submit-btn,
.edit-news-submit-btn,
.edit-subscription-submit-btn {
  margin-top: 12px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-weight: 800;
  font-size: 1.8rem;
  text-decoration: none;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #00ffff, #0080ff, #8000ff, #ff00ff, #ff0080, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.7)) drop-shadow(0 0 10px rgba(0, 128, 255, 0.5)) drop-shadow(0 0 15px rgba(128, 0, 255, 0.3));
  animation: gradientShift 3s ease infinite, hueShift 6s linear infinite;
  background-size: 300% 100%;
  position: relative;
  z-index: 3;
}

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

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  width: 100%;
}

.nav .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  color: white;
  background-color: var(--dark); /* Цвет фона на случай, если видео не загрузится */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.fallback-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(31, 142, 241, 0.4) 0%, rgba(79, 172, 254, 0.2) 100%);
  background-size: cover;
  background-position: center;
  z-index: -1; /* Резервный фон должен быть позади видео */
  transition: opacity 0.3s ease-out;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 1; /* Видео должно быть поверх резервного фона */
  opacity: 1; /* Убедимся, что видео видимо */
  transition: opacity 0.3s ease-out;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2; /* Оверлей должен быть поверх видео */
}

.overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: white;
  text-align: center;
  margin: 0 auto;
  animation: fadeInUp 1.2s ease-out;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.color360-gradient {
  background: linear-gradient(90deg, #00ffff, #0080ff, #8000ff, #ff00ff, #ff0080, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.7)) drop-shadow(0 0 20px rgba(0, 128, 255, 0.5)) drop-shadow(0 0 30px rgba(128, 0, 255, 0.3));
  background-size: 300% 100%;
  position: relative;
  z-index: 3;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

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

/* Features Section */
.features-section {
  padding: 5rem 0;
  background-color: var(--light);
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  transform: translateY(0);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  transition: transform 0.3s ease;
}

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

.feature-card h3 {
  margin-bottom: 1rem;
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #555;
}

.about-video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  background-color: var(--light-gray); /* Фоновый цвет контейнера */
}

.fallback-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f0f0; /* Light gray fallback color */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.about-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* Добавляем z-index для видео, чтобы оно было выше фонового изображения */
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--light);
}

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

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
}

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

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

.pricing-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--light-gray);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1.5rem;
}

.pricing-header h3 {
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: normal;
}

.price-description {
  color: var(--gray);
  margin: 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--light-gray);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* News Section */
.news-section {
  padding: 5rem 0;
  background-color: var(--light);
}

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

.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-content h3 {
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  margin-top: 1rem;
}

/* News Management Section */
.news-management {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  overflow-x: auto;
  margin-top: 2rem;
}

.news-management h3 {
  margin-bottom: 1.5rem;
}

#news-table {
  width: 100%;
  border-collapse: collapse;
}

#news-table th,
#news-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

#news-table th {
  background-color: var(--light);
  font-weight: 600;
  color: var(--dark);
}

#news-table tbody tr:hover {
  background-color: rgba(31, 142, 241, 0.05);
}

.table-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .table-actions {
    flex-direction: column;
  }
  
  .table-actions .btn {
    width: 100%;
  }
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid var(--light-gray);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  color: var(--primary);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 142, 241, 0.1);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-description {
  color: #aaa;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: #aaa;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: white;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}

.modal-close:hover {
  color: #333;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}

input, textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  margin-top: 4px;
  transition: var(--transition);
  font-family: inherit;
}

input:focus, textarea:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(31, 142, 241, 0.1);
  outline: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav {
    gap: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .features-grid,
  .testimonials-grid,
  .pricing-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-column ul {
    padding: 0;
  }
}

/* User Menu */
.user-menu {
  position: relative;
  display: inline-block;
}

.user-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-menu-button:hover {
  background: var(--light-gray);
  transform: none;
  box-shadow: none;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
  display: none;
}

.user-dropdown.show {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.user-dropdown a:hover {
  background: var(--light-gray);
  color: var(--primary);
}

/* Dashboard Styles */
.dashboard-section {
  padding: 3rem 0;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.user-profile-card,
.sessions-section {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.user-profile-card h3,
.sessions-section h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.profile-info {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.info-item label {
  font-weight: 600;
  color: var(--dark);
}

.info-item span {
  color: #555;
}

.profile-actions {
  text-align: right;
}

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

.btn.danger:hover {
  background: #c82333;
}

.section-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.sessions-list {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

#sessions-table {
  width: 100%;
  border-collapse: collapse;
}

#sessions-table th,
#sessions-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

#sessions-table th {
  background-color: var(--light);
  font-weight: 600;
  color: var(--dark);
}

#sessions-table tbody tr:hover {
  background-color: rgba(31, 142, 241, 0.05);
}

.current-session {
  background: var(--success);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn.small {
  padding: 6px 12px;
  font-size: 0.9rem;
}

.session-info {
  background: var(--light);
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
  padding: 3rem 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h2 {
  margin: 0;
}

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

.stat-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.stat-card h3 {
  margin-bottom: 0.5rem;
  color: var(--gray);
  font-size: 1rem;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.users-table {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  overflow-x: auto;
}

.users-table h3 {
  margin-bottom: 1.5rem;
}

#users-table {
  width: 100%;
  border-collapse: collapse;
}

#users-table th,
#users-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

#users-table th {
  background-color: var(--light);
  font-weight: 600;
  color: var(--dark);
}

#users-table tbody tr:hover {
  background-color: rgba(31, 142, 241, 0.05);
}

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

.btn.warning:hover {
  background: #e0a800;
}

/* Editor Sessions Section */
.editor-sessions-section {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
}

.editor-sessions-section h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

#editor-sessions-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

#editor-sessions-table th,
#editor-sessions-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

#editor-sessions-table th {
  background-color: var(--light);
  font-weight: 600;
  color: var(--dark);
}

#editor-sessions-table tbody tr:hover {
  background-color: rgba(31, 142, 241, 0.05);
}

/* Subscription Management Section */
.subscription-management {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);