/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === BASE PAGE === */
html, body.light {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

html, body.dark {
  height: 100%;
  width: 100%;
  background-color: #121212;
  color: #eee;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === LOGIN CONTAINER === */
.login-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* === NIGHTFALL LOGO === */
.logo {
  max-width: 200px;
  margin-bottom: 20px;
  user-select: none;
  pointer-events: none;
}

/* === LOGIN BOX === */

body.dark .login-box {
  background-color: #1e1e1e;
  border: 2px solid #ffffff50;
  border-radius: 15px;
  padding: 40px 50px;
  width: 350px;
  box-shadow: 0 0 20px rgba(50, 50, 50);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

body.light .login-box {
  background-color: rgb(200, 200, 200);
  border: 2px solid #37373750;
  border-radius: 15px;
  padding: 40px 50px;
  width: 350px;
  box-shadow: 0 0 20px rgb(150, 150, 150);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.login-box h1 {
  font-size: 1.8em;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* === INPUT FIELDS === */
.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.9em;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  
  border-radius: 8px;
  background-color: transparent;
  font-size: 1em;
  outline: none;
  transition: all 0.2s ease;
}

body.dark .input-group input {
  caret-color: white;
  border: 1px solid #ffffff50;
  color: white;
}

body.light .input-group input {
  caret-color: black;
  border: 1px solid #00000050;
  color: black;
}

.input-group input:focus {
  border-color: #ffffff50;
  box-shadow: 0 0 6px rgba(50, 50, 50);
}

/* === LOGIN BUTTON === */
.login-btn {
  width: 100%;
  background-color: #c4a747;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1.1em;
  font-weight: bold;
  padding: 10px 0;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
  background-color: #f3ce58;
  transform: scale(1.03);
}
