/* Base Styles */
:root {
  --primary-color: #ffd700;
  --primary-dark: #e6c200;
  --primary-light: #fff0a0;
  --secondary-color: #333333;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #28a745;
  --danger-col
  or: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --transition-speed: 0.3s;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-dark: linear-gradient(135deg, #333333 0%, #222222 100%);
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color var(--transition-speed) ease;
}

    .code {
      font-size: 2em;
      border: 2px dashed #00ff88;
      padding: 20px;
      border-radius: 10px;
      background-color: #fff;
    }

    .info {
      margin-top: 20px;
      font-size: 1em;
      color: #cccccc;
    }
  
a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  outline: none;
  gap: 0.5rem;
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--secondary-color);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--background-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background-color: #444;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
}

.btn-text {
  background-color: transparent;
  color: var(--text-color);
  padding: 0.5rem;
}

.btn-text:hover {
  color: var(--primary-color);
  background-color: rgba(255, 215, 0, 0.1);
}

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

.btn-danger:hover {
  background-color: #c82333;
  transform: translateY(-3px);
}

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

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-3px);
}

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

.btn-auth {
  width: 100%;
  padding: 1.2rem;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-auth::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.6s ease;
}

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

.btn-auth:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-google {
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  width: 100%;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-google:hover {
  background-color: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-google i {
  font-size: 1.2rem;
  color: #4285f4;
}

/* Auth Pages */
.auth-body {
  background-color: #f5f7fa;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.auth-page {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.auth-left {
  flex: 1;
  background: var(--gradient-dark);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  z-index: 2;
}

.auth-logo a {
  color: white;
}

.auth-logo span {
  color: var(--primary-color);
}

.auth-illustration {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.illustration-content {
  position: relative;
  width: 100%;
  height: 300px;
}

.coin {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  animation: float 6s ease-in-out infinite;
}

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

.coin-2 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 25%;
  animation-delay: 1s;
}

.coin-3 {
  width: 40px;
  height: 40px;
  bottom: 30%;
  left: 30%;
  animation-delay: 2s;
}

.phone-mockup {
  position: absolute;
  width: 180px;
  height: 360px;
  background: #222;
  border-radius: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 8px solid #444;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
}

.app-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 15px;
  margin: 0 auto;
  animation: pulse 2s infinite;
}

.app-text {
  height: 20px;
  background: #eee;
  border-radius: 10px;
  width: 80%;
  margin: 0 auto;
}

.app-button {
  height: 40px;
  background: var(--primary-color);
  border-radius: 20px;
  width: 70%;
  margin: 20px auto 0;
}

.auth-text {
  text-align: center;
  margin-top: 2rem;
  z-index: 2;
}

.auth-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.auth-text p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 400px;
}

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

.auth-form-container {
  width: 100%;
  max-width: 450px;
  padding: 2.5rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.auth-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--secondary-color);
  font-weight: 700;
}

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

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

/* Modifier les styles des champs input pour les rendre plus modernes */
.input-icon {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-icon input,
.input-icon select {
  width: 100%;
  padding: 1.2rem 1rem 0.8rem 3.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.input-icon i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
  font-size: 1.2rem;
}

.input-icon label {
  position: absolute;
  left: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
  pointer-events: none;
  background-color: transparent;
  font-weight: 500;
}

.input-icon input:focus,
.input-icon select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
  background-color: white;
}

.input-icon input:focus + label,
.input-icon select:focus + label,
.input-icon input:not(:placeholder-shown) + label,
.input-icon input.has_value + label {
  top: 8px;
  left: 3.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

.input-icon input:focus ~ i,
.input-icon select:focus ~ i,
.input-icon.focused i {
  color: var(--primary-color);
}

/* Ajouter un style spécifique pour le champ de code de parrainage: */
.input-icon input#referral-code {
  border-style: dashed;
  background-color: rgba(255, 215, 0, 0.05);
}

.input-icon input#referral-code:focus {
  border-style: solid;
  background-color: white;
}

.input-icon input#referral-code + label {
  font-style: italic;
}

