/* ================= ROOT ================= */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  user-select: none;
}

/* ================= WRAPPER ================= */
.wrapper {
  width: 100%;
  height: 100%;
  background: url(../img/background-origin.png) center / cover no-repeat;
  display: flex;
}

/* ================= CONTENT ================= */
.content {
  width: 50%;
  height: 100%;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ================= TITLE ================= */
.content-title {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-title-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.content-title-main-logo {
  width: 57px;
  height: 57px;
}

.content-title-main-text {
  font-size: 4.3rem;
  font-weight: 600;
  color: white;
}

.content-title-sub {
  font-size: 1.5rem;
  font-weight: 100;
  color: white;
  text-align: center;
  width: 480px;
  margin-right: 240px;
}

/* ================= LOGIN BOX ================= */
.content-login_box {
  width: 540px;
  height: 704px;
  margin-top: 20px;
  padding: 3rem;
  box-sizing: border-box;

  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;

  display: grid;
  grid-template-rows: 10% 80% 10%;
}

/* Title */
.content-login_box-title {
  font-size: 2.5rem;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= LOGIN CONTENT ================= */
.content-login_box-content {
}

/* Error */
.content-login_box-content-error {
  margin-top: 1rem;
  height: 2.3rem;
  padding-left: 6px;

  display: flex;
  align-items: center;
  gap: 6px;

  background: #e06c6c;
  color: white;
  font-size: 1.4rem;
  line-height: 1.4rem;

  div {
    padding-top: 4px;
  }
}

.content-login_box-content-info {
  background-color: #07ac0e;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  height: 2.3rem;
  color: white;
  font-size: 1.0rem;
  line-height: 1.4rem;
  font-weight: 400;
  padding-left: 5px;
  gap: 5px;

  div {
    padding-top: 4px;
  }
}

/* ================= INPUT GROUP ================= */
.content-login_box-content-data {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-login_box-content-data-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.content-login_box-content-data-container-title {
  font-size: 1.2rem;
  color: white;

  span {
    color: #e06c6c;
  }
}

/* Input */
.content-login_box-content-data-container-input {
  position: relative;
  height: 3.2rem;
}

.content-login_box-content-data-container-input input {
  width: 100%;
  height: 100%;
  padding: 0 60px 0 7px;

  background: rgba(255, 255, 255, 0.14);
  border: none;
  outline: none;
  border-radius: 2px;

  font-size: 2rem;
  color: white;
  box-sizing: border-box;
}

/* Password icon */
#show_pwd_icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* ================= BUTTON ================= */
.content-login_box-btn {
  font-size: 1.8rem;
  color: white;
  background: #344497;

  border: none;
  cursor: pointer;
}

/* ================= VIEW SWITCH ================= */
.pc-view {
  display: block;
}

.mobile-view {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 1279px) {
  .pc-view {
    display: none;
  }

  .mobile-view {
    display: flex;
  }

  .wrapper {
    background: none;
  }

  /* Layout */
  .mobile-view {
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #4d4d4d 0%, #111 100%);
    justify-content: center;
    align-items: center;
    color: white;
  }

  .mobile-container {
    width: 90%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
  }

  /* Logo */
  .mobile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(180deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .mobile-logo img {
    width: 28px;
    height: 28px;
    margin-top: 0.2rem;
  }

  /* Title */
  .mobile-title {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
  }

  .mobile-sub {
    text-align: center;
    font-size: 0.9rem;
    color: #D2D2D2;
  }

  /* Form */
  .mobile-form {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
  }

  .mobile-form label {
    font-size: 1rem;
    color: #D2D2D2;
    margin-left: 0.6rem;
  }

  .mobile-form input {
    height: 60px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #666;
    background: #282828;
    color: white;
    font-size: 1rem;
    &::placeholder {
      color: #AFAFAF;
      font-size: 0.9rem;
    }
  }

  /* Password */
  .password-box {
    position: relative;
  }

  .password-box input {
    width: 100%;
    height: 60px;
    padding: 0 44px 0 12px;
    border-radius: 12px;
    border: 1px solid #666;
    background: #282828;
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
  }


  .password-box img {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    opacity: 0.6;
  }

  /* Remember */
  .remember {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #D2D2D2;
    margin-left: 1rem;
  }

  /* Button */
  .mobile-btn {
    height: 60px;
    border-radius: 12px;
    border: none;
    background: #015ECF;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 6.5rem;
  }

  /* Footer */
  .mobile-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #AFAFAF;
    margin-top: 1.25rem;

    span {
      margin-right: 0.6rem;
    }
  }

  .mobile-footer a {
    color: #2971E5;
  }

  .mobile-brand {
    text-align: center;
    margin-top: 3.4rem;
  }
}
