/* Styles spécifiques à la page de suppression de compte */

.page-header {
  background: var(--gradient);
  color: var(--white);
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('/assets/images/pattern.svg') repeat;
  opacity: 0.1;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--white), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  font-weight: 400;
}

.content-section {
  padding: 3rem 0;
  background: var(--white);
  margin: 3rem 0;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(103, 58, 183, 0.1);
  transition: all 0.3s ease;
}

.content-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.content-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.content-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
}

.content-text strong {
  color: var(--primary);
  font-weight: 600;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 2rem 0;
}

.steps-list li {
  counter-increment: step-counter;
  margin-bottom: 2rem;
  padding-left: 4rem;
  position: relative;
  background: #f8fafc;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.steps-list li:hover {
  background: #f0f4ff;
  transform: translateX(5px);
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  background: var(--gradient);
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.data-table th {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.data-table tr:nth-child(even) {
  background: #f8fafc;
}

.data-table tr:hover {
  background: #f0f4ff;
  transition: background-color 0.3s ease;
}

.action-buttons {
  display: flex;
  gap: 1.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.action-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.action-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(103, 58, 183, 0.3);
}

.warning-box {
  background: linear-gradient(135deg, #fff8e1, #fff3c4);
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.warning-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #ff9800;
}

.warning-box h4 {
  color: #e65100;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.warning-box p {
  color: #bf360c;
  font-weight: 500;
  margin: 0;
}

.contact-info {
  background: linear-gradient(135deg, #f8fafc, #e8f4f8);
  border: 2px solid var(--primary-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
}

.contact-info h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-info strong {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .content-section {
    margin: 1.5rem 0;
    padding: 2rem 0;
  }
  
  .content-title {
    font-size: 1.6rem;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .action-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .steps-list li {
    padding-left: 3rem;
  }
  
  .steps-list li::before {
    left: 0.5rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }
  
  .data-table {
    font-size: 0.9rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 4rem 0 2rem;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  
  .warning-box,
  .contact-info {
    padding: 1.5rem;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: fadeInUp 0.6s ease-out;
}

.content-section:nth-child(even) {
  animation-delay: 0.1s;
}

.content-section:nth-child(odd) {
  animation-delay: 0.2s;
}

/* Style pour les liens dans le contenu */
.content-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.content-text a:hover {
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}