/* ==========================================================================
   Zeemy 2026: styles for the account pages (login, signup, forgot password,
   client login), the legal pages, and 404. These pages keep their original
   markup and PHP handlers; this sheet restyles the classes that markup uses
   so they match the rest of the site without Bootstrap or the old theme.
   ========================================================================== */

#page { background: var(--z-wash); }
.container { max-width: var(--z-container); margin: 0 auto; padding: 0 var(--z-gutter); }
.row { display: block; }
.row.justify-content-center > [class*="col-"] { margin: 0 auto; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-white, .color--white { color: #FFFFFF; }
.color--grey { color: var(--z-grey); }
.color--dark { color: var(--z-ink); }
.color--theme { color: var(--z-blue); font-weight: 700; }
.w-700 { font-weight: 700; }
.w-500 { font-weight: 500; }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 16px; } .my-3 { margin: 16px 0; } .mt-4 { margin-top: 24px; } .mt-5 { margin-top: 0; } .mt-25 { margin-top: 20px; } .m-0 { margin: 0; } .pe-2 { padding-right: 8px; } .p-3 { padding: 14px 16px; } .p-0 { padding: 0; }
.d-flex { display: flex; } .align-items-center { align-items: center; } .justify-content-between { justify-content: space-between; } .w-100 { width: 100%; }
.s-22 { font-size: 20px; } .s-26 { font-size: 26px; } .s-30 { font-size: 24px; } .s-40, .s-42 { font-family: var(--z-serif); font-weight: 400; font-size: 44px; line-height: 1.08; letter-spacing: -1px; } .s-52, .s-56 { font-family: var(--z-serif); font-weight: 400; font-size: 56px; line-height: 1.05; letter-spacing: -1.2px; }
.p-sm { font-size: 14px; } .p-md { font-size: 16px; line-height: 1.6; } .p-lg { font-size: 18px; line-height: 1.6; color: var(--z-muted); }

/* --------------------------------------------------------------------------
   Account pages: two-panel card (form + blue message panel)
   -------------------------------------------------------------------------- */
.login-section { padding: 56px 0 96px; }
.register-page-wrapper { display: grid; grid-template-columns: 1fr 1fr; background: #FFFFFF; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(4, 22, 70, .14); border: 1px solid var(--z-line); max-width: 1100px; margin: 0 auto; }
.register-page-wrapper > .row { display: contents; }
.register-page-wrapper .col-md-6 { min-width: 0; }
.register-page-form { padding: 48px 48px 40px; display: flex; flex-direction: column; gap: 14px; }
.register-page-form form { display: flex; flex-direction: column; gap: 14px; }
.register-page-form > form:empty { display: none; }
.register-page-txt { position: relative; overflow: hidden; height: 100%; min-height: 520px; padding: 56px 48px; background: linear-gradient(135deg, var(--z-blue) 0%, var(--z-blue-deep) 100%); color: #FFFFFF; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.register-page-txt::after { content: ""; position: absolute; right: -140px; bottom: -180px; width: 520px; height: 520px; opacity: .14; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><rect x='25' y='123' width='150' height='52' rx='16' fill='white'/><line x1='140' y1='51' x2='60' y2='149' stroke='white' stroke-width='52' stroke-linecap='round'/><rect x='25' y='25' width='150' height='52' rx='16' fill='white'/></svg>") no-repeat center / contain; pointer-events: none; }
.register-page-txt > * { position: relative; }
.register-page-txt h2, .register-page-txt h3 { color: #FFFFFF; }
.register-page-txt h3 { font-family: var(--z-serif); font-weight: 400; font-size: 40px; line-height: 1.08; letter-spacing: -.8px; }
.register-page-txt p { color: var(--z-blue-tint); font-size: 17px; line-height: 1.6; }
.register-page-txt .btn { align-self: flex-start; }

/* fields */
.input-header { font-size: 14px; font-weight: 700; color: var(--z-ink); margin: 0 0 8px; }
.form-control { font: inherit; font-size: 15px; color: var(--z-ink); border: 1px solid var(--z-line-2); border-radius: 12px; padding: 14px 16px; background: #FFFFFF; width: 100%; }
.form-control:focus { outline: 2px solid var(--z-blue); outline-offset: 1px; border-color: var(--z-blue); }
.form-control.is-invalid { border-color: #B42318; }
.wrap-input { position: relative; }
.wrap-input .form-control { padding-right: 52px; }
.btn-show-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--z-grey); border-radius: 999px; }
.btn-show-pass:hover { background: var(--z-wash); color: var(--z-ink); }
.btn-show-pass .eye-pass::before { content: ""; display: block; width: 20px; height: 20px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>") no-repeat center / contain; }
.form-check-input { width: 18px; height: 18px; accent-color: var(--z-blue); }
label { cursor: pointer; }
.form-data { font-size: 14px; color: var(--z-muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.form-data a, .create-account a, .reset-password-link a { font-weight: 700; }
.create-account { font-size: 14px; color: var(--z-muted); }
.reset-password-link p { margin: 0; }
.twh-field-error { color: #B42318; font-size: 13px; margin-top: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-size: 15px; line-height: 1; padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--theme { background: var(--z-blue); color: #FFFFFF; box-shadow: 0 8px 24px rgba(30, 123, 255, .28); width: 100%; }
.btn--theme:hover { background: var(--z-blue-deep); color: #FFFFFF; }
.btn.submit { width: 100%; }
.btn-google { width: 100%; background: #FFFFFF; color: var(--z-ink); border-color: var(--z-line-2); }
.btn-google:hover { border-color: var(--z-ink); color: var(--z-ink); }
.btn-google img { width: 20px; height: 20px; }
.register-page-txt .btn--theme { background: #FFFFFF; color: var(--z-blue-deep); width: auto; box-shadow: 0 10px 30px rgba(4, 22, 70, .35); }
.separator-line { position: relative; text-align: center; font-size: 13px; color: var(--z-grey); margin: 6px 0; }
.separator-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--z-line); }
.separator-line { display: flex; align-items: center; gap: 12px; }
.separator-line::before, .separator-line::after { content: ""; position: static; flex: 1; height: 1px; background: var(--z-line); }
.alert { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.alert-info { color: var(--z-blue-deep); background: var(--z-wash-blue); }

/* signup: package picker on the blue panel */
.register-page-txt .card { background: rgba(255, 255, 255, .12) !important; border: 1px solid rgba(255, 255, 255, .35); border-radius: 16px; overflow: hidden; }
.register-page-txt .card-header { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.register-page-txt .card-header h5 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--z-blue-tint-2); margin: 0; }
.register-page-txt .form-check { display: flex; align-items: center; gap: 12px; }
.register-page-txt .form-check:hover { background: rgba(255, 255, 255, .08); }
.register-page-txt .form-check-input { accent-color: #FFFFFF; flex-shrink: 0; }
.register-page-txt .form-check-label { flex: 1; cursor: pointer; }
.register-page-txt .form-check h6 { font-size: 16px; font-weight: 700; margin: 0; }
.register-page-txt .form-check .text-white { font-size: 14px; }
.register-page-txt .form-check .fw-semibold { font-size: 15px; white-space: nowrap; }
.register-page-txt [style*="border-top: 1px solid white"] { border-top-color: rgba(255, 255, 255, .35) !important; }
.g-recaptcha { display: flex; justify-content: center; }

/* forgot password: single narrow card */
.reset-password-section { padding: 56px 0 96px; }
.reset-page-wrapper { background: #FFFFFF; border-radius: 24px; padding: 48px; box-shadow: 0 30px 70px rgba(4, 22, 70, .14); border: 1px solid var(--z-line); max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.reset-page-wrapper form { display: flex; flex-direction: column; gap: 14px; }
.reset-form-title h5 { font-family: var(--z-serif); font-weight: 400; font-size: 32px; letter-spacing: -.6px; color: var(--z-ink); margin-bottom: 8px; }
.reset-form-title p { color: var(--z-muted); }
.reset-form-msg { margin-top: 12px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.inner-page-hero { padding: 0 0 96px; }
.inner-page-title { background: linear-gradient(135deg, var(--z-blue) 0%, var(--z-blue-deep) 100%); color: #FFFFFF; border-radius: 0 0 24px 24px; padding: 64px 48px; margin: 0 0 48px; }
.inner-page-title h2 { color: #FFFFFF; }
.inner-page-title .p-lg { color: var(--z-blue-tint); margin-top: 14px; }
.legal-info { max-width: 820px; margin: 0 auto; background: #FFFFFF; border: 1px solid var(--z-line); border-radius: 20px; padding: 48px; }
.legal-info h4 { font-family: var(--z-serif); font-weight: 400; font-size: 28px; letter-spacing: -.5px; color: var(--z-ink); margin: 40px 0 12px; }
.legal-info h4:first-child { margin-top: 0; }
.legal-info h5 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.legal-info p, .legal-info li { font-size: 16px; line-height: 1.7; color: var(--z-muted); margin: 0 0 14px; }
.legal-info ul, .legal-info ol { padding-left: 22px; margin: 0 0 14px; }
.legal-info ul { list-style: disc; } .legal-info ol { list-style: decimal; }
.legal-info a { font-weight: 600; }
.txt-block { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
#page-404 { padding: 96px 0 120px; }
.page-404-txt { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 640px; margin: 0 auto; }
.page-404-img { display: none; }
.page-404-txt::before { content: "404"; font-family: var(--z-serif); font-size: 140px; line-height: 1; color: var(--z-blue); letter-spacing: -4px; }
.page-404-txt h2 { color: var(--z-ink); }
.page-404-txt h6 { font-size: 18px; line-height: 1.6; color: var(--z-muted); font-weight: 400; max-width: 480px; }
.page-404-txt .btn--theme { width: auto; margin-top: 8px; }
.divider { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .register-page-wrapper { grid-template-columns: 1fr; }
  .register-page-txt { min-height: 0; padding: 40px 28px; order: -1; }
  #signup .register-page-txt { order: 0; }
  .register-page-form { padding: 32px 24px; }
  .inner-page-title { padding: 48px 28px; border-radius: 0 0 20px 20px; }
  .legal-info { padding: 28px 20px; }
  .s-52, .s-56 { font-size: 38px; }
  .s-40, .s-42 { font-size: 32px; }
  .page-404-txt::before { font-size: 96px; }
}
