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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #1a1a2e;
  color: #eee;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: #16213e;
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  padding: 40px 36px;
  width: 360px;
}

.logo {
  text-align: center;
  font-size: 22px;
  margin-bottom: 24px;
  color: #e91e8c;
}

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2a4a;
}

.tab {
  flex: 1;
  padding: 10px;
  background: #1a1a2e;
  color: #888;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
}

.tab.active {
  background: #e91e8c;
  color: #fff;
}

#auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input[type="text"],
input[type="password"] {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #2a2a4a;
  background: #1a1a2e;
  color: #eee;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

input:focus {
  border-color: #e91e8c;
}

.btn-submit {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #e91e8c;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.btn-submit:hover {
  background: #c4177a;
}

.error {
  background: rgba(255,60,60,0.15);
  border: 1px solid #ff3c3c;
  color: #ff6b6b;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.hidden { display: none !important; }
