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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1c1d22;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  background-color: #2a2b33;
  padding: 30px 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.tab-buttons {
  display: flex;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #c1121f;
}

.tab-buttons button {
  flex: 1;
  padding: 12px 0;
  background: #1c1d22;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.tab-buttons button.active,
.tab-buttons button:hover {
  background: #c1121f;
  color: #fff;
}

form {
  display: none;
  flex-direction: column;
}

form.active {
  display: flex;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  padding: 10px;
  border-radius: 5px;
  border: 1.5px solid #555;
  background-color: #1c1d22;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #c1121f;
}

button[type="submit"] {
  background-color: #c1121f;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #a10e17;
}

.signup-link {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
}

.signup-link a {
  color: #c1121f;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.signup-link a:hover {
  text-decoration: underline;
}

.message {
  color: #a1e44d;
  text-align: center;
  margin-top: 10px;
}
/* Basic reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1c1d22;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  background-color: #2a2b33;
  padding: 30px 40px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.tab-buttons {
  display: flex;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #c1121f;
}

.tab-buttons button {
  flex: 1;
  padding: 12px 0;
  background: #1c1d22;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.tab-buttons button.active,
.tab-buttons button:hover {
  background: #c1121f;
  color: #fff;
}

form {
  display: none;
  flex-direction: column;
}

form.active {
  display: flex;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  padding: 10px;
  border-radius: 5px;
  border: 1.5px solid #555;
  background-color: #1c1d22;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #c1121f;
}

button[type="submit"] {
  background-color: #c1121f;
  color: #fff;
  padding: 12px 0;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #a10e17;
}

.signup-link {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
}

.signup-link a {
  color: #c1121f;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.signup-link a:hover {
  text-decoration: underline;
}

.message {
  color: #a1e44d;
  text-align: center;
  margin-top: 10px;
}
