* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f4f8;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden;
}

.auth-header {
  padding: 25px 20px;
  text-align: center;
  color: #2b6cb0;
}

.auth-header h2 {
  font-size: 1.5rem;
  font-weight: 500;
}

.auth-body {
  padding: 25px;
}

.auth-body .form-group {
  margin-bottom: 20px;
}

.auth-body label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #4a5568;
}

.auth-body input[type="text"],
.auth-body input[type="email"],
.auth-body input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.auth-body input[type="text"]:focus,
.auth-body input[type="email"]:focus,
.auth-body input[type="password"]:focus {
  outline: none;
  border-color: #667eea;
}

.auth-body button {
  width: 100%;
  padding: 12px;
  background: #2b6cb0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-body button:hover {
  background: #2b6cb0;
}

.auth-body button:disabled {
  background: #a0aec0;
  cursor: not-allowed;
}

.auth-footer {
  padding: 15px 25px;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.auth-footer a {
  color: #667eea;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.messages {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.messages.error {
  background: #fed7d7;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.messages.success {
  background: #c6f6d5;
  border: 1px solid #9ae6b4;
  color: #2f855a;
}

@media (max-width: 480px) {
  .auth-container {
    border-radius: 8px;
  }
  .auth-header h2 {
    font-size: 1.3rem;
  }
}
