.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  width: 400px;
}

.link-signUp {
  position: relative;
  padding: 0 0 6px 0;
  bottom: 3px;
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #403F3D;
  font-weight: 600;
  font-size: 60px;
}

label {
  display: block;
  margin-top: 1rem;
}

input {
  outline: none;
  width: 100%;
  padding: 0.5rem;
  background: none;
  margin-top: 0.25rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem;
  background: none;
  color: black;
  border: 1px solid black;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: none;
}

button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  border: 1px solid #aaa;
  opacity: 0.7;
}

.btn-log {
  display: flex;
  justify-content: center;
  width: 65%;
  align-items: center;
  margin: 40px auto;
}

p {
  text-align: center;
  margin-top: 1rem;
}

.one input.error {
  border-color: #e74c3c;
  background-color: #ffecec;
}

.one {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 15px;
}

.error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.btn-reg:disabled {
  background-color: #ccc;
  color: #777;
  cursor: not-allowed;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* Toast container */
#toast-container {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Toast message */
.toast {
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background-color: #4caf50;
}

.toast-error {
  background-color: #e74c3c;
}

.toast-info {
  background-color: #3498db;
}
