body {
  background: linear-gradient(135deg, #f8fafe 0%, #f1f5fd 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 2rem;
}

header.brand-header {
  position: fixed;
  top: 2rem;
  left: 2rem;
}

.brand-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.brand-icon {
  font-size: 1.5rem;
  color: #1a73e8;
}

.brand-text {
  font-weight: 600;
  font-size: 1.25rem;
  color: #1a73e8;
  letter-spacing: -0.01em;
}

.auth-container {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #1557b0);
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4a4a4a;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  color: #1a1a1a;
}

.form-control:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #999;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 2.5rem;
  color: #1a73e8;
  opacity: 0.7;
  pointer-events: none;
}

.btn-auth {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(45deg, #1a73e8, #1557b0);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-auth:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.25);
  background: linear-gradient(45deg, #1557b0, #1a73e8);
}

.alert {
  border: none;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-danger {
  background: #fef2f2;
  color: #dc3545;
}

.alert i {
  font-size: 1rem;
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.auth-link a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.25rem;
}

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

.password-requirements {
  margin-top: 0.5rem;
  padding: 1rem;
  background: #f8fafe;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #666;
}

.password-requirements ul {
  margin: 0;
  padding-left: 1.5rem;
}

.password-requirements li {
  margin: 0.25rem 0;
} 