.inline_reg_form {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0px;
  }
  section {
    padding-left: 0px !important;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(140%) blur(8px);
    background: rgba(11, 15, 23, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand img {
    height: 30px;
    max-width: 100%;
    object-fit: contain;
  }

  .nav a {
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  /* Centered register card */
  main {
    display: grid;
    place-items: center;
    padding: 20px 0;
  }

  .card {
    width: 100%;
    background: transparent;
    border: 1px solid var(--bm-border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    padding: 22px;
  }

  .head {
    text-align: center;
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(28px, 4.8vw, 40px);
    margin: 0.2em 0 0.1em;
    font-weight: 900;
  }

  .sub {
    color: var(--bm-muted);
  }

  .fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 12px;
  }

  .row-fields {
    display: grid;
    grid-template-columns: 1fr 0.7fr 1fr;
    gap: 12px;
  }

  label {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
  }

  input,
  select {
    background: rgba(255, 255, 255, 0.04);
    color: var(--bm-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px 12px;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
  }

  input::placeholder {
    color: #9aa3b2;
  }

  input:focus,
  select:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(44, 230, 201, 0.14);
    border-color: var(--bm-teal-1);
  }

  select {
    cursor: pointer;
  }

  select option {
    background: var(--bm-card);
    color: var(--bm-white);
  }

  .terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    color: var(--bm-muted);
    font-size: 14px;
  }

  .terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .terms a {
    color: var(--bm-teal-1);
    font-weight: 700;
    text-decoration: underline;
  }

  .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-size: 14px;
    text-align: center;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--bm-teal-1), var(--bm-teal-2));
    color: #042326;
    border: 0;
    box-shadow: 0 10px 26px rgba(44, 230, 201, 0.22);
    transition: opacity 0.3s ease;
  }

  .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.06);
  }

  .alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .note {
    color: var(--bm-muted);
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
  }

  footer {
    padding: 28px 0;
    color: var(--bm-muted);
    text-align: center;
    font-size: 14px;
  }

  /* Mobile Responsive Styles */
  @media (max-width: 640px) {
    .container {
      padding: 0 16px;
    }

    .nav {
      height: 60px;
    }

    .brand img {
      height: 24px;
    }

    main {
      min-height: calc(100dvh - 60px - 56px);
      padding: 16px 0;
    }

    .card {
      padding: 20px 16px;
      border-radius: 16px;
    }

    .head {
      margin-bottom: 8px;
    }

    h1 {
      font-size: clamp(24px, 6vw, 32px);
      margin: 0.3em 0 0.15em;
    }

    .sub {
      font-size: 14px;
    }

    .fields {
      gap: 16px;
      margin-top: 10px;
    }

    .row-fields {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    label {
      font-size: 13px;
      margin-bottom: 6px;
    }

    input,
    select {
      padding: 11px 12px;
      font-size: 16px;
      border-radius: 10px;
    }

    .terms {
      font-size: 13px;
      margin-top: 10px;
    }

    .actions {
      gap: 8px;
      margin-top: 12px;
    }

    .btn {
      padding: 11px 14px;
      font-size: 13px;
      border-radius: 12px;
    }

    .alt {
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 8px;
    }

    .note {
      font-size: 12px;
      margin-top: 12px;
      line-height: 1.5;
    }

    footer {
      padding: 20px 0;
      font-size: 13px;
    }
  }

  @media (max-width: 380px) {
    .container {
      padding: 0 12px;
    }

    .card {
      padding: 16px 12px;
    }

    .brand img {
      height: 22px;
    }

    h1 {
      font-size: clamp(22px, 7vw, 28px);
    }

    .btn {
      font-size: 12px;
      padding: 10px 12px;
    }

    .terms {
      font-size: 12px;
    }
  }

  /* .helper-text p {
  margin: 0;
  font-size: 13px;
} */
  .helper-text .valid {
    color: green;
  }

  .helper-text p:not(.valid) {
    color: red;
  }

  .alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
  }

  .alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
  }

  .errors:empty,
  .alert.error:empty,
  .alert.alert-danger:empty {
    display: none;
  }
}
