* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #f8f9fc, #f0f2ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.auth-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  text-align: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 8px;
}

p {
  margin-bottom: 20px;
  color: #666;
}

.toggle-buttons {
  display: flex;
  justify-content: space-between;
  background: #f0f0f0;
  border-radius: 9999px;
  margin-bottom: 20px;
  overflow: hidden;
}

.toggle-buttons button {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: bold;
}

.toggle-buttons button.active {
  background: white;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 2px #333;
}

label {
  display: block;
  text-align: left;
  margin: 10px 0 4px;
  font-size: 14px;
}

.input-wrapper {
  position: relative;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

#forgot {
  text-align: right;
  font-size: 13px;
  color: #555;
  margin-top: 5px;
  margin-bottom: 15px;
  cursor: pointer;
}

button#submitBtn {
  width: 100%;
  padding: 12px;
  background: #111;
  color: white;
  border: none;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: bold;
}

.separator {
  margin: 10px 0;
  font-size: 14px;
  color: #888;
}

.socials button {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: white;
  font-weight: bold;
  cursor: pointer;
}

.google {
  color: #444;
}

.apple {
  background: #111;
  color: white;
}

@media (max-width: 480px) {
  .auth-box {
    padding: 20px;
  }
}
