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

html {
  font-size: 16px;
}

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s, color 0.3s;
  color: #2c3e50;
  background-color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
}

body.auth-page {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
}

body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.auth-page.dark-mode {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #415a77 100%);
}

header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  color: #2c3e50;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

body.auth-page header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

body.dark-mode header {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #415a77 100%);
}

body.auth-page.dark-mode header {
  background: rgba(13, 27, 42, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 2rem;
  color: #3f51b5;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

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

.theme-toggle, .lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover, .lang-toggle:hover {
  background: rgba(255,255,255,0.3);
}

.user-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.user-info span {
  font-size: 0.95rem;
  color: #ffffff;
}

.logout-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

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

nav {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
  padding: 1.2rem 2rem;
  display: flex;
  gap: 2rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  position: sticky;
  top: 70px;
  z-index: 99;
}

body.dark-mode nav {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  box-shadow: 0 3px 15px rgba(0,0,0,0.3);
}

nav a {
  text-decoration: none;
  color: #667eea;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #764ba2;
}

body.dark-mode nav a {
  color: #90caf9;
}

body.dark-mode nav a:hover {
  color: #64b5f6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.auth-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.illustration-content {
  text-align: center;
  max-width: 400px;
}

.main-icon {
  font-size: 4rem;
  color: #3f51b5;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: float 3s ease-in-out infinite;
}

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

.illustration-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .illustration-content h3 {
  color: #e0e0e0;
}

.illustration-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

body.dark-mode .illustration-content p {
  color: #ccc;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

body.dark-mode .feature-item {
  background: rgba(42, 42, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-item i {
  font-size: 1.5rem;
  color: #3f51b5;
  width: 30px;
  text-align: center;
}

.feature-item span {
  font-weight: 500;
  color: #555;
}

body.dark-mode .feature-item span {
  color: #ccc;
}

.auth-container {
  max-width: 450px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: slideUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
}

@media (max-width: 768px) {
  .auth-container {
    margin: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }

  .auth-container h2 {
    font-size: 1.5rem;
  }

  .form-group input, .form-group select {
    padding: 0.875rem 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .auth-container {
    margin: 0.5rem;
    padding: 1.5rem 1rem;
  }

  .auth-container h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
}

body.dark-mode .auth-container {
  background: rgba(42, 42, 42, 0.95);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.auth-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
  position: relative;
}

.auth-icon i {
  font-size: 2rem;
  color: white;
}

.auth-header h2 {
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .auth-header h2 {
  color: #e0e0e0;
}

.auth-subtitle {
  color: #666;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

body.dark-mode .auth-subtitle {
  color: #ccc;
}

.success-details {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item i {
  font-size: 1.5rem;
  color: #3f51b5;
  width: 40px;
  text-align: center;
}

.detail-item div {
  flex: 1;
}

.detail-item strong {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

body.dark-mode .detail-item strong {
  color: #ccc;
}

.detail-item span {
  font-weight: 600;
  color: #333;
}

body.dark-mode .detail-item span {
  color: #e0e0e0;
}

.success-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}

.success-actions .btn {
  flex: 1;
  max-width: 200px;
}

.success-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(63, 81, 181, 0.1), rgba(76, 175, 80, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(63, 81, 181, 0.2);
  text-align: center;
}

.success-note i {
  color: #3f51b5;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.success-note p {
  color: #555;
  margin: 0;
  line-height: 1.5;
}

body.dark-mode .success-note p {
  color: #ccc;
}

@media (max-width: 768px) {
  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    max-width: none;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .detail-item i {
    width: auto;
  }
}



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

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
  transition: color 0.3s;
}

.form-group label i {
  color: #3f51b5;
  font-size: 1rem;
}

body.dark-mode .form-group label {
  color: #ccc;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  backdrop-filter: blur(5px);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: #3f51b5;
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select {
  background: rgba(58, 58, 58, 0.9);
  color: #e0e0e0;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus {
  background: rgba(58, 58, 58, 1);
  border-color: #3f51b5;
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
}

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

.input-icon {
  position: absolute;
  right: 1rem;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: color 0.3s;
  z-index: 2;
}

.password-toggle:hover {
  color: #3f51b5;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  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;
}

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

.btn.primary {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(30, 60, 114, 0.4);
}

.btn.secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

body.dark-mode .btn.secondary {
  background: #3a3a3a;
  color: #e0e0e0;
  border-color: #444;
}

.btn.secondary:hover {
  background: #e0e0e0;
}

body.dark-mode .btn.secondary:hover {
  background: #444;
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

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

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #667eea;
  border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.forgot-password {
  color: #3f51b5;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #764ba2;
  text-decoration: underline;
}

.terms-link {
  color: #3f51b5;
  text-decoration: none;
  font-weight: 500;
}

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

.divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  text-align: center;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.divider span {
  padding: 0 1rem;
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
}

.social-login {
  margin-bottom: 2rem;
}

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #fff;
  color: #333;
  border: 2px solid #e1e5e9;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-btn:hover {
  background: #f8f9fa;
  border-color: #3f51b5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(63, 81, 181, 0.2);
}

.social-btn.google-btn {
  background: #fff;
  color: #333;
}

.social-btn.google-btn i {
  color: #ea4335;
}

.social-btn.google-btn:hover {
  background: #f8f9fa;
  border-color: #3f51b5;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #3f51b5;
  color: #3f51b5;
}

.btn.ghost:hover {
  background: #3f51b5;
  color: white;
}

.btn.danger {
  background: #f44336;
  color: white;
}

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

.message {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: currentColor;
}

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

.message.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
  display: block;
}

.message.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
  display: block;
}

body.dark-mode .message.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
  color: #a8d5a8;
  border-color: rgba(168, 213, 168, 0.3);
}

body.dark-mode .message.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
  color: #ff9999;
  border-color: rgba(255, 153, 153, 0.3);
}

.link {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.link p {
  color: #666;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

body.dark-mode .link p {
  color: #ccc;
}

.link a {
  color: #3f51b5;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.link a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  transition: width 0.3s ease;
}

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

.link a:hover {
  color: #2a5298;
  transform: translateY(-1px);
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

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

.card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.6s ease;
}

.card:hover::before {
  top: -30%;
  right: -30%;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.card-balance .card-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.card-plan .card-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.card-earnings .card-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

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

body.dark-mode .card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

body.dark-mode .card:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.card h3 {
  color: #2c3e50;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

body.dark-mode .card h3 {
  color: #e0e0e0;
}

.card .value {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  animation: slideInValue 0.6s ease-out;
  position: relative;
  z-index: 1;
}

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

body.dark-mode .card .value {
  background: linear-gradient(135deg, #90caf9 0%, #64b5f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card .label {
  color: #888;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

body.dark-mode .card .label {
  color: #aaa;
}

.dashboard-header {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.dashboard-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e3c72;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .dashboard-header h2 {
  color: #90caf9;
}

.dashboard-header p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
}

body.dark-mode .dashboard-header p {
  color: #aaa;
}

.card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.card-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-action {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.card-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.card-total .card-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.earnings-progress {
  width: 100%;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

body.dark-mode .progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 65%;
  border-radius: 10px;
  animation: slideProgress 1s ease-out;
}

@keyframes slideProgress {
  from {
    width: 0;
  }
}

.quick-actions {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

body.dark-mode .quick-actions {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-actions h3 {
  color: #1e3c72;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

body.dark-mode .quick-actions h3 {
  color: #90caf9;
}

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

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #1e3c72;
  text-align: center;
  font-size: 0.9rem;
}

body.dark-mode .action-btn {
  background: rgba(58, 58, 58, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  color: #90caf9;
}

.action-btn i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.action-btn:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0.1%, #764ba2 100.1%);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.25);
}

body.dark-mode .action-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.features-section {
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.features-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1e3c72;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .features-section h2 {
  color: #90caf9;
}

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

.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

body.dark-mode .feature-box {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.feature-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 0.5rem;
}

body.dark-mode .feature-box h4 {
  color: #90caf9;
}

.feature-box p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.dark-mode .feature-box p {
  color: #aaa;
}

.testimonial-section {
  margin-top: 3rem;
  padding: 3rem 0;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.testimonial-section h2 {
  text-align: center;
  color: #1e3c72;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3f51b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .testimonial-section h2 {
  color: #90caf9;
}

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

.plan-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.dark-mode .plan-card {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

body.dark-mode .plan-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.plan-card.vip {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.plan-card.vip::before {
  background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
}

.plan-card.vip:hover {
  transform: translateY(-12px) scale(1.02);
}

.plan-card h3 {
  color: #667eea;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-card.vip h3 {
  background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #333;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .plan-card .price {
  color: #90caf9;
}

.plan-card .features {
  text-align: left;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.plan-card .features li {
  list-style: none;
  padding: 0.75rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

body.dark-mode .plan-card .features li {
  color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-card .features li:before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.plan-card .btn {
  margin-top: 1.5rem;
}

.plan-card.locked {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
  background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
}

body.dark-mode .plan-card.locked {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.plan-card.locked .lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  z-index: 10;
}

.plan-card.locked .lock-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.plan-card.locked .lock-text {
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

.plan-card.locked .btn {
  position: relative;
  z-index: 20;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body.dark-mode table {
  background: #2a2a2a;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

table thead {
  background: #667eea;
  color: white;
}

table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

html[dir="rtl"] table th {
  text-align: right;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  color: #333;
}

body.dark-mode table td {
  border-bottom-color: #444;
  color: #e0e0e0;
}

table tr:hover {
  background: #f5f5f5;
}

body.dark-mode table tr:hover {
  background: #3a3a3a;
}

.profile-section {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body.dark-mode .profile-section {
  background: #2a2a2a;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.profile-id {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 2rem;
}

.profile-id .label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.profile-id .id {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: monospace;
  margin-bottom: 1rem;
}

.copy-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.3);
}

.payment-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body.dark-mode .payment-form {
  background: #2a2a2a;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-input-wrapper input[type=file] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input-label {
  display: block;
  padding: 1rem;
  background: #f0f0f0;
  border: 2px dashed #667eea;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

body.dark-mode .file-input-label {
  background: #3a3a3a;
  border-color: #667eea;
}

.file-input-label:hover {
  background: #667eea;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

body.dark-mode .modal-content {
  background: #2a2a2a;
}

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

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

body.dark-mode .close-btn {
  color: #e0e0e0;
}

.admin-section {
  margin: 2rem 0;
}

.admin-section h2 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

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

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #ddd;
  background: white;
  color: #333;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

body.dark-mode .tab-btn {
  background: #2a2a2a;
  color: #e0e0e0;
  border-color: #444;
}

.tab-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.tab-content {
  display: none;
}

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

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

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

body.dark-mode .stat-card {
  background: #2a2a2a;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.stat-card .number {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 0.9rem;
  color: #666;
}

body.dark-mode .stat-card .label {
  color: #aaa;
}

footer {
  background: #f0f0f0;
  color: #666;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

body.dark-mode footer {
  background: #1a1a1a;
  color: #aaa;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }

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

  .container {
    padding: 1rem;
  }

  .plans-grid, .dashboard {
    grid-template-columns: 1fr;
  }

  .plan-card.vip {
    transform: scale(1);
  }

  .plan-card.vip:hover {
    transform: translateY(-10px);
  }

  table {
    font-size: 0.9rem;
  }

  table th, table td {
    padding: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .theme-toggle, .lang-toggle, .logout-btn {
    width: 100%;
  }

  .dashboard-header h2 {
    font-size: 1.8rem;
  }

  .dashboard-header p {
    font-size: 0.95rem;
  }

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

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

  .quick-actions {
    padding: 1.5rem 1rem;
  }

  .quick-actions h3 {
    font-size: 1.2rem;
  }

  .card-action {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .card .value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .dashboard-header h2 {
    font-size: 1.5rem;
  }

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

  .action-btn {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }

  .action-btn i {
    font-size: 1.4rem;
  }

  .action-btn span {
    font-size: 0.85rem;
  }

  .card {
    padding: 1.5rem 1rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .card .value {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 0.9rem;
  }

  .feature-box {
    padding: 1.5rem 1rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .features-grid {
    gap: 1rem;
  }
}

.hide {
  display: none !important;
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Testimonial Section Styles */
.testimonial-section {
  background: #f8f9fa;
  padding: 4rem 0;
}

.testimonial-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.testimonial-slider-wrapper {
  position: relative;
}

.testimonial-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-header img {
  object-fit: cover;
}

.testimonial-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-footer {
  margin-top: 1rem;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.rating i {
  font-size: 1.2rem;
}

/* Swiper custom styles */
.swiper-pagination {
  bottom: -40px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #667eea;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #667eea;
}

/* Dark mode support for testimonials */
.dark-mode .testimonial-section {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.dark-mode .testimonial-section h2 {
  color: #e0e0e0;
}

/* Auth Pages Responsive */
@media (max-width: 1024px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .auth-illustration {
    order: 2;
    padding: 1rem;
  }

  .illustration-content {
    max-width: 500px;
    margin: 0 auto;
  }

  .main-icon {
    font-size: 3rem;
  }

  .illustration-content h3 {
    font-size: 1.8rem;
  }

  .features-list {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .feature-item i {
    width: auto;
  }
}

@media (max-width: 768px) {
  .auth-wrapper {
    gap: 2rem;
  }

  .auth-container {
    margin: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

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

  .auth-icon {
    width: 70px;
    height: 70px;
  }

  .auth-icon i {
    font-size: 1.75rem;
  }

  .auth-header h2 {
    font-size: 2rem;
  }

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

  .features-list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-item {
    padding: 0.75rem;
  }

  .main-icon {
    font-size: 2.5rem;
  }

  .illustration-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .auth-container {
    margin: 0.5rem;
    padding: 1.5rem 1rem;
  }

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

  .auth-icon {
    width: 60px;
    height: 60px;
  }

  .auth-icon i {
    font-size: 1.5rem;
  }

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

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

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

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .social-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .illustration-content {
    padding: 1rem 0;
  }

  .main-icon {
    font-size: 2rem;
  }

  .illustration-content h3 {
    font-size: 1.3rem;
  }

  .illustration-content p {
    font-size: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 2rem 0;
  }

  .testimonial-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .swiper-slide {
    margin: 0.5rem !important;
    padding: 1.5rem !important;
  }
}

.notifications-container {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 350px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .notifications-container {
    right: 10px;
    width: 300px;
    top: 90px;
  }
}

.notification-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.2rem 1.5rem;
  margin: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  animation: slideInRight 0.4s ease-out, slideOutRight 0.4s ease-in 4.6s;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid #ffc107;
}

.notification-item i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-content p {
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

body.dark-mode .notification-item {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  box-shadow: 0 4px 20px rgba(30, 60, 114, 0.4);
}

.testimonial-section h2 {
  animation: fadeInDown 0.8s ease-out;
}

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

.testimonial-slider-wrapper {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.swiper-slide {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-radius: 24px !important;
  padding: 2.5rem !important;
  margin: 1rem !important;
  color: white;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.swiper-slide:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4) !important;
}

.testimonial-slide {
  position: relative;
  z-index: 2;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonial-header img {
  animation: slideInLeft 0.6s ease-out;
  transition: all 0.4s ease;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid white;
  margin-bottom: 0.75rem;
}

.swiper-slide:hover .testimonial-header img {
  transform: scale(1.1) rotate(5deg);
}

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

.testimonial-header h3 {
  animation: fadeInUp 0.6s ease-out 0.1s both;
  font-size: 1.3rem;
  margin: 0.75rem 0 0.25rem;
  font-weight: 700;
}

.testimonial-header p {
  animation: fadeInUp 0.6s ease-out 0.2s both;
  font-size: 0.95rem;
}

.testimonial-body {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonial-body p {
  animation: fadeInUp 0.6s ease-out 0.3s both;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
  margin: 0;
}

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

.rating {
  animation: fadeInUp 0.6s ease-out 0.4s both;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.rating i {
  font-size: 1.2rem;
  color: #ffd700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.swiper-slide:hover .rating i {
  transform: scale(1.15);
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.5));
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: white !important;
  transform: scale(1.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header {
  animation: slideInDown 0.6s ease-out !important;
}

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

nav {
  animation: slideInDown 0.7s ease-out !important;
}

footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  animation: slideInUp 0.8s ease-out;
}

body.dark-mode footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

footer p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}
