@font-face {
  font-family: "Flexo-Regular";
  src: url("https://access.pokemon.com/fonts/285B7A_1_0.woff") format("woff");
}

@font-face {
  font-family: "Flexo-Medium";
  src: url("https://access.pokemon.com/fonts/285B7A_2_0.woff") format("woff");
}

@font-face {
  font-family: "Flexo-Bold";
  src: url("https://access.pokemon.com/fonts/285B7A_5_0.woff") format("woff");
}

@font-face {
  font-family: "Flexo-Heavy";
  src: url("https://access.pokemon.com/fonts/285B7A_8_0.woff") format("woff");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #a9a9a9;
  background-image: url("https://static.prod.pokemon.com/images/pikachu_pattern.png");
  background-repeat: repeat;
  background-size: 200px;
  /* font-family: "Flexo-Regular", sans-serif; */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.container {
  width: 420px;
  max-width: 100%;
  margin: 20px auto;
  position: relative;
  z-index: 1;
}

.login-box {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 30px 0;
  text-align: center;
  width: 100%;
}

.logo-container {
  display: flex;
  height: 109px;
  margin-top: 0;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
}

.pokemon-logo {
  height: 100%;
}

.banner {
  background-color: #fffbd1;
  border-radius: 5px;
  padding: 10px 15px;
  margin: 0 40px 20px 40px;
  font-size: 12px;
  color: #212529;
  line-height: 1.4;
  text-align: center;
}

.banner strong {
  font-family: "Flexo-Bold", sans-serif;
}

h2 {
  color: #313131;
  font-size: 22px;
  font-family: "Flexo-Heavy", serif;
  margin: 25px 40px;
  line-height: 1.2;
}

.error-message {
  background-color: #fce8e6;
  border-radius: 5px;
  margin: 0 40px 20px 40px;
  padding: 10px;
  font-size: 14px;
  font-family: "Flexo-Regular", sans-serif;
  color: #c33527;
  text-align: center;
  line-height: 1.4;
}

.login-form {
  padding: 0 40px;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-field {
  width: 100%;
  height: 48px;
  padding: 8px 15px;
  border: 4px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  background-color: #313131;
  color: #ffffff;
  transition: all 0.2s ease;
  font-family: "Flexo-Regular", sans-serif;
}

.input-field::placeholder {
  color: #919191;
}

.input-field:focus {
  outline: none;
  border-color: #e6bc2f;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.password-toggle img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.forgot-password {
  text-align: center;
  margin: 15px 0 25px 0;
}

.trouble-link {
  color: #3498db;
  text-decoration: none;
  font-size: 14px;
  font-family: "Flexo-Medium", sans-serif;
}

.trouble-link:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  height: 40px;
  background-color: #4dad5b;
  color: white;
  border: none;
  border-radius: 4.2px;
  font-size: 14px;
  font-family: "Flexo-Heavy", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-btn:hover {
  background-color: #3f8e4a;
}

.social-login {
  margin: 15px 40px;
}

.divider {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #d8d8d8;
  z-index: 1;
}

.divider span {
  position: relative;
  background-color: #ffffff;
  padding: 0 15px;
  color: #616161;
  font-size: 12px;
  font-family: "Flexo-Regular", sans-serif;
  z-index: 2;
}

.social-icons {
  display: flex;
  justify-content: center;
  /* gap: 20px; */
}

.social-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  /* border: 1px solid #d8d8d8; */
  /* display: flex; */
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.social-icon:hover {
  background-color: #f5f5f5;
}

.social-error {
  display: none;
  color: #c33527;
  font-size: 12px;
  margin-top: 10px;
  font-family: "Flexo-Medium", sans-serif;
  text-align: center;
  background-color: #fce8e6;
  padding: 8px;
  border-radius: 4px;
}

.registration-section {
  margin: 10px 40px;
}

.no-account {
  color: #313131;
  font-size: 15px;
  margin-bottom: 8px;
  font-family: "Flexo-Bold", sans-serif;
}

.create-account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background-color: #ffffff;
  color: #4dad5b;
  border: 1px solid #4dad5b;
  padding: 0;
  border-radius: 4.2px;
  font-size: 14px;
  font-family: "Flexo-Heavy", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 700;
}

.create-account-btn:hover {
  background-color: #4dad5b;
  color: #ffffff;
}

.footer-text {
  margin: 20px 40px 10px 40px;
  font-size: 10px;
  color: #4e4e4e;
  line-height: 1.5;
  font-family: "Flexo-Regular", sans-serif;
}

.footer-text p {
  margin: 2px 0;
}

@media (max-width: 576px) {
  body {
    padding: 0;
    align-items: flex-start;
    background-size: 150px;
  }

  .container {
    width: 100%;
    margin: 0;
    height: 100vh;
  }

  .login-box {
    border-radius: 0;
    min-height: 100vh;
    box-shadow: none;
    padding: 30px 0;
  }

  .banner,
  h2,
  .error-message,
  .login-form,
  .social-login,
  .registration-section,
  .footer-text {
    margin-left: 20px;
    margin-right: 20px;
  }
}