*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  background-color: #111318;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #AAABB1;
}

.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.login-card {
  background-color: #191C20;
  border: 1px solid #2E3035;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  padding: 40px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo {
  height: 52px;
  width: auto;
}

.heading {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.subtitle {
  color: #AAABB1;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.alert {
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.alert-error {
  background-color: rgba(255, 83, 89, 0.1);
  border: 1px solid rgba(255, 83, 89, 0.3);
  color: #FF5359;
}

.alert-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.alert-success {
  background-color: rgba(5, 168, 49, 0.1);
  border: 1px solid rgba(5, 168, 49, 0.3);
  color: #05A831;
}

.alert-info {
  background-color: rgba(0, 110, 254, 0.1);
  border: 1px solid rgba(0, 110, 254, 0.3);
  color: #578CFF;
}

.field {
  margin-bottom: 16px;
}

.field input {
  width: 100%;
  background-color: #0C0E13;
  border: 1px solid #2E3035;
  border-radius: 4px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.field input::placeholder {
  color: #AAABB1;
}

.field input:focus {
  border-color: #ffffff;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 52px;
}

.eye-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #AAABB1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.15s;
}

.eye-toggle:hover {
  color: #ffffff;
}

.field label {
  display: block;
  font-size: 1rem;
  color: #AAABB1;
  margin-bottom: 6px;
}

.field .required {
  color: #AAABB1;
}

.forgot-wrap {
  margin: 12px 0 20px;
  text-align: left;
}

.forgot-link {
  color: #578CFF;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Button Base Styles */
.btn {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
  border: 1px solid;
}

.btn-primary {
  background-color: #006EFE;
  color: #ffffff;
  border-color: #006EFE;
}

.btn-primary:hover {
  background-color: #0060df;
  border-color: #0060df;
}

.btn-secondary {
  background-color: transparent;
  color: #AAABB1;
  border-color: #2E3035;
}

.btn-secondary:hover {
  background-color: #1A1C20;
  border-color: #3E4045;
}

.btn-continue {
  width: 100%;
  background-color: #006EFE;
  color: #ffffff;
  border: 1px solid #006EFE;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
  margin-bottom: 24px;
}

.btn-continue:hover {
  background-color: #0060df;
  border-color: #0060df;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #2E3035;
}

.divider-text {
  color: #AAABB1;
  font-size: 0.8125rem;
  font-weight: 500;
  flex-shrink: 0;
}

.social-providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #191C20;
  border: 1px solid #2E3035;
  border-radius: 4px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.btn-social:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-social-icon {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}
