.registration {
  display: flex;
  justify-content: center;
  align-items: start;
  height: auto;
  margin: 3% auto;
}

.container {
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  width: 100%;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  background: #f1f1f1;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.tab--active {
  background: #84004e;
  color: #fff;
}

.form {
  padding: 20px;
  display: none;
  width: 100%;
}

.form--active {
  display: block;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.form__textarea::placeholder {
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

label {
  font-size: 16px;
}

.form__avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.form__avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #ddd;
  object-fit: cover;
  margin-bottom: 10px;
}

.avatar-upload-btn {
  display: inline-block;
  padding: 6px 15px;
  background-color: #84004e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 10px;
  text-align: center;
  margin-top: 10px; /* Adds spacing between the image and button */
}

.avatar-upload-btn:hover {
  background-color: #ea008b;
}

.avatar-upload-input {
  display: none;
}

.avatar-upload-btn:active {
  background-color: #ea008b;
}

.form__input {
  width: calc(50% - 10px); /* Ensures equal width for input fields in the row */
  margin: 10px 5px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.form__input.full-width {
  width: 100%;
}

.form__input--industry {
  width: calc(100% - 10px); /* Adjust the width for the Industry input */
}

.form__checkbox {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 0.85rem; /* Slightly smaller for secondary text */
  justify-content: center; /* Centering checkbox and text */
}

.form__checkbox input {
  margin-right: 10px;
}

.form__button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  font-size: 16px;
  background: #84004e;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form__button:hover {
  background: #ea008b;
}

p {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

p a {
  color: #84004e;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}

/* Centering avatar upload and other form sections */
.form__avatar input[type="file"] {
  margin-top: 10px;
  cursor: pointer;
}

/* Centering Terms & Conditions text and checkbox */
.form__terms {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.form__terms input {
  margin-right: 10px;
}

.form__terms label {
  font-size: 0.85rem;
  color: #333;
  text-align: center;
}

.form__terms a {
  color: #84004e;
  text-decoration: none;
}

.form__terms a:hover {
  text-decoration: underline;
}
.form__textarea {
  width: calc(100% - 10px); 
  max-width: 100%; 
  height: 250px; 
  resize: none; 
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 5px;
  margin: 0 auto; 
  display: block; 
}
