/* postapp2026information.html — page-specific styles */
  /* 頂部導覽列 / period-bubble / 手機背景：共用樣式已移至 styles.css */
  .page { position: relative; min-height: 100vh; }
  .form-panel {
    background:#fff; border-radius:36px;
    padding:48px 60px 48px;
    margin-bottom: 32px;
    box-shadow: 0 12px 40px rgba(125,78,124,.10);
    /* min-height: calc(100vh - 120px); */
    position: relative;
    min-height: 750px;
  }
  /* HOWHOW jump figure flush to page's left edge (cancels .page 32px padding) */
  .form-howhow {
    position: absolute;
    left: -30px; 
    top: 70px; 
    width: 550px;
    z-index: 6;
    pointer-events: none;
  }
  .form-howhow img { width: 100%; height: auto; display: block; }

  /* Form content sits to the right of HOWHOW, vertically centered */
  .form-inner {
    margin-left: 500px; margin-right: 0;
    display: flex; flex-direction: column; align-items: center;
    padding: 56px 48px;
    margin-top: 70px;
    background: var(--lavender-light, #eef0f7);
    border-radius: 28px;
  }
  .form-title {
    display:inline-block;
    background: var(--magenta-600);
    color: #fff;
    font-weight: 900;
    font-size: 26px;
    padding: 10px 48px;
    border-radius: 999px;
    margin-bottom: 44px;
  }
  .form-rows { width: 100%; max-width: 640px; }
  .form-row {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 28px;
  }
  .form-row .label {
    width: 150px; flex-shrink: 0;
    font-size: 19px; font-weight: 900;
    color: var(--ink-ink);
    text-align: right;
  }
  .form-row input.account { flex: 1; min-width: 0; }
  .acct-group { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
  .acct-group input.account { flex: 1 1 0; min-width: 0; }
  .captcha-group { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
  .form-row input.captcha { width: 180px; flex-shrink: 1; min-width: 0; }
  .form-row .sep { font-size: 16px; color: var(--ink-ink);}
  .captcha-img {
    width: 110px; height: 48px;
    background: #c0c0c0;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900;
    font-family: 'Inter', monospace;
    font-size: 32px; letter-spacing: .12em;
    border-radius: 4px;
    font-style: italic;
    flex-shrink: 0;
  }
  .captcha-refresh {
    color: var(--ink-ink); text-decoration: underline;
    font-size: 13px; font-weight: 700; cursor: pointer;
    background: none; border: none; font-family: inherit;
    flex-shrink: 0;
  }
  .actions {
    display: flex; gap: 18px; margin-top: 18px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-clear, .btn-confirm {
    font-family: var(--font-sans); font-weight: 900;
    font-size: 19px;
    padding: 12px 36px;
    border-radius: 999px;
    border: none; cursor: pointer;
    color: #fff;
    transition: transform .12s, opacity .15s;
    white-space: nowrap; 
    flex: 0 0 auto;
  }
  .btn-clear { background: #999; }
  .btn-clear:hover { background: #777; }
  .btn-confirm { background: #2e8b3f; }
  .btn-confirm:hover { background: #226d2f; }
  .btn-confirm:active, .btn-clear:active { transform: scale(.96); }
  .btn-confirm[disabled] { background: #c8cfcf; cursor: not-allowed; }

    /* Captcha squashes earlier than the account row, so let it wrap across a
     wider band: input on its own line, 7491 image + refresh link below */
  @media (min-width: 1025px) and (max-width: 1320px) {
    .captcha-group { flex-wrap: wrap; }
    .captcha-group input.captcha { flex: 1 1 100%; width: 100%; min-width: 0; }
  }

  /* Tight desktop band (1025–1180px): also stack the account inputs onto
     two lines; each input fills the row so 局號/帳號 match 驗證碼 width */
  @media (min-width: 1025px) and (max-width: 1180px) {
    .acct-group { flex-wrap: wrap; }
    .acct-group input.account { flex: 1 1 100%; width: 100%; min-width: 0; }
    .acct-group .sep { display: none; }
  }

  /* ============================================================
     Mobile (≤ 1024px) RWD
     ============================================================ */
  @media (max-width: 1024px) {
    /* 手機頂部列 / 背景 / period-bubble：共用樣式已移至 styles.css */
    .page { 
      display: block; 
      padding: 12px 16px 0; 
      position: relative;
      display: flex; 
      flex-direction: column; 
      min-height: 100vh;
    }

    .form-panel {
      border-radius: 24px; padding: 22px 18px 0; margin: 16px 0 0;
      box-shadow: 0 8px 24px rgba(125,78,124,.08);
      min-height: 0; position: relative; overflow: visible;
      display: block;
    }
    .form-inner {
      margin: 0; padding: 28px 18px;
      background: var(--lavender-light, #eef0f7);
      border-radius: 20px;
    }
    .form-title { font-size: 18px; padding: 8px 32px; margin-bottom: 28px; }
    .form-rows { max-width: 100%; }
    .form-row {
      flex-direction: column; align-items: flex-start; gap: 8px;
      margin-bottom: 20px;
    }
    .form-row .label { width: auto; text-align: left; font-size: 15px; }
    .acct-group { display: flex; align-items: center; gap: 8px; width: 100%; flex-wrap: nowrap; }
    .acct-group input.account { flex: 1 1 0; min-width: 0; width: auto; }
    /* Shrink input text + padding so placeholder fits without clipping */
    .form-row input.account, .form-row input.captcha {
      font-size: 14px; padding-left: 10px; padding-right: 10px;
    }
    .form-row input.account::placeholder, .form-row input.captcha::placeholder {
      font-size: 13px;
    }
    .form-row .captcha-group { display: flex; align-items: center; gap: 10px; width: 100%; flex-wrap: wrap; }
    .form-row input.captcha { width: 140px; }
    .captcha-img { width: 96px; height: 42px; font-size: 28px; }
    .actions { margin-top: 8px; }

    /* HOWHOW jump figure flush to left edge + bottom of panel */
    .form-howhow {
      position: relative !important;
      left: auto; bottom: auto;
      width: 62%; max-width: 300px;
      margin: 24px auto 0 -18px;
      display: block;
    }
    .form-howhow img { width: 100%; height: auto; display: block; }
  }

  /* Reminder modal */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(26,46,46,.45);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
  }
  .modal-overlay.show { display: flex; }
  .modal-box {
    background: #fff;
    border-radius: 28px;
    padding: 48px 56px 40px;
    max-width: 520px; width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(26,46,46,.25);
  }
  .modal-box h2 {
    font-size: 40px; font-weight: 900;
    color: var(--ink-ink);
    margin: 0 0 24px;
  }
  .modal-box p {
    font-size: 20px; color: var(--ink-ink);
    margin: 0 0 36px;
  }
  .modal-box .modal-ok {
    background: #2e8b3f; color: #fff;
    font-family: var(--font-sans); font-weight: 900;
    font-size: 20px;
    padding: 14px 56px; width: auto; max-width: 100%;
    border: none; border-radius: 999px;
    cursor: pointer;
    transition: background .15s, transform .12s;
  }
  .modal-box .modal-ok:hover { background: #226d2f; }
  .modal-box .modal-ok:active { transform: scale(.97); }
  @media (max-width: 1024px) {
    .modal-box { padding: 36px 28px 28px; }
    .modal-box h2 { font-size: 30px; margin-bottom: 16px; }
    .modal-box p { font-size: 16px; margin-bottom: 28px; }
    .modal-box .modal-ok { font-size: 18px; padding: 12px 44px; width: auto; }
  }
