/* Νέο modal εισόδου/εγγραφής (auth μπλοκ 3, 21/11/2026· 22/11: σχέδιο των mockup «Taxheaven Εγγραφή & Είσοδος v1»).
   Υπερισχύει του παλιού #login_register_box του style.css. */
#login_register_box.th-auth { --th-brand: #005a77; --th-accent: #019bcc; --th-accent-dk: #018cb8; --th-ink: #1f2a30; --th-muted: #5b6b74;
  --th-line: #b8c4cb; --th-line-lt: #d6dee3; --th-soft: #f4f7f9; --th-sel: #f0f9fc; --th-bad: #a52a1d; --th-bad-bg: #fff5f4; --th-warn: #5a4300; --th-warn-bg: #fff7e6; }
#login_register_box.th-auth .modal-dialog { width: auto; max-width: 460px; margin: 40px auto; padding: 0 16px; }
#login_register_box.th-auth .modal-content { background: #fff; border: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  color: var(--th-ink); font-family: 'Open Sans', Arial, sans-serif; }
#login_register_box.th-auth [hidden] { display: none !important; }

/* γραμμή κορυφής με το «×» (μέσα στη ροή: πριν, απόλυτο πάνω από το .modal-body του Bootstrap, δεν δεχόταν κλικ) */
#login_register_box.th-auth .th-auth-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: var(--th-brand); }
#login_register_box.th-auth .th-auth-brand { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
#login_register_box.th-auth .th-auth-brand span { color: #7fd0ea; }
#login_register_box.th-auth .th-auth-close { position: relative; z-index: 2; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .12);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: 1; text-shadow: none; }
#login_register_box.th-auth .th-auth-close:hover, #login_register_box.th-auth .th-auth-close:focus { background: rgba(255, 255, 255, .24); outline: 0; }

/* καρτέλες */
#login_register_box.th-auth .th-auth-tabs { display: flex; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--th-line-lt); }
#login_register_box.th-auth .th-auth-tabs:after { display: none; }
#login_register_box.th-auth .th-auth-tabs li { flex: 1; float: none; margin: 0; min-width: 0; border: 0; }
#login_register_box.th-auth .th-auth-tabs li a, #login_register_box.th-auth .th-auth-tabs li a:hover, #login_register_box.th-auth .th-auth-tabs li a:focus {
  display: block; height: auto; margin: 0; padding: 12px 0; line-height: 1.4; text-align: center; font-size: 14px; font-weight: 600; color: var(--th-muted);
  background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; text-decoration: none; }
#login_register_box.th-auth .th-auth-tabs li.active a, #login_register_box.th-auth .th-auth-tabs li.active a:hover, #login_register_box.th-auth .th-auth-tabs li.active a:focus {
  color: var(--th-brand); font-weight: 700; background: none; border-bottom-color: var(--th-accent); }
#login_register_box.th-auth .th-auth-tabs li a:focus:not(:focus-visible) { outline: 0; }
#login_register_box.th-auth .tab-content { background: none; padding: 0; }

/* σώμα */
#login_register_box.th-auth .th-auth-body { display: flex; flex-direction: column; gap: 16px; padding: 24px 28px 20px; margin: 0; }
#login_register_box.th-auth .th-auth-head { display: flex; flex-direction: column; gap: 6px; }
#login_register_box.th-auth .th-auth-head h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--th-brand); }
#login_register_box.th-auth .th-auth-head p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--th-muted); }
#login_register_box.th-auth .th-auth-head strong { color: var(--th-ink); }
#login_register_box.th-auth .th-auth-field { display: flex; flex-direction: column; gap: 6px; }
#login_register_box.th-auth label { margin: 0; font-size: 13px; font-weight: 600; color: var(--th-ink); }
#login_register_box.th-auth .th-auth-field input[type=email], #login_register_box.th-auth .th-auth-field input[type=tel] {
  box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px; font-size: 15px; font-family: inherit; color: var(--th-ink);
  background: #fff; border: 1px solid var(--th-line); border-radius: 6px; box-shadow: none; }
#login_register_box.th-auth input:focus { border-color: var(--th-accent); outline: 0; box-shadow: 0 0 0 3px rgba(1, 155, 204, .18); }
#login_register_box.th-auth .th-auth-opt, #login_register_box.th-auth .th-auth-muted { font-weight: 400; color: var(--th-muted); }
#login_register_box.th-auth .th-auth-help { font-size: 12px; line-height: 1.45; color: var(--th-muted); }
#login_register_box.th-auth .th-auth-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.45; cursor: pointer; }
#login_register_box.th-auth .th-auth-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--th-accent); }
#login_register_box.th-auth a { color: var(--th-accent); }
#login_register_box.th-auth a:hover { color: var(--th-accent-dk); }
#login_register_box.th-auth .th-auth-captcha { min-height: 78px; }

