body {
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.main-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.header-nav {
  background-color: white;
  border-radius: 25px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-card {
  background-color: white;
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.brand-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5aa0 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 20px 20px 0 0;
  margin: -2rem -2rem 2rem -2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.scales-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.user-icon {
  background-color: white;
  color: #1e3a8a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid #d1d5db;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.btn-sign-in,
.btn-register {
  background: #1e3a5f;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  transition: all 0.3s ease;
}

.btn-sign-in {
  width: 200px;
}

.btn-register {
  width: 200px;
}

.btn-sign-in:hover,
.btn-register:hover {
  background: #1e3a5f;
  filter: brightness(1.5);
  transform: translateY(-1px);
}

.show-password,
.forgot-password {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
}

.show-password:hover,
.forgot-password:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  margin: 2rem 0;
}

.first-time-section h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #374151;
  text-align: center;
  margin-bottom: 1.5rem;
}

.first-time-text {
  color: #6b7280;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.home-icon {
  color: #6b7280;
  margin-right: 0.5rem;
}

.nav-text {
  color: #6b7280;
  font-weight: 500;
}

.alert {
  border-radius: 10px;
  margin-bottom: 1rem;
}

.register-form {
  display: none;
}

.register-form.show {
  display: block;
}

.login-form.hide {
  display: none;
}
