body {
  background-color: #111;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  padding-top: 50px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield; 
  background-color: #2b2f3a;
  color: white;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 12px;
  width: 100px; 
  text-align: center;
  font-size: 16px;
  box-sizing: border-box; 
}

input[type=number]:hover,
input[type=number]:focus {
  border-color: #9333ea; 
  outline: none;
  box-shadow: 0 0 5px rgba(147, 51, 234, 0.6);
}

/*หน้า login*/
.login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  position: relative;
  z-index: 1;
}

.login-logo {
  font-size: 28px;
  font-weight: bold;
  color: #c084fc;
  text-shadow: 0 0 15px rgba(192, 132, 252, 0.9);
  margin-bottom: 25px;
  animation: fadeInDown 1s ease;
}

.login-box {
  background: rgba(45, 15, 70, 0.9);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
  width: 360px;
  z-index: 2;
}

.login-box h2 {
  color: #c084fc;
  margin-bottom: 20px;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #4b0082;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 16px;
  z-index: 3;
  position: relative;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #9333ea, #a855f7);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.login-box button:hover {
  background: linear-gradient(90deg, #a855f7, #9333ea);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}