/* κουμπιά */
#login_register_box.th-auth .th-auth-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 16px; border: 0;
  border-radius: 6px; background: var(--th-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
#login_register_box.th-auth .th-auth-btn:hover { background: var(--th-accent-dk); }
#login_register_box.th-auth .th-auth-btn[disabled] { opacity: .6; cursor: wait; }
#login_register_box.th-auth .th-auth-btn-2 { height: 44px; background: #fff; color: var(--th-brand); border: 1px solid var(--th-line); font-size: 14px; font-weight: 600; }
#login_register_box.th-auth .th-auth-btn-2:hover { background: var(--th-soft); }
#login_register_box.th-auth .th-auth-back { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--th-accent); font-size: 13px; font-weight: 600; cursor: pointer; }
#login_register_box.th-auth .th-auth-foot { display: block; text-align: center; font-size: 13px; line-height: 1.5; color: var(--th-muted); }
#login_register_box.th-auth .th-auth-foot > div + div { margin-top: 8px; }
#login_register_box.th-auth .th-auth-foot a { font-weight: 600; }
#login_register_box.th-auth .th-auth-small { font-size: 12px; line-height: 1.5; }
#login_register_box.th-auth .th-auth-left { text-align: left; }

/* μηνύματα */
#login_register_box.th-auth .th-auth-msg { display: none; padding: 12px 14px; font-size: 13px; line-height: 1.5; border-radius: 6px;
  background: var(--th-bad-bg); color: var(--th-bad); border: 1px solid #f3c4bd; }
#login_register_box.th-auth .th-auth-msg.is-on { display: block; }
#login_register_box.th-auth .th-auth-msg.is-warn { background: var(--th-warn-bg); color: var(--th-warn); border-color: #f0d9a8; }
#login_register_box.th-auth .th-auth-msg.is-info { background: #eef7fb; color: #0b3d50; border-color: #bfe3f1; }
#login_register_box.th-auth .th-auth-msg .th-auth-btn { margin-top: 10px; height: 44px; font-size: 14px; }
#login_register_box.th-auth .th-auth-msg .th-auth-btn-2 { margin-top: 8px; }

/* 2Β: επιλογή καναλιού */
#login_register_box.th-auth .th-auth-choices { display: flex; flex-direction: column; gap: 10px; }
#login_register_box.th-auth .th-auth-choice { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--th-line); border-radius: 8px;
  background: #fff; color: var(--th-brand); cursor: pointer; }
#login_register_box.th-auth .th-auth-choice.is-on { border: 2px solid var(--th-accent); padding: 13px 15px; background: var(--th-sel); }
#login_register_box.th-auth .th-auth-choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--th-accent); }
#login_register_box.th-auth .th-auth-choice svg { flex: none; }
#login_register_box.th-auth .th-auth-choice > span { display: flex; flex-direction: column; gap: 2px; }
#login_register_box.th-auth .th-auth-choice b { font-size: 14px; color: var(--th-brand); }
#login_register_box.th-auth .th-auth-choice > span > span { font-size: 13px; font-weight: 400; color: var(--th-ink); }
#login_register_box.th-auth .th-auth-nomobile { padding: 12px 16px; border: 1px dashed var(--th-line-lt); border-radius: 8px; font-size: 12px; line-height: 1.45; color: var(--th-muted); }

/* κωδικός σε 6 κουτάκια */
#login_register_box.th-auth .th-auth-otp { display: flex; gap: 8px; }
#login_register_box.th-auth .th-auth-otp input { box-sizing: border-box; width: 100%; max-width: 56px; height: 60px; padding: 0; text-align: center; font-size: 26px; font-weight: 700;
  font-family: inherit; color: var(--th-ink); background: #fff; border: 1px solid var(--th-line); border-radius: 6px; }
#login_register_box.th-auth .th-auth-otp input:focus { border: 2px solid var(--th-accent); background: var(--th-sel); box-shadow: none; }
#login_register_box.th-auth .th-auth-otp input.is-filled { border: 2px solid var(--th-accent); }
#login_register_box.th-auth .th-auth-otp.is-bad input { border: 2px solid #c0392b; background: var(--th-bad-bg); }
#login_register_box.th-auth .th-auth-help-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--th-soft); border-radius: 6px; font-size: 13px; line-height: 1.5; }
#login_register_box.th-auth .th-auth-help-title { font-weight: 600; color: var(--th-ink); }
#login_register_box.th-auth .th-auth-switch { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--th-line);
  border-radius: 6px; color: var(--th-brand); font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
#login_register_box.th-auth .th-auth-resend { padding: 0; border: 0; background: none; color: var(--th-accent); font-weight: 600; cursor: pointer; }
#login_register_box.th-auth .th-auth-resend[disabled] { color: var(--th-muted); cursor: default; font-weight: 400; }

@media (max-width: 480px) {
  #login_register_box.th-auth .modal-dialog { margin: 12px auto; padding: 0 10px; }
  #login_register_box.th-auth .th-auth-body { padding: 20px 18px 18px; }
  #login_register_box.th-auth .th-auth-otp { gap: 6px; }
  #login_register_box.th-auth .th-auth-otp input { height: 52px; font-size: 22px; }
  #login_register_box.th-auth .th-auth-captcha { transform: scale(.92); transform-origin: 0 0; }
}
