body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000000;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

.container {
  min-height: 100vh;
  width: 100vw;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  background-color: rgba(20, 20, 20, 0.7);
  border-radius: 5px;
  padding: 32px;
  width: 100%;
  max-width: 330px;
  border: 1px solid white;
  transform: scale(0.90); 
  transform-origin: top center;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.logo-box {
  width: 100px;
  height: 100px;
  background-image: linear-gradient(to bottom, #F2F2F2, #8C8C8C);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.logo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.input-group {
  margin-bottom: 16px;
}

.input-field {
  width: 100%;
  background-color: #0b0b0b;
  color: #F2F2F2;
  border: 1px solid #4b5563;
  border-radius: 3px;
  padding: 12px 16px;
  font-size: .95rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.input-field:focus {
  border-color: #FF0025;
}

.forgot-password {
  text-align: right;
}

.forgot-link {
  font-size: .90rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.forgot-link:hover {
  color: #ff0025;
  text-decoration: underline;
}

.login-button {
  width: 100%;
  background-color: #FF0025;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  margin-bottom: 16px;
  margin-top: 15px;
}

.login-button:hover {
  background-color: #cc0000;
}

.login-button:active {
  transform: none;
  box-shadow: none;
}

.register-section {
  text-align: center;
  font-size: .90rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.register-text {
  color: #9ca3af;
  margin: 0;
}

.register-link {
  font-size: .90rem;
  font-weight: bold;
  color: #ff0025;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.register-link:hover {
  color: #cc0000;
}

.login-error-box {
  border: 1px solid red;
  color: white;
  background-color: transparent;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
  font-size: 14px;
}

.login-message-box {
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 14px;
  color: white;
  background-color: transparent;
}

.login-message-box.error {
  border: 2px solid red; /* red */
}

.login-message-box.success {
  border: 2px solid #2ecc71; /* green */
}