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

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background: white;
  padding: 40px;
  border-radius: 16px;
  width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo h1 {
  color: #0f3460;
  font-size: 24px;
  font-weight: 700;
}

.logo p {
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

.tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 2px solid #eee;
}

.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: #999;
  transition: all 0.3s;
}

.tab.active {
  color: #0f3460;
  border-bottom: 2px solid #0f3460;
  margin-bottom: -2px;
}

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

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

input, select {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
  outline: none;
}

input:focus, select:focus {
  border-color: #0f3460;
}

button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0f3460, #533483);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
  margin-top: 8px;
}

button:hover { opacity: 0.9; }

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

.message.success { background: #d4edda; color: #155724; display: block; }
.message.error { background: #f8d7da; color: #721c24; display: block; }

.hidden { display: none; }