html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

.ocean-register-page {
  min-height: 100vh;
  padding: 34px;
  color: #0f1c2f;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  background:
    radial-gradient(circle at 88% 12%, rgba(60, 160, 255, .16), transparent 34%),
    linear-gradient(135deg, #eaf6ff 0%, #f8fbff 48%, #edf6ff 100%);
  box-sizing: border-box;
}

.register-brand {
  position: fixed;
  left: 34px;
  top: 28px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(73, 140, 230, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: #0f58c9;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(45, 112, 190, .12);
  backdrop-filter: blur(12px);
}

.register-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.register-shell {
  width: min(1480px, 100%);
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, .56fr) minmax(620px, 1fr);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 26px 70px rgba(31, 96, 178, .16);
}

.register-aside {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  padding: 112px 58px 72px;
  overflow: hidden;
  background: #e8f5ff url("../images/ocean-ai/register-bg.jpg") center bottom / cover no-repeat;
}

.register-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232, 246, 255, .72) 0%, rgba(232, 246, 255, .08) 68%);
  pointer-events: none;
}

.register-aside-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.register-eyebrow {
  margin: 0 0 14px;
  color: #2479e9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.register-aside h1 {
  margin: 0;
  color: #08246b;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.register-lead {
  max-width: 480px;
  margin: 20px 0 42px;
  color: #395579;
  font-size: 20px;
  line-height: 1.75;
}

.register-benefits {
  display: grid;
  gap: 24px;
}

.register-benefit {
  display: flex;
  align-items: center;
  gap: 20px;
}

.register-benefit-icon {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #2d77ff, #55d5ff);
  box-shadow: 0 15px 28px rgba(42, 122, 238, .22), inset 0 1px 0 rgba(255, 255, 255, .38);
}

.register-benefit-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.register-benefit h2 {
  margin: 0 0 7px;
  color: #092e84;
  font-size: 21px;
  line-height: 1.2;
}

.register-benefit p {
  margin: 0;
  color: #294564;
  font-size: 16px;
  line-height: 1.5;
}

.register-form-panel {
  padding: 76px min(7vw, 92px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)),
    radial-gradient(circle at 92% 92%, rgba(39, 126, 255, .1), transparent 34%);
}

.register-form-heading {
  margin-bottom: 30px;
}

.register-form-heading p {
  margin: 0 0 8px;
  color: #2878ea;
  font-size: 15px;
  font-weight: 800;
}

.register-form-heading h2 {
  margin: 0;
  color: #101827;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 900;
}

.register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 18px;
}

.register-field {
  display: grid;
  gap: 9px;
}

.register-field-full,
.register-message,
.register-submit {
  grid-column: 1 / -1;
}

.register-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.register-field label span {
  color: #ef3333;
}

.register-field input,
.register-field select,
.register-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d4e0ee;
  border-radius: 8px;
  color: #172238;
  font: inherit;
  font-size: 15px;
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 2px rgba(15, 46, 92, .04);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-sizing: border-box;
}

.register-field textarea {
  min-height: 108px;
  padding-top: 14px;
  line-height: 1.6;
  resize: vertical;
}

.register-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6681a4 50%),
    linear-gradient(135deg, #6681a4 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.register-field input:focus,
.register-field select:focus,
.register-field textarea:focus {
  border-color: #2a7cff;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(42, 124, 255, .11);
}

.register-field small {
  min-height: 17px;
  color: #df2a2a;
  font-size: 13px;
  line-height: 1.3;
}

.register-field.has-error input,
.register-field.has-error select,
.register-field.has-error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .08);
}

.register-message {
  min-height: 22px;
  font-size: 15px;
  font-weight: 700;
}

.register-message.success {
  color: #078a45;
}

.register-message.error {
  color: #d72828;
}

.register-submit {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #1677ff, #0e63e8);
  box-shadow: 0 18px 30px rgba(22, 119, 255, .22);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.register-submit:disabled {
  cursor: not-allowed;
  opacity: .7;
}

@media (hover: hover) and (pointer: fine) {
  .register-brand:hover {
    color: #0a4fb9;
    transform: translateY(-1px);
  }

  .register-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(22, 119, 255, .28);
  }
}

@media (max-width: 1100px) {
  .ocean-register-page {
    padding: 24px;
  }

  .register-brand {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 18px;
  }

  .register-shell {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .register-aside {
    min-height: 470px;
    padding: 62px 42px 118px;
    background-position: center 68%;
  }

  .register-form-panel {
    padding: 52px 42px 58px;
  }
}

@media (max-width: 700px) {
  .ocean-register-page {
    padding: 14px;
  }

  .register-brand {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .register-aside {
    min-height: 430px;
    padding: 42px 24px 96px;
  }

  .register-aside h1 {
    font-size: 32px;
  }

  .register-lead {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .register-benefit {
    gap: 14px;
  }

  .register-benefit-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    font-size: 17px;
  }

  .register-benefit h2 {
    font-size: 18px;
  }

  .register-benefit p {
    font-size: 14px;
  }

  .register-form-panel {
    padding: 38px 20px 42px;
  }

  .register-form-heading h2 {
    font-size: 25px;
  }

  .register-form {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .register-field label {
    font-size: 15px;
  }

  .register-submit {
    font-size: 18px;
  }
}

/* Register page refinements */
.register-aside {
  align-items: flex-start;
  padding-top: 92px;
}

.register-benefits {
  gap: 22px;
}

.register-benefit {
  padding-left: 0;
}

.register-form-panel {
  position: relative;
}

.register-detail-entry {
  position: fixed;
  right: 30px;
  top: 50%;
  margin-top: -45px;
  z-index: 999;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease;
}

.register-detail-entry img {
  width: 200px;
  height: 200px;
  display: block;
  object-fit: contain;
  cursor: pointer;
  pointer-events: auto;
}

.register-detail-bubble {
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-50%);
  padding: 10px 18px;
  box-sizing: border-box;
  border: 1px solid rgba(42, 142, 255, .32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(230, 246, 255, .92));
  box-shadow: 0 14px 30px rgba(36, 122, 232, .18);
  color: #1174de;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
  animation: oceanAiBubbleFloat 2.6s ease-in-out infinite;
}

.register-detail-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(42, 142, 255, .32);
  border-bottom: 1px solid rgba(42, 142, 255, .32);
  background: rgba(230, 246, 255, .94);
  transform: translateX(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .register-detail-entry:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 18px 24px rgba(43, 130, 234, .22));
  }
}

@media (max-width: 1320px) {
  .register-detail-entry {
    right: 20px;
    width: 86px;
    height: 86px;
    margin-top: -43px;
  }

  .register-detail-entry img {
    width: 200px;
    height: 200px;
  }

  .register-detail-bubble {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .register-aside {
    padding-top: 52px;
  }

  .register-detail-entry {
    right: 16px;
    top: 30px;
    margin-top: 0;
  }

  .register-detail-entry:hover {
    transform: translateY(-4px) scale(1.02);
  }
}

@media (max-width: 700px) {
  .register-aside {
    padding-top: 36px;
  }

  .register-detail-entry {
    right: 12px;
    top: 50%;
    margin-top: -30px;
    width: 60px;
    height: 60px;
  }

  .register-detail-entry img {
    width: 120px;
    height: 120px;
  }

  .register-detail-bubble {
    top: 4px;
    padding: 6px 12px;
    font-size: 12px;
  }
}