html,
body {
  height: 100%;
  background-color: #000000;
}

body {
  background: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  padding: 10px;
  
}

#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  margin: 0 10px;
  max-width: 335px;
  margin: 0 auto;
  border: 3px solid #978752;
  border-radius: 16px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.9);
}

#logo {
  margin: 10px auto;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo .info-icon {
  width: 100px;
  position: absolute;
}

.header{
  padding: 50px 0 20px 0;
  color: #ac8a58;
  font-size: 18px;
  text-align: center;
}

h1 {
  font-size: 15px;
  font-weight: bold;
  color: #FFFFFF;
  padding-top: 20px;
  /* Temp */
  margin: 0 0 37px 0;
}

label {
  font-style: italic;
  font-size: 12px;
  color: #a5a8aa;
  text-align: left;
  max-width: 264px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

button.primary {
  font-size: 16px;
  background: linear-gradient(180deg, #8B6914 0%, #D4B078 25%, #B8956A 25%, #8B6914 100%);
  border: 1px solid #6B4E0A;
  border-radius: 8px;
  color: #000000;
  padding: 10px 20px 10px 24px;
  text-transform: uppercase;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  letter-spacing: 1.5px;
  margin-top: 50px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

button.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

button.primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 60%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

button.primary:hover {
  background: linear-gradient(180deg, #F5D5A0 0%, #E0C088 25%, #C8A57A 50%, #9B7514 100%);
}

button.primary:active {
  background: linear-gradient(180deg, #E0C088 0%, #C0A068 25%, #A8855A 50%, #7B5910 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

button.primary:disabled {
  opacity: 0.6;
}

.input-container {
  border-radius: 8px;
  background-color: #383635;
  padding: 10px;
}

.input-container {
  position: relative;
}

.input-container .obscurityToggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.input-container input {
  background-color: transparent;
  border: none;
  color: #FFFFFF;
  outline: none;
}

.result {
  display: none;
}

.result h1 {
  margin: 4px;
}

.result-image {
  margin: 39px auto 29px auto;
  width: 110px;
  height: 110px;
}

.result-image img {
  width: 100%;
}

#loader .result-image {
  animation-name: spin;
  animation-duration: 5000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.result p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #FFFFFF;
  padding-top: 8px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#passwordLabel,
#passwordConfirmLabel {
  display: block;
  text-align: center;
  color: #FFFFFF;
  font-size: 14px;
  margin-bottom: 8px;
  margin-top: 30px;
}

#password,
#passwordConfirm {
  text-align: center;
  color: #FFFFFF;
  font-size: 14px;
}

#errorMessage {
  display: none;
  background-color: #de0009;
  color: #FFFFFF;
  font-size: 10px;
  padding: 8px;
  border-radius: 4px;
  margin: 8px 0;
}

.obscurityToggle {
  color: #D9B356;
  cursor: pointer;
  text-align: center;
}