* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: var(--porcelain);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.registration-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(var(--woodsmoke), 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--woodsmoke);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--elephant);
  font-size: 18px;
  font-weight: normal;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: var(--elephant);
  font-weight: 500;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--iron);
  border-radius: 4px;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: var(--eastern-blue);
  box-shadow: 0 0 0 2px rgba(18, 162, 174, 0.2);
}

.input-hint {
  font-size: 12px;
  color: var(--elephant);
  margin-top: 5px;
}

.register-button {
  width: 100%;
  background-color: var(--eastern-blue);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.register-button:hover {
  background-color: #0e8690; /* Darker version of eastern-blue */
}

.register-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.error-message {
  color: #f44336; /* Keeping red for error messages */
  margin: 15px 0;
  text-align: center;
  font-size: 14px;
}

.success-message {
  color: #4caf50; /* Keeping green for success messages */
  margin: 15px 0;
  text-align: center;
  font-size: 14px;
}

.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--elephant);
}

.login-link a {
  color: var(--eastern-blue);
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

.input-error {
  border-color: #f44336 !important; /* Keeping red for errors */
}

.field-error {
  color: #f44336; /* Keeping red for errors */
  font-size: 12px;
  margin-top: 5px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  display: inline;
}

.checkbox-group a {
  color: var(--eastern-blue);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.logo-container {
  text-align: center;
  margin: -50px 0 -40px 0;
}

.login-logo {
  height: 260px;
  width: auto;
}

/* Password input container with toggle functionality */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container input {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--elephant);
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: var(--eastern-blue);
}

.password-toggle:focus {
  outline: none;
  color: var(--eastern-blue);
}

.eye-icon,
.eye-off-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Social Login Styles */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--iron);
}

.divider span {
  padding: 0 10px;
  color: var(--elephant);
  font-size: 14px;
}

.social-login {
  margin-bottom: 20px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--iron);
  background-color: white;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.social-login-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.microsoft-btn {
  color: #000;
  border-color: #0078d4;
}

.microsoft-btn:hover {
  background-color: rgba(0, 120, 212, 0.04);
}

.google-btn {
  color: #000;
  border-color: #4285F4;
}

.google-btn:hover {
  background-color: rgba(66, 133, 244, 0.04);
}

.social-login-btn:focus {
  outline: none;
  border-color: var(--eastern-blue);
  box-shadow: 0 0 0 2px rgba(0, 164, 176, 0.3);
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}