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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.login-container {
  width: 100%;
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 40px;
  max-width: 400px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #1e3c72;
  margin-bottom: 10px;
  font-size: 28px;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
  font-style: italic;
}

.auth-form {
  display: block;
}

.auth-form.hidden {
  display: none;
}

.auth-form h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1e3c72;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #2a5298;
  box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #2a5298;
  color: white;
  margin-bottom: 16px;
}

.btn-primary:hover {
  background-color: #1e3c72;
}

.btn-primary:active {
  transform: scale(0.98);
}

.form-toggle {
  text-align: center;
  font-size: 14px;
  color: #666;
}

.form-toggle a {
  color: #2a5298;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.form-toggle a:hover {
  text-decoration: underline;
}

.message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}

.message.hidden {
  display: none;
}

.message.error {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.message.success {
  background-color: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

/* Explorer page styles */
.explorer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header h1 {
  margin: 0;
  color: #1e3c72;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-email {
  color: #666;
  font-size: 14px;
}

.btn-logout {
  background-color: #c33;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-logout:hover {
  background-color: #933;
}

.welcome-section {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.welcome-section h2 {
  color: #1e3c72;
  margin-bottom: 10px;
}

.welcome-section p {
  color: #666;
  font-size: 16px;
}
