/* Data Deletion Page Styles */

.data-deletion-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

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

.data-deletion-header {
  text-align: center;
  margin-bottom: 60px;
}

.data-deletion-header i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.data-deletion-header h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.data-deletion-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Info Section */
.info-section h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 30px;
  text-align: center;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.info-card h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Form Section */
.form-section {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.form-description {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1rem;
}

.data-deletion-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: "Inter", sans-serif;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Checkbox Styles */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 0;
}

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

.checkmark {
  min-width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
  font-size: 12px;
}

.submit-btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
  align-self: center;
  min-width: 250px;
}

/* Success Modal */
.success-modal {
  text-align: center;
  max-width: 500px;
}

.success-icon {
  margin-bottom: 20px;
}

.success-icon i {
  font-size: 4rem;
  color: #10b981;
}

.success-modal h2 {
  color: var(--text-color);
  margin-bottom: 20px;
}

.success-modal p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

#request-id {
  font-weight: 600;
  color: var(--primary-color);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 40px;
  border-radius: 12px;
  max-width: 90%;
  position: relative;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

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

.close {
  color: var(--text-light);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  /* Navigation styles for mobile */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .data-deletion-section {
    padding: 100px 0 60px;
  }

  .data-deletion-header h1 {
    font-size: 2rem;
  }

  .data-deletion-header i {
    font-size: 3rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-section {
    padding: 30px 20px;
  }

  .modal-content {
    margin: 10% auto;
    padding: 30px 20px;
  }

  .submit-btn {
    min-width: 100%;
  }
}
@media (max-width: 480px) {
  .data-deletion-header h1 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .info-card {
    padding: 20px;
  }

  .form-section {
    padding: 20px 15px;
  }

  .checkbox-container {
    font-size: 0.9rem;
  }
}
