.delete-account-container {
  background-color: #f7f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  min-height: 80vh;
}

.delete-account-form {
  max-width: 600px;
  width: 100%;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  font-family: 'Roboto';
}

.delete-account-form h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.delete-account-form p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 25px;
}

.formfield {
  width: 95%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

form#account-deletion-form .formfield {
  order: initial !important;
  display: block;
}

form#account-deletion-form select.formfield {
  width: 100% !important;
  display: block;
}


.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input {
  flex: 1;
}

.btsubmmit {
  background-color: #c62828;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.btsubmmit:hover {
  background-color: #a41d1d;
}

.consent {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #444;
  font-family: 'Roboto';
}

.success-message {
  text-align: center;
  padding: 2rem;
  background: #f0f9f4;
  border: 1px solid #b6e2c9;
  border-radius: 1rem;
  margin-top: 2rem;
  font-family: 'Roboto';
}

.success-message h2 {
  color: #2e7d32;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
   #account-deletion-form .form-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-row {
    display: contents;
}

.delete-account-form h1 {
    font-size: 1.3rem;
}
}
