@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800&display=swap");

:root {
  --bg: #232323;
  --bg-soft: #2b2e33;
  --bg-soft-2: #30343a;
  --text-main: #f4f4f4;
  --text-muted: #9ea3aa;
  --line: #2d3238;
  --accent: #29d84a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: #232323;
}

.topbar {
  height: 48px;
  padding: 0 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #232323;
}

.header-divider {
  width: 100%;
  height: 1px;
  background: #3a3a3a;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 10px;
}

.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.register-btn {
  border: 0;
  background: var(--accent);
  color: #061107;
  font-size: 13px;
  font-weight: 400;
  padding: 7px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.close-btn {
  border: 0;
  background: transparent;
  color: #c9ccd2;
  font-size: 20px;
  cursor: pointer;
}

.login-wrapper {
  padding: 12px 4px 70px;
}

.notice-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 12px 24px;
}

.notice-official {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1.notice-heading {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: rgb(255, 255, 255);
}

.notice-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-main);
}

.notice-text.notice-muted {
  color: var(--text-muted);
  font-size: 14px;
}

.notice-actions {
  margin: 22px 0 0;
}

.login-card {
  max-width: 100%;
}

.hint-text {
  margin: 0 0 6px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.5);
}

h1 {
  margin: 0 0 18px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: rgb(255, 255, 255);
  letter-spacing: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group input {
  width: 100%;
  height: 44px;
  border: 1px solid #444444;
  border-radius: 2px;
  background: #444444;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #8f8f8f;
  font-size: 13px;
  line-height: normal;
  padding: 16px 10px 6px;
  outline: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.input-group input::placeholder {
  color: transparent;
}

.input-group input:focus {
  border-color: #5a5a5a;
  background: #444444;
}

.input-group {
  position: relative;
}

.input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: normal;
  color: #8f8f8f;
  pointer-events: none;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
  color: #ffffff;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 9px;
  transform: translateY(0);
  font-size: 10px;
  color: #bdbdbd;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.remember input {
  width: 17px;
  height: 17px;
}

.login-btn,
.wallet-btn {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  background: #f0f0f0;
  color: #111;
  cursor: pointer;
}

.login-btn {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  color: rgb(0, 0, 0);
  border-radius: 4px;
}

.separator {
  margin: 14px 0 12px;
  text-align: center;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: rgba(255, 255, 255, 0.6);
}

.login-divider {
  width: 100%;
  height: 1px;
  margin: 10px 0 0;
  background: linear-gradient(
    to right,
    #3d3d3d 0%,
    #3d3d3d 18%,
    transparent 18%,
    transparent 82%,
    #3d3d3d 82%,
    #3d3d3d 100%
  );
}

.wallet-btn {
  background: #444444;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
}

.wallet-btn:hover {
  background: #707070;
}

.wallet-logo {
  width: 162px;
  height: 22px;
  display: block;
}

.forgot-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #bdbdbd;
  text-decoration: none;
  letter-spacing: 0;
}

.forgot-link:hover,
.support-footer a:hover {
  text-decoration: underline;
}

.support-footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
}

.support-footer a {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .logo-img {
    height: 20px;
  }

  .hint-text {
    font-size: 14px;
    line-height: 16px;
  }

  h1 {
    font-size: 18px;
    line-height: 20px;
  }

  .wallet-btn {
    padding: 0;
  }

  .wallet-logo {
    width: 140px;
    height: 19px;
  }
}
