/* Modal backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-backdrop.active {
  display: flex;
}

/* Modal box */
.modal {
  background: white;
  padding: 20px;
  border-radius: 6px;
  width: 360px;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Tabs */
.tab-buttons {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
}
.tab-buttons button {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
}
.tab-buttons button.active {
  border-color: #007bff;
  color: #007bff;
}

/* Tab content */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Simple form styling */
form {
  display: flex;
  flex-direction: column;
}
label {
  margin-bottom: 6px;
  font-weight: 600;
}
input[type="email"],
input[type="password"] {
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button.submit-btn {
  background: black;
  color: white;
  padding: 10px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button.submit-btn:hover {
  background: rgb(52, 50, 50);
}

/* Close button */
.close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  position: absolute;
  top: 12px;
  right: 20px;
  cursor: pointer;
}
