.page-login {
  min-height: 100vh;
  margin: 0;
  background: #fff;
  color: #0d0d0d;
}

.page-login *,
.page-login *::before,
.page-login *::after {
  box-sizing: border-box;
}

.login-header {
  position: absolute;
  top: 40px;
  left: 60px;
}

.login-logo {
  display: block;
  width: 120px;
  height: auto;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 40px;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 538px;
  padding: 40px 28px;
  background: #fff;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.12);
  border-radius: 32px;
}

.login-card-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.login-title {
  margin: 0;
  width: 100%;
  font-family: 'Benzin-Bold', 'Arial Black', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
  text-align: center;
  text-transform: uppercase;
  color: #0d0d0d;
}

.login-subtitle {
  margin: 0;
  width: 100%;
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  text-align: center;
  color: #0d0d0d;
}

.login-field-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.login-label {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #0d0d0d;
}

.login-input-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: #f6f6f6;
  border-radius: 12px;
  border: none;
}

.login-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: #0d0d0d;
  outline: none;
}

.login-input::placeholder {
  color: rgba(13, 13, 13, 0.4);
}

.login-eye-toggle {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.login-eye-toggle svg {
  display: block;
  width: 16px;
  height: 16px;
}

.login-submit {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 49px;
  padding: 15px 24px;
  border: none;
  border-radius: 12px;
  background: #991157;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
  cursor: pointer;
}

.login-submit:hover {
  background: #7d0e48;
}

.login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-error {
  width: 100%;
  margin: 0;
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 12px;
  line-height: 130%;
  text-align: center;
  color: #c5221f;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .login-header {
    left: 24px;
    top: 24px;
  }

  .login-logo {
    width: 96px;
  }

  .login-page {
    padding: 96px 16px 24px;
  }

  .login-card {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .login-title {
    font-size: 28px;
  }
}
