/* Basic Reset & Body */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #121212;
  color: #fff;
  min-height: 100vh;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
nav .logo { display: flex; align-items: center; gap: 10px; color: #00bfae; font-weight: 700; font-size: 1.4em; flex-shrink: 0; margin-left: -6px; }
nav .logo img { height: 40px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; align-items: center; }
nav ul li a { text-decoration: none; color: #fff; font-weight: 600; transition: color 0.3s; }
nav ul li a:hover { color: #00bfae; }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.hamburger div { width: 25px; height: 3px; background: #fff; transition: all 0.3s ease; }
.hamburger.open div:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open div:nth-child(2) { opacity: 0; }
.hamburger.open div:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media(max-width:768px) {
  nav ul { position: fixed; top: 60px; left: -100%; flex-direction: column; width: 100%; background: #1e1e1e; gap: 15px; padding: 20px; transition: left 0.3s ease; z-index: 999; }
  nav ul.active { left: 0; }
  .hamburger { display: flex; margin-right: -3px; }
}

/* Auth container */
.auth-container {
  width:100%; max-width:400px;
  padding:20px;
}
.form-box {
  background: linear-gradient(145deg, #1c1c1c, #252525);
  padding:28px;
  border-radius:16px;
  border:1px solid #00bfae;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  transition: transform 0.3s ease;
}
.form-box:hover { transform: translateY(-3px); }

h2 {
  color:#00bfae;
  margin-bottom:16px;
  text-align:center;
  font-size:1.6em;
}

.auth-toggle {
  display:flex;
  gap:8px;
  justify-content:center;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.auth-toggle button {
  padding:10px 18px;
  border-radius:8px;
  border:none;
  background:#2a2a2a;
  color:#ddd;
  cursor:pointer;
  font-weight:600;
  transition:.25s;
  flex:1 1 40%;
  min-width:100px;
}
.auth-toggle button.active {
  background: #00bfae;
  color: #121212;
  box-shadow: 0 4px 12px rgba(0,191,174,0.5);
}

.input-group { margin-bottom:12px; }
.input-group input {
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #333;
  background:#121212;
  color:#fff;
  font-size:15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.input-group input:focus {
  border-color: #00bfae;
  box-shadow: 0 0 8px rgba(0,191,174,0.5);
  outline:none;
}

#submitBtn {
  width:100%;
  padding:12px;
  border-radius:8px;
  border:none;
  background: linear-gradient(90deg,#00bfae,#06d6a0);
  color:#121212;
  font-weight:700;
  cursor:pointer;
  margin-top:4px;
  transition: background 0.3s, transform 0.2s;
}
#submitBtn:hover {
  background: linear-gradient(90deg,#06d6a0,#00bfae);
  transform: translateY(-2px);
}

.message {
  margin-top:12px;
  text-align:center;
  font-weight:600;
  font-size:0.95em;
}

/* Smaller screen adjustments */
@media(max-width:480px) {
  .auth-container { padding:15px; }
  .form-box { padding:20px; border-radius:12px; }
  h2 { font-size:1.4em; }
  .input-group input { padding:10px; font-size:14px; }
  #submitBtn { padding:10px; font-size:14px; }
  nav ul li a { font-size:14px; }
  .auth-toggle button { padding:8px; font-size:14px; }
}
