.container {
    overflow: hidden;
    width: 93%;
    max-width: max-content;
}
.content {
  padding: 0 0 30px;
}

div#logo {
  width: min(320px, calc(100% - 40px));
  
  max-height: 200px;
}

img#poweredby, img#logo {
    margin: auto;
    width: 250px;
    display: block;
}

.login-shell {
  position: relative;
  margin: 0 auto;
  padding: 18px 24px 36px;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 107, 0.16), transparent 18%),
    radial-gradient(circle at bottom right, rgba(76, 201, 240, 0.12), transparent 20%);
}

.login-shell::before,
.login-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(0);
}

.login-shell::before {
  width: 220px;
  height: 220px;
  top: 70px;
  left: -80px;
  background: rgba(255, 214, 102, 0.1);
}

.login-shell::after {
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: 10px;
  background: rgba(76, 201, 240, 0.12);
}

.login-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 18px auto 26px;
  max-width: 1120px;
}

.login-kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a5d00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #f3deaa;
}

.login-hero-top {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 26px;
  text-align: left;
}

.login-hero-logo {
  display: flex;
  justify-content: center;
}

.login-hero-logo div#logo {
  width: 100%;
  max-width: 240px;
  max-height: none;
  margin: 0;
}

.login-title,
.login-subtitle {
  padding-right: 0;
  padding-left: 0;
}

.login-title {
  margin: 0 0 12px;
  color: #1f2940;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  font-weight: 800;
}

.login-subtitle {
  margin: 0;
  max-width: 520px;
  color: #5b647a;
  font-size: 17px;
  line-height: 1.6;
}

.login-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.login-info {
  color: #fff;
  display: grid;
  gap: 18px;
}

.login-showcase {
  border-radius: 28px;
  padding: 28px;
  background: rgb(23 130 227 / 90%);
  box-shadow: 0 22px 50px rgba(23, 4, 13, 0.26);
  display: grid;
  gap: 22px;
}

.login-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 22px;
}

.login-highlight strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.login-highlight p {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.login-benefits {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.login-benefits h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  text-align: left;
}

.tip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tip-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.tip-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 16px;
}

.tip-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.4;
}

.tip-text strong {
  color: #fff;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.login-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fff6fa 100%);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 28px 60px rgba(55, 11, 29, 0.28);
  border: 1px solid rgba(113, 26, 61, 0.08);
}

.login-card {
  border-radius: 22px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(246, 135, 173, 0.12), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fffafc 100%);
}

.login-card .center_box {
  max-width: none;
  margin: 0;
}

.login-panel .login_box,
.login-panel .forgot_box,
.login-panel .register_box {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.panel-head {
  margin-bottom: 22px;
  text-align: left;
}

.panel-head h2,
.panel-head h3 {
  margin: 0 0 8px;
  padding: 0;
  color: #21243d;
  font-size: 28px;
  text-align: left;
}

.panel-head p {
  margin: 0;
  padding: 0;
  color: #4f576d;
  line-height: 1.6;
}

label#lbl-terms {
  display: block;
}

.login-panel form label {
  display: block;
  margin-bottom: 14px;
}

.login-panel input[type="text"],
.login-panel input[type="email"],
.login-panel input[type="password"],
.login-panel input[type="date"],
.login-panel select {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d8deea;
  border-radius: 16px;
  background: #ffffff;
  padding: 14px 16px;
  font-size: 15px;
  color: #20263d;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-panel input:focus,
.login-panel select:focus {
  outline: 0;
  border-color: #2f7ae5;
  box-shadow: 0 0 0 4px rgba(47, 122, 229, 0.12);
  background: #fff;
}

.password-field {
  position: relative;
}

.password-field input[type="password"],
.password-field input[type="text"] {
  padding-right: 44px;
}

.password-field .toggle-password {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 0;
  height: 32px;
  min-height: 0;
  margin: 0;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  color: #6b7280;
  font-size: inherit;
  font-weight: 400;
  box-shadow: none;
}

.password-field .toggle-password:hover {
  transform: translateY(-50%);
  color: #20263d;
}

.password-field .toggle-password:focus-visible {
  outline: 2px solid #2f7ae5;
  outline-offset: 2px;
  color: #20263d;
}

.login-panel input::placeholder {
  color: #6f7892;
}

.login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.login-panel button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.login-panel button:hover {
  transform: translateY(-1px);
}

.login-panel button:disabled {
  cursor: wait;
  opacity: 0.85;
}

#btn-login,
.create_btn,
.forgot_box button[type="submit"] {
  background: linear-gradient(135deg, #1d6fe6 0%, #0aa2d4 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(29, 111, 230, 0.24);
}

#register,
button.login_btn {
  background: #eef3fb;
  color: #28405f;
}

.psw {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #4f576d;
  font-size: 14px;
}

.psw a,
.terms-box a,
.login-more a {
  color: #165fcf;
  font-weight: 600;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-grid .form-group {
  flex: 1 1 calc(50% - 7px);
  display: flex;
  flex-direction: column;
}

.register_box form {
  margin-top: 0;
}

.register_box p {
  text-align: left;
  font-size: 14px;
  margin-bottom: 12px;
  color: #4f576d;
}

.register-facts {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.register-facts li {
  position: relative;
  padding-left: 28px;
  text-align: left;
  color: #4f576d;
  font-size: 14px;
  line-height: 1.5;
}

.register-facts li strong {
  color: #21243d;
}

.register-facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(23, 130, 227, 0.12);
  color: #1782e3;
  font-size: 11px;
  font-weight: 700;
}

.register_box h2 {
  text-align: left;
  font-size: 26px;
  color: #21243d;
  margin-bottom: 10px;
}

.terms-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eef3fa;
  color: #465068;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid #d7e0ef;
}

.terms-box input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.login-more {
  text-align: center;
  margin-top: 22px;
  color: #7b8397;
}

@media (max-width: 920px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-info {
    order: 2;
  }

  .login-panel {
    order: 1;
  }
}

@media (max-width: 700px) {
  .login-hero-top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .login-subtitle {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .login-shell {
    padding: 14px 14px 30px;
  }

  .login-card {
    padding: 20px;
  }

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

  .login-subtitle {
    font-size: 15px;
  }

  .panel-head h2,
  .panel-head h3,
  .register_box h2 {
    font-size: 24px;
  }

  .login-actions {
    grid-template-columns: 1fr;
  }

  .form-grid .form-group {
    flex: 1 1 100%;
  }

  .tip-grid {
    grid-template-columns: 1fr;
  }
}


.register_box span {
 
    margin-top: 0px;
}