* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

.container.login-register-wrapper {
  background: #f7f9fc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.form-container {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}

h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

#form-title {
  color: black;
}

.toggle-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: #f0f2f5;
  border-radius: 8px;
  overflow: hidden;
}

.toggle-buttons button {
  flex: 1;
  padding: 0.5rem 0;
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-buttons button.active {
  background: #fff;
  box-shadow: inset 0 0 0 1px #d0d0d0;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.password-group {
  display: flex;
  align-items: center;
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  background-color: #347deb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #7faaf8;
}

.terms {
  margin-bottom: 1.5rem;
  color: #666;
    
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

.terms a {
  color: #3366cc;
  text-decoration: none;
}

.form-message {
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 15px;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.form-message.success {
  background-color: #e6ffed;
  color: #276749;
  border: 1px solid #a6f4c5;
}

.form-message.error {
  background-color: #ffe6e6;
  color: #a94442;
  border: 1px solid #f5c6cb;
}

.form-message.hidden {
  display: none;
}

@media (max-width: 768px) {
.container.login-register-wrapper {
  padding: 10px;
}
}

