@import url('https://fonts.googleapis.com/css2?family=Jersey+10&family=WDXL+Lubrifont+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pattaya&family=Permanent+Marker&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css?family=Rubik+One');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #141415;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-container {
  background-color: #b3b6bd14;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 95%;
  max-width: 28rem;
  position: relative;
  z-index: 10;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.input-container {
  position: relative;
  padding: 2px;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #242323, #e6e4e4, #242323);
  background-size: 200% 100%;
  animation: borderMove 3s linear infinite;
  box-shadow: 0 0 10px #e6e4e4, 0 0 20px #363636;
  margin-bottom: 1rem;
}

.auth-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #1a1a1a;
  color: white;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 1rem;
}

.auth-input::placeholder {
  color: #888888;
  font-family: "Jersey 10", sans-serif;
}

.submit-button {
    width: 26px;
    height: 26px;
    text-align: center;
    padding-left: 2px;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: #9aa1b1;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.75rem;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
  background: #3e3e41;
}

.error-message {
  color: #ef4444;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.hidden {
  display: none;
}

.buttons-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4em;
}

.overlay-container {
  display: flex;
  justify-content: center;
  margin-top: 1.4em;
  margin-bottom: 20px;
}

.svg-metal-text {
  width: 100%;
  height: 145px;
  margin-top: -85px;
  font-size: 165px;
}

.button {
  width: 200px;
  text-align: center;
  display: inline-block;
  padding: 5px;
  color: white;
  position: relative;
  font-family: 'Rubik One', sans-serif;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #737d8388;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 0 #737d834f, 0 4px 15px rgba(0,0,0,0.3);
  margin-top: 7px;
}

.button::before,
.button::after {
  content: '';
  position: absolute;
  transition: all 0.3s ease;
}

.button::before {
  bottom: -15px;
  height: 15px;
  width: 100%;
  left: 8px;
  transform: skewX(45deg);
  background-color: #31373b;
}

.button::after {
  right: -15px;
  height: 100%;
  width: 15px;
  bottom: -8px;
  transform: skewY(45deg);
  background-color: #31373b;
}

.button:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 #31373b, 0 5px 10px rgba(0,0,0,0.3);
}

.button:active::before {
  bottom: -5px;
  height: 5px;
  left: 3px;
}

.button:active::after {
  right: -5px;
  width: 5px;
  bottom: -3px;
}

@media (max-width: 640px) {
  .auth-container {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .svg-metal-text {
    font-size: 155px;
    margin-top: -70px;
    height: 120px;
  }

  .auth-title {
    font-size: 1.25rem;
  }
  
  .buttons-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .button {
    width: 100%;
  }
}