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

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

.app {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 40px;
}

/* Login Container */
.login-container {
  max-width: 400px;
  width: 100%;
  padding: 40px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.login-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.login-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 32px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #a3e635;
}

/* Login Button - matches primary-btn from forside.css */
.login-button {
  width: 100%;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #a3e635;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
  color: #111827;
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.09);
}

.login-button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Messages */
.error-message {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.success-message {
  background: #d1fae5;
  color: #059669;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

/* Test Credentials */
.test-credentials {
  margin-top: 24px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

.test-credentials strong {
  color: #111827;
  font-weight: 600;
}
