/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login-container {
  background: #0d0d0d;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 40px 36px 48px;
  box-shadow: 0 0 40px rgba(9, 255, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

.login-subtitle {
  color: #666666;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 24px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4d4d4d;
  user-select: none;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 20px;
  pointer-events: none;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border-radius: 12px;
  border: 1.5px solid black;
  background-color: #0d0d0d;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type=text]:focus,
input[type=password]:focus {
  outline: none;
  border-color: #1de110;
  box-shadow: 0 0 10px "#1de11088";
  background-color: #404040;
}

input::placeholder {
  color: #ffffff;
  font-weight: 400;
  user-select: none;
}

button {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(9, 255, 0, 0.7);
  user-select: none;
}

.btn-login {
  background: linear-gradient(135deg, #17b10d, #1de110);
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px "#1de110cc";
}

.btn-login:hover,
.btn-login:focus-visible {
  background: linear-gradient(135deg, #1de110, #17b10d);
  box-shadow: 0 12px 32px "#1de110ee";
  outline-offset: 2px;
  outline: 2px solid #3ff133;
}

.btn-subscribe {
  background: transparent;
  color: #1de110;
  font-weight: 600;
  border: 2.5px solid #1de110;
  border-radius: 14px;
  letter-spacing: 0.06em;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-subscribe:hover,
.btn-subscribe:focus-visible {
  background-color: #1de110;
  color: black;
  box-shadow: 0 6px 14px "#1de110bb";
  outline-offset: 2px;
  outline: 2px solid #118209;
}

.subscribe-desc {
  font-size: 0.875rem;
  text-align: center;
  color: #ffffff;
  margin-top: 8px;
  user-select: none;
}

.error-message {
  color: red;
  font-size: 14px;
}

@media (max-width: 480px) {
  .login-container {
    padding: 36px 24px 40px;
  }
  .login-logo {
    font-size: 2rem;
  }
  button {
    font-size: 1rem;
    padding: 12px 0;
  }
}