.input-icon input#referral-code:focus + label,
.input-icon input#referral-code:not(:placeholder-shown) + label,
.input-icon input#referral-code.has_value + label {
  font-style: normal;
  color: var(--primary-color);
}

/* Améliorer le style du bouton de bascule du mot de passe */
.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  z-index: 10;
  padding: 0.5rem;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

.password-toggle:hover {
  color: var(--primary-color);
  background-color: rgba(255, 215, 0, 0.1);
}

.password-toggle.clicked {
  animation: pulse 0.3s ease;
}

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

.strength-bar {
  height: 5px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
}

.strength-progress {
  height: 100%;
  width: 0;
  background-color: var(--danger-color);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  display: block;
  font-weight: 500;
}

/* Améliorer le style des options de formulaire */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
}

.forgot-password {
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

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

/* Améliorer le style des termes du formulaire */
.form-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.form-terms input[type="checkbox"] {
  margin-top: 0.3rem;
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
}

.form-terms a {
  color: var(--primary-color);
  font-weight: 600;
}

.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.8rem 0;
  color: var(--text-light);
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-separator span {
  padding: 0 1rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.auth-footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1rem;
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.animated-link.pulse {
  animation: pulse 0.5s ease;
}

/* Améliorer le style du bonus d'inscription */
.signup-bonus {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 215, 0, 0.1);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.bonus-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.bonus-text {
  font-size: 0.95rem;
  line-height: 1.4;
}

.bonus-text strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.logo span {
  color: var(--primary-color);
}

/* Menu mobile */
.main-nav {
  display: flex;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    z-index: 100;
  }

  .main-nav.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav ul li a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav ul li a.active,
.main-nav ul li a:hover {
  color: var(--primary-color);
}

.main-nav ul li a.active::after,
.main-nav ul li a:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.main-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
  transition: color var(--transition-speed) ease;
}

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

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--background-alt) 100%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

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

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

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.main-image {
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
}

.coin-1,
.coin-2,
.coin-3 {
  background: var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.coin-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 0;
  animation: float 6s ease-in-out infinite;
}

.coin-2 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  right: 10%;
  animation: float 6s ease-in-out 1s infinite;
}

.coin-3 {
  width: 40px;
  height: 40px;
  top: 40%;
  right: 0;
  animation: float 6s ease-in-out 2s infinite;
}

.notification-1,
.notification-2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.8rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
}

.notification-1 {
  top: 20%;
  right: 5%;
  animation: float 5s ease-in-out 1.5s infinite;
}

.notification-2 {
  bottom: 30%;
  left: 5%;
  animation: float 5s ease-in-out 2.5s infinite;
}

.notification-1 i,
.notification-2 i {
  color: var(--primary-color);
}

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

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

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

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

.feature-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-light);
}

.feature-number {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

/* Earnings Section */
.earnings-section {
  display: flex;
  align-items: center;
  padding: 5rem 5%;
  background-color: var(--background-color);
}

.earnings-content {
  flex: 1;
  max-width: 600px;
}

.earnings-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.earnings-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.earnings-list {
  margin-bottom: 2rem;
}

.earnings-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.earnings-list li i {
  color: var(--primary-color);
}

.earnings-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.earnings-image img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

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

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

.testimonial-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.testimonial-rating {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-color);
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--secondary-color);
}

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

/* FAQ Section */
.faq-section {
  padding: 5rem 5%;
  background-color: var(--background-color);
}

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background-color: var(--background-alt);
  transition: background-color var(--transition-speed) ease;
}

.faq-question:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.faq-question i {
  transition: transform var(--transition-speed) ease;
  color: var(--primary-color);
}

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

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

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

.faq-answer p {
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  padding: 5rem 5%;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}

/* Footer */
.landing-footer {
  background-color: var(--secondary-color);
  color: var(--background-color);
  padding: 5rem 5% 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo p {
  color: var(--background-alt);
}

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

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column a {
  color: var(--background-alt);
  transition: color var(--transition-speed) ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--background-alt);
}

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

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

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

