.inner-page-banner {
  position: relative;
  overflow: hidden;
  min-height: 5.5rem;
  margin: 5px 0;
  background-color: #117f9b;
  color: #fff;
}

.inner-page-banner::before,
.inner-page-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.inner-page-banner::before {
  inset: -9rem -2rem auto 0;
  height: 18rem;
  opacity: 0.3;
  background:
    repeating-radial-gradient(ellipse at 17% 43%, transparent 0 10px, rgba(71, 194, 209, 0.5) 11px 12px, transparent 13px 21px),
    repeating-radial-gradient(ellipse at 84% 67%, transparent 0 12px, rgba(71, 194, 209, 0.38) 13px 14px, transparent 15px 25px);
  transform: rotate(-2deg);
}

.inner-page-banner::after {
  top: -5.5rem;
  right: 5%;
  width: 17rem;
  height: 17rem;
  border: 2.7rem solid rgba(11, 103, 132, 0.32);
  border-radius: 50%;
}

.inner-page-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 5.5rem;
}

.inner-page-banner__content { padding: 0.25rem 0 0.25rem 0.85rem; border-left: 3px solid #fff; }
.inner-page-banner h1 { margin: 0 0 0.55rem; color: #fff; font-size: 1.15rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.inner-page-banner__breadcrumb { display: flex; align-items: center; gap: 0.7rem; color: rgba(255, 255, 255, 0.92); font-size: 0.67rem; font-weight: 500; }
.inner-page-banner__breadcrumb a:hover { text-decoration: underline; }
.inner-page-banner__breadcrumb span[aria-hidden="true"] { color: #b8edf3; font-size: 0.9rem; }

.login-page {
  position: relative;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f4fbfc 0%, #fff 48%, #f4faf1 100%);
}

.login-page::before,
.login-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.login-page::before { width: 23rem; height: 23rem; left: -16rem; bottom: -12rem; border: 3.5rem solid rgba(17, 185, 187, 0.07); }
.login-page::after { width: 17rem; height: 17rem; right: -11rem; top: 4rem; border: 2.5rem solid rgba(141, 187, 61, 0.08); }

.login-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
  max-width: 1060px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7e7ea;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 1.5rem 4.5rem rgba(18, 65, 79, 0.12);
}

.login-welcome {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  padding: clamp(2.2rem, 4vw, 3.4rem);
  background: linear-gradient(140deg, #076c8e 0%, #078da2 54%, #10aaa5 100%);
  color: #fff;
}

.login-welcome::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 25rem;
  height: 25rem;
  border: 4rem solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.login-welcome__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background: repeating-radial-gradient(ellipse at 16% 15%, transparent 0 12px, rgba(155, 242, 235, 0.5) 13px 14px, transparent 15px 25px);
}

.login-welcome__content { position: relative; z-index: 1; max-width: 30rem; }
.login-welcome__mark { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin-bottom: 2rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 1.1rem; background: rgba(255, 255, 255, 0.13); color: #fff; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.login-kicker { margin: 0 0 0.35rem; color: #11b9bb; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.login-welcome .login-kicker { color: #a8fff3; }
.login-welcome h2 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.04em; }
.login-welcome__content > p:not(.login-kicker) { max-width: 31rem; margin-bottom: 2rem; color: #d9f5f5; font-size: 0.88rem; line-height: 1.7; }
.login-welcome ul { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.login-welcome li { display: flex; align-items: flex-start; gap: 0.75rem; }
.login-welcome li > span { display: grid; flex: 0 0 1.7rem; place-items: center; height: 1.7rem; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #b7ffed; font-size: 0.72rem; font-weight: 800; }
.login-welcome strong, .login-welcome small { display: block; }
.login-welcome strong { font-size: 0.78rem; }
.login-welcome small { margin-top: 0.15rem; color: #c8e9eb; font-size: 0.67rem; line-height: 1.45; }

.login-card { padding: clamp(2rem, 4vw, 3.4rem); }
.login-card__header { margin-bottom: 1.5rem; }
.login-card__header h2 { margin: 0 0 0.4rem; color: #143e50; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.03em; }
.login-card__header > p:last-child { margin: 0; color: #708690; font-size: 0.76rem; }
.login-form { display: grid; gap: 1.15rem; }

.login-method-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; padding: 0.35rem; border: 1px solid #dbe7ea; border-radius: 0.7rem; background: #f1f6f7; }
.login-method-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.65rem; border: 0; border-radius: 0.48rem; background: transparent; color: #637982; cursor: pointer; font-size: 0.73rem; font-weight: 700; }
.login-method-btn span { color: #0a879f; font-weight: 800; }
.login-method-btn.active { background: #fff; color: #087b98; box-shadow: 0 0.2rem 0.7rem rgba(23, 68, 82, 0.1); }
.login-field.is-hidden { display: none; }
.login-field label { display: block; margin-bottom: 0.4rem; color: #365865; font-size: 0.72rem; font-weight: 700; }
.login-label-row { display: flex; align-items: center; justify-content: space-between; }
.login-label-row a { color: #087d9a; font-size: 0.67rem; font-weight: 700; }
.login-label-row a:hover { text-decoration: underline; }

.login-input { position: relative; }
.login-input > span { position: absolute; z-index: 2; top: 50%; left: 0.9rem; transform: translateY(-50%); color: #6e8790; font-size: 0.72rem; font-weight: 800; }
.login-input input { display: block; width: 100%; min-height: 3rem; padding: 0.75rem 3.4rem 0.75rem 2.55rem; border: 1px solid #cadce1; border-radius: 0.6rem; background: #fff; color: #183f50; font-size: 0.76rem; outline: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.login-input input:focus { border-color: #078da2; box-shadow: 0 0 0 3px rgba(7, 141, 162, 0.11); }
.was-validated .login-input input:invalid { border-color: #dc4050; background: #fffafa; }
.password-toggle { position: absolute; z-index: 2; top: 0.5rem; right: 0.5rem; min-width: 2.8rem; height: 2rem; padding: 0 0.4rem; border: 0; border-radius: 0.4rem; background: #edf5f7; color: #42717f; cursor: pointer; font-size: 0.63rem; font-weight: 700; }
.mobile-login-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.55rem; }
.dial-code-box input { padding-right: 0.6rem; }

.message { display: none; padding: 0.75rem 0.9rem; border-radius: 0.55rem; font-size: 0.7rem; }
.message.error, .message.success { display: block; }
.message.error { background: #fde9eb; color: #a72c38; }
.message.success { background: #e3f6eb; color: #167550; }
.login-submit { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.05rem; border: 0; border-radius: 0.62rem; background: linear-gradient(105deg, #08799c, #10aaa5); color: #fff; box-shadow: 0 0.7rem 1.5rem rgba(4, 131, 151, 0.22); cursor: pointer; font-size: 0.77rem; font-weight: 800; }
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 0.85rem 1.8rem rgba(4, 131, 151, 0.28); }
.login-submit:disabled { opacity: 0.62; cursor: wait; transform: none; }
.register-prompt { margin: -0.3rem 0 0; color: #718791; font-size: 0.7rem; text-align: center; }
.register-prompt a { color: #087d9a; font-weight: 800; }
.register-prompt a:hover { text-decoration: underline; }

.login-security { display: flex; gap: 0.7rem; margin-top: 1.4rem; padding: 0.9rem; border: 1px solid #e9dfb9; border-radius: 0.65rem; background: #fff9e9; }
.login-security > span { color: #dc9827; font-weight: 800; }
.login-security p { margin: 0; }
.login-security strong, .login-security small { display: block; }
.login-security strong { color: #65572f; font-size: 0.68rem; }
.login-security small { margin-top: 0.15rem; color: #837854; font-size: 0.59rem; line-height: 1.45; }

@media (max-width: 860px) {
  .login-layout { width: min(100% - 2rem, 38rem); grid-template-columns: 1fr; }
  .login-welcome { min-height: 0; padding: 2rem; }
  .login-welcome__mark { width: 3.2rem; height: 3.2rem; margin-bottom: 1.3rem; font-size: 2rem; }
  .login-welcome h2 { font-size: 2rem; }
  .login-welcome ul { display: none; }
  .login-welcome__content > p:not(.login-kicker) { margin-bottom: 0; }
}

@media (max-width: 720px) {
  .inner-page-banner, .inner-page-banner__inner { min-height: 5rem; }
}

@media (max-width: 480px) {
  .login-page { padding: 1.5rem 0; }
  .login-layout { width: calc(100% - 1rem); border-radius: 0.9rem; }
  .login-welcome, .login-card { padding: 1.4rem; }
  .mobile-login-row { grid-template-columns: 5.7rem minmax(0, 1fr); }
}