/* Dashboard Styles */
.dashboard-body {
  background-color: #f5f7fa;
  min-height: 100vh;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  background: var(--gradient-dark);
  color: var(--background-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed) ease;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

/* Styles pour l'overlay de la barre latérale */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

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

.logo-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.logo-container h2 span {
  color: var(--primary-color);
}

.close-sidebar {
  cursor: pointer;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease;
}

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

.sidebar-nav {
  flex: 1;
  padding: 1.5rem 0;
  overflow-y: auto;
}

.sidebar-nav ul li {
  margin-bottom: 0.5rem;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-speed) ease;
  gap: 1rem;
  border-radius: 0 30px 30px 0;
  margin-right: 1rem;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li.active a {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-color);
}

.sidebar-nav ul li.active a {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease;
}

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

.dashboard-content {
  flex: 1;
  margin-left: 280px;
  transition: margin var(--transition-speed) ease;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--background-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-title h1 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-title h1 i {
  color: var(--primary-color);
}

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

.date-filter select,
.videos-filter select,
.surveys-filter select,
.history-filter select,
.transaction-filter select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  background-color: white;
  cursor: pointer;
}

.notification {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-light);
  transition: color var(--transition-speed) ease;
}

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

.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--danger-color);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-avatar.large {
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

.user-avatar.small {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

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

.user-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  color: var(--text-color);
  transition: background-color var(--transition-speed) ease;
}

.dropdown-menu a:hover {
  background-color: var(--background-alt);
  color: var(--primary-color);
}

/* Dashboard Main Content */
.dashboard-main {
  padding: 2rem;
}

/* Welcome Card */
.welcome-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.user-profile {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.user-info h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.user-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.account-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-badge.active {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.status-badge.inactive {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

/* Ajout des styles pour le statut de vérification en attente */
.status-badge.pending {
  background-color: #ff9800;
  color: #fff;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

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

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-dark);
}

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

.stat-details p {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Getting Started Section */
.getting-started {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
  color: var(--secondary-color);
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
  border-radius: 4px;
}

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

.step-item {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

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

/* Videos Page */
.videos-container {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

.videos-header h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  box-shadow: var(--shadow-sm);
}

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

.video-thumbnail {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.video-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-reward {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.videos-pagination,
.surveys-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.pagination-btn:hover {
  background-color: var(--background-alt);
}

.pagination-btn.active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.pagination-btn.next {
  width: auto;
  padding: 0 1rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

.modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-speed) ease;
}

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

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.video-player {
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.video-player video {
  width: 100%;
  display: block;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-reward-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

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

/* Survey Styles */
.survey-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  height: 8px;
  background-color: var(--background-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress {
  height: 100%;
  background-color: var(--primary-color);
  width: 10%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-light);
}

.survey-questions-container {
  margin-bottom: 2rem;
}

.survey-question {
  display: none;
}

.survey-question.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.survey-question h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.option:hover {
  background-color: var(--background-alt);
}

.option input[type="radio"] {
  accent-color: var(--primary-color);
}

.option label {
  cursor: pointer;
  flex: 1;
}

/* Wallet Styles */
.wallet-balance-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

.balance-header h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.balance-info {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.balance-actions {
  display: flex;
  justify-content: flex-end;
}

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

.wallet-section {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

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

.payment-methods,
.transactions-list {
  min-height: 200px;
}

/* Settings Styles */
.settings-container {
  display: flex;
  gap: 2rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.settings-sidebar {
  width: 250px;
  background-color: var(--background-alt);
  padding: 2rem 0;
}

.settings-nav {
  display: flex;
  flex-direction: column;
}

.settings-nav li {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.settings-nav li:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-color);
}

.settings-nav li.active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 500;
}

.settings-content {
  flex: 1;
  padding: 2rem;
}

.settings-tab {
  display: none;
}

.settings-tab.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.settings-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.settings-header p {
  color: var(--text-light);
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--secondary-color);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

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

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

.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.toggle-info {
  flex: 1;
}

.toggle-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.toggle-slider.checked {
  background-color: var(--primary-color);
}

.toggle-slider.checked:before {
  transform: translateX(26px);
}

.danger-zone {
  border: 1px solid var(--danger-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.danger-zone h3 {
  color: var(--danger-color);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.danger-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.danger-action:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.danger-info {
  flex: 1;
}

.danger-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.section-header-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.section-header-with-action h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  color: var(--secondary-color);
}

.privacy-action {
  margin-top: 1.5rem;
}

/* Surveys Page */
.surveys-container {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

.surveys-header h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.surveys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.survey-card {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  box-shadow: var(--shadow-sm);
}

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

.survey-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.survey-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.survey-reward {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.survey-content {
  padding: 1.5rem;
}

.survey-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

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

.survey-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.survey-time,
.survey-questions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  background-color: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification.success {
  border-left: 4px solid var(--success-color);
}

.notification.error {
  border-left: 4px solid var(--danger-color);
}

.notification i {
  font-size: 1.5rem;
}

.notification.success i {
  color: var(--success-color);
}

.notification.error i {
  color: var(--danger-color);
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  margin-left: 1rem;
}

.notification-close:hover {
  color: var(--text-color);
}

/* Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  font-size: 3rem;
  color: var(--border-color);
  margin-bottom: 1rem;
}

.empty-state h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Dashboard Footer */
.dashboard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--background-color);
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-footer p {
  font-size: 0.9rem;
  color: var(--text-light);
}

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

/* Ajout des styles pour le statut de vérification en attente */
.status-badge.pending {
  background-color: #ff9800;
  color: #fff;
}

.btn-pending {
  background-color: #ff9800;
  border-color: #ff9800;
  color: #fff;
  cursor: default;
  opacity: 0.8;
}

.btn-pending:hover {
  background-color: #ff9800;
  border-color: #ff9800;
  opacity: 0.9;
}

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

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  /* Styles pour la barre latérale mobile */
  .sidebar {
    transform: translateX(-100%) !important;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 280px;
    transition: transform 0.3s ease !important;
  }

  .sidebar.active {
    transform: translateX(0) !important;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
  }

  .dashboard-content {
    margin-left: 0 !important;
  }

  /* Styles pour le bouton de menu dans le tableau de bord */
  .dashboard-header .menu-toggle {
    display: block !important;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: color var(--transition-speed) ease;
    z-index: 100;
    -webkit-tap-highlight-color: transparent; /* Supprime le surlignage au toucher sur mobile */
  }

  .dashboard-header .menu-toggle:hover,
  .dashboard-header .menu-toggle:active {
    color: var(--primary-color);
  }
  .sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }

  .sidebar.active {
    transform: translateX(0);
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
  }

  .close-sidebar {
    display: block;
  }

  .dashboard-content {
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    z-index: 100;
  }

  .main-nav.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .auth-page {
    flex-direction: column;
  }

  .auth-left {
    display: none;
  }

  .auth-right {
    padding: 1rem;
  }

  .settings-container {
    flex-direction: column;
  }

  .settings-sidebar {
    width: 100%;
    padding: 1rem;
  }

  .settings-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .settings-nav li {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
  }

  .hero-section,
  .earnings-section {
    flex-direction: column;
    gap: 3rem;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .wallet-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-header {
    padding: 1rem;
  }

  .dashboard-main {
    padding: 1.5rem 1rem;
  }

  .user-profile {
    flex-direction: column;
    text-align: center;
  }

  .account-status {
    flex-direction: column;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .feature-card {
    text-align: center;
  }

  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-number {
    position: static;
    margin: 1rem auto 0;
  }
}

/* Stats Page Styles */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.summary-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.summary-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.summary-icon.revenue {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.summary-icon.expenses {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.summary-icon.videos {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-dark);
}

.summary-icon.surveys {
  background-color: rgba(23, 162, 184, 0.1);
  color: var(--info-color);
}

.summary-details {
  flex: 1;
}

.summary-details h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.summary-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.summary-trend {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.summary-trend.positive {
  color: var(--success-color);
}

.summary-trend.negative {
  color: var(--danger-color);
}

.summary-trend.neutral {
  color: var(--text-light);
}

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

.chart-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

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

.chart-header h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.chart-actions {
  display: flex;
  gap: 0.5rem;
}

.chart-container {
  height: 300px;
  position: relative;
}

.activity-history {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

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

.history-header h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.history-table-container {
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th {
  text-align: left;
  padding: 1rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  font-weight: 600;
}

.history-table td {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

.history-table tr:hover td {
  background-color: var(--background-alt);
}

.empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.empty-message i {
  font-size: 3rem;
  color: var(--border-color);
  margin-bottom: 1rem;
}

.empty-message p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.empty-message span {
  color: var(--text-light);
}

/* Referral Page Styles */
.referral-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.referral-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.referral-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.referral-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.referral-title h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.referral-title p {
  color: var(--text-light);
}

.referral-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.referral-link-section h3,
.referral-share-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.referral-link-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.referral-link-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.referral-link-container input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  cursor: text;
}

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

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-btn.facebook {
  background-color: #3b5998;
}

.social-btn.whatsapp {
  background-color: #25d366;
}

.social-btn.twitter {
  background-color: #1da1f2;
}

.social-btn.telegram {
  background-color: #0088cc;
}

.referral-stats-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.referral-stats-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

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

.stat-box {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

.referral-how-it-works {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.referral-how-it-works h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.how-it-works-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.step-content p {
  color: var(--text-light);
}

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

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

  .referral-link-container {
    flex-direction: column;
  }

  .social-buttons {
    justify-content: center;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Ajout des styles pour le modal d'activation */
.wave-payment-button {
  margin: 1.5rem 0;
  text-align: center;
}

.btn-wave {
  background-color: #1dcbef;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.btn-wave:hover {
  background-color: #19b6d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 203, 239, 0.3);
}

.wave-logo {
  height: 24px;
  width: auto;
}

.activation-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: #777;
}

.activation-separator::before,
.activation-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.activation-separator span {
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.manual-activation {
  margin-top: 1rem;
}

.verification-status {
  text-align: center;
  padding: 2rem 1rem;
}

.verification-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.verification-note {
  font-style: italic;
  color: #666;
  margin-top: 1rem;
}

/* Spinner d'animation */
.spinner {
  margin: 20px auto;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #5664d2;
  border-radius: 100%;
  display: inline-block;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  margin: 0 3px;
}

.spinner .bounce1 {
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1.0);
  }
}

/* Ajout des styles pour les nouvelles sections et fonctionnalités */

/* Styles pour les liens restreints */
.restricted-link {
  position: relative;
}

.restricted-link.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.restricted-link.disabled::after {
  content: "🔒";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* Styles pour la section des actualités */
.latest-news {
  margin-bottom: 2rem;
}

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

.news-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1.5rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--shadow-speed) ease;
}

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

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.5rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius-sm);
  text-align: center;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.news-date .month {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

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

/* Styles pour la page des actualités */
.news-page-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-article {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.news-article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.news-article-title h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.news-article-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.news-article-content {
  line-height: 1.6;
}

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

.news-article-content img {
  max-width: 100%;
  border-radius: var(--border-radius-md);
  margin: 1.5rem 0;
}

.news-article-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-article-tags {
  display: flex;
  gap: 0.5rem;
}

.news-tag {
  background-color: var(--background-alt);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.news-article-share {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-alt);
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
}

.share-btn:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Styles pour la page des sondages */
.survey-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.survey-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  z-index: 1;
}

.survey-status.new {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.survey-status.popular {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.survey-status.ending-soon {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.survey-difficulty {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
}

.difficulty-dot.active {
  background-color: var(--primary-color);
}

/* Styles pour la page de parrainage */
.referral-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.referral-stat-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--shadow-speed) ease;
}

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

.referral-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.referral-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

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

.referral-link-box {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.referral-link-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.referral-link-input {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.referral-link-input input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--background-alt);
}

.referral-qr-code {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.qr-code-container {
  width: 200px;
  height: 200px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qr-code-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.referral-share-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  color: white;
}

.share-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.share-option.whatsapp {
  background-color: #25d366;
}

.share-option.facebook {
  background-color: #3b5998;
}

.share-option.twitter {
  background-color: #1da1f2;
}

.share-option.telegram {
  background-color: #0088cc;
}

.share-option.email {
  background-color: #ea4335;
}

.referral-history {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.referral-history h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.referral-table {
  width: 100%;
  border-collapse: collapse;
}

.referral-table th {
  text-align: left;
  padding: 1rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  font-weight: 600;
}

.referral-table td {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

.referral-table tr:hover td {
  background-color: var(--background-alt);
}

.referral-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.referral-status.active {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.referral-status.pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.referral-status.inactive {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

/* Styles pour la page de portefeuille */
.wallet-overview {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.wallet-balance {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.balance-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.balance-circle .amount {
  font-size: 1.8rem;
  font-weight: 700;
}

.balance-circle .currency {
  font-size: 0.9rem;
}

.balance-details {
  flex: 1;
}

.balance-details h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.balance-details p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.wallet-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.income-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.income-icon.surveys {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-dark);
}

.income-icon.referrals {
  background-color: rgba(23, 162, 184, 0.1);
  color: var(--info-color);
}

.income-icon.bonuses {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.income-details {
  flex: 1;
}

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

.income-details .amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.transaction-history {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.transaction-history h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
}

.transaction-table th {
  text-align: left;
  padding: 1rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  font-weight: 600;
}

.transaction-table td {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

.transaction-table tr:hover td {
  background-color: var(--background-alt);
}

.transaction-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.transaction-icon.income {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.transaction-icon.withdrawal {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.transaction-amount {
  font-weight: 600;
}

.transaction-amount.income {
  color: var(--success-color);
}

.transaction-amount.withdrawal {
  color: var(--danger-color);
}

.transaction-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.transaction-status.completed {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.transaction-status.pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.transaction-status.failed {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

/* Styles pour le modal de retrait */
.withdrawal-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.withdrawal-option {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.withdrawal-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.withdrawal-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(255, 215, 0, 0.05);
}

.withdrawal-option-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

.withdrawal-option h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.withdrawal-option p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.withdrawal-form {
  margin-top: 2rem;
}

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

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

.withdrawal-form input,
.withdrawal-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.withdrawal-form input:focus,
.withdrawal-form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

.withdrawal-summary {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.withdrawal-summary h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.summary-row.total {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.withdrawal-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Styles pour la page des paramètres */
.settings-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.settings-tab-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  color: var(--text-color);
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.settings-tab-btn:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.settings-tab-btn.active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.settings-section {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.settings-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

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

.settings-form input,
.settings-form select,
.settings-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

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

.settings-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.notification-preference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.notification-preference:last-child {
  border-bottom: none;
}

.notification-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.security-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.security-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.security-action .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.danger-zone {
  background-color: rgba(220, 53, 69, 0.05);
  border: 1px solid var(--danger-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.danger-zone h3 {
  color: var(--danger-color);
  border-bottom: none;
  padding-bottom: 0;
}

.danger-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(220, 53, 69, 0.2);
}

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

.danger-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.danger-action .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Ajout des styles pour les nouvelles sections et fonctionnalités */

/* Styles pour les liens restreints */
.restricted-link {
  position: relative;
}

.restricted-link.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.restricted-link.disabled::after {
  content: "🔒";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* Styles pour la section des actualités */
.latest-news {
  margin-bottom: 2rem;
}

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

.news-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1.5rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--shadow-speed) ease;
}

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

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.5rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius-sm);
  text-align: center;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.news-date .month {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

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

/* Styles pour la page des actualités */
.news-page-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-article {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.news-article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.news-article-title h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.news-article-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.news-article-content {
  line-height: 1.6;
}

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

.news-article-content img {
  max-width: 100%;
  border-radius: var(--border-radius-md);
  margin: 1.5rem 0;
}

.news-article-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-article-tags {
  display: flex;
  gap: 0.5rem;
}

.news-tag {
  background-color: var(--background-alt);
  color: var(--text-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.news-article-share {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-alt);
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
}

.share-btn:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Styles pour la page des sondages */
.survey-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.survey-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  z-index: 1;
}

.survey-status.new {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.survey-status.popular {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.survey-status.ending-soon {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.survey-difficulty {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
}

.difficulty-dot.active {
  background-color: var(--primary-color);
}

/* Styles pour la page de parrainage */
.referral-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.referral-stat-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--shadow-speed) ease;
}

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

.referral-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.referral-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

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

.referral-link-box {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.referral-link-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.referral-link-input {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.referral-link-input input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--background-alt);
}

.referral-qr-code {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.qr-code-container {
  width: 200px;
  height: 200px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qr-code-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.referral-share-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  color: white;
}

.share-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.share-option.whatsapp {
  background-color: #25d366;
}

.share-option.facebook {
  background-color: #3b5998;
}

.share-option.twitter {
  background-color: #1da1f2;
}

.share-option.telegram {
  background-color: #0088cc;
}

.share-option.email {
  background-color: #ea4335;
}

.referral-history {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.referral-history h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.referral-table {
  width: 100%;
  border-collapse: collapse;
}

.referral-table th {
  text-align: left;
  padding: 1rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  font-weight: 600;
}

.referral-table td {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

.referral-table tr:hover td {
  background-color: var(--background-alt);
}

.referral-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.referral-status.active {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.referral-status.pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.referral-status.inactive {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

/* Styles pour la page de portefeuille */
.wallet-overview {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.wallet-balance {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.balance-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.balance-circle .amount {
  font-size: 1.8rem;
  font-weight: 700;
}

.balance-circle .currency {
  font-size: 0.9rem;
}

.balance-details {
  flex: 1;
}

.balance-details h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.balance-details p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.wallet-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.income-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.income-icon.surveys {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--primary-dark);
}

.income-icon.referrals {
  background-color: rgba(23, 162, 184, 0.1);
  color: var(--info-color);
}

.income-icon.bonuses {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.income-details {
  flex: 1;
}

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

.income-details .amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.transaction-history {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.transaction-history h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
}

.transaction-table th {
  text-align: left;
  padding: 1rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  font-weight: 600;
}

.transaction-table td {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

.transaction-table tr:hover td {
  background-color: var(--background-alt);
}

.transaction-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.transaction-icon.income {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.transaction-icon.withdrawal {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.transaction-amount {
  font-weight: 600;
}

.transaction-amount.income {
  color: var(--success-color);
}

.transaction-amount.withdrawal {
  color: var(--danger-color);
}

.transaction-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.transaction-status.completed {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.transaction-status.pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.transaction-status.failed {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

/* Styles pour le modal de retrait */
.withdrawal-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.withdrawal-option {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.withdrawal-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.withdrawal-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(255, 215, 0, 0.05);
}

.withdrawal-option-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

.withdrawal-option h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.withdrawal-option p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.withdrawal-form {
  margin-top: 2rem;
}

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

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

.withdrawal-form input,
.withdrawal-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.withdrawal-form input:focus,
.withdrawal-form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

.withdrawal-summary {
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.withdrawal-summary h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.summary-row.total {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.withdrawal-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Styles pour la page des paramètres */
.settings-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.settings-tab-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  color: var(--text-color);
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.settings-tab-btn:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.settings-tab-btn.active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.settings-section {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.settings-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

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

.settings-form input,
.settings-form select,
.settings-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

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

.settings-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.notification-preference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.notification-preference:last-child {
  border-bottom: none;
}

.notification-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.security-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.security-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.security-action .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.danger-zone {
  background-color: rgba(220, 53, 69, 0.05);
  border: 1px solid var(--danger-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
}

.danger-zone h3 {
  color: var(--danger-color);
  border-bottom: none;
  padding-bottom: 0;
}

.danger-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(220, 53, 69, 0.2);
}

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

.danger-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

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

.danger-action .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
