/* Two-panel layout: black-and-gold panel on the left, white form on the right (sign-in pages and first-login pages) */
.sp { display: grid; grid-template-columns: 5fr 6fr; min-height: 100vh; }
.sp-l { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 56px; color: #ececef;
  background: radial-gradient(70% 50% at 30% 0, rgba(225,227,235,.20), transparent 70%), #2c2d31; }
.sp-l::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(120deg, rgba(255,255,255,.02) 0 2px, transparent 2px 14px); }
.sp-l > * { position: relative; z-index: 1; }
.sp-r { position: relative; }
.sp-nfc { position: absolute; top: 56px; right: 56px; color: #2a2b2f; }
.sp-chip { display: block; width: 42px; height: 31px; border-radius: 7px; background: linear-gradient(135deg, #f6f6f8, #a9abb2); }
.sp-big { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid #55565d; border-radius: 22px; background: #36373c; color: #d6d7dc; }
.sp-mid { margin-top: clamp(48px, 15vh, 160px); }
.sp-foot { margin-top: auto; padding-top: 32px; }
.sp-mid h2 { margin: 24px 0 12px; font: 400 40px/1.2 Georgia, "Times New Roman", "Songti SC", serif; letter-spacing: 1px; color: #fafafb; }
.sp-mid p { margin: 0; max-width: 360px; color: #b4b5bb; }
.sp-foot { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #8f9097; }
.sp-r { display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; color: #2a2b2f; }
.sp-form { width: 100%; max-width: 380px; }
.sp-flash { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4; border: 1px solid; }
.sp-flash::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 10px; }
.sp-flash.ok { background: #eef7f1; border-color: #cfe8d9; color: #137a4b; }
.sp-flash.ok::before { background-color: #137a4b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.sp-flash.err { background: #fdf0ef; border-color: #f4cfcb; color: #b3261e; }
.sp-flash.err::before { background-color: #b3261e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 3v3.5M6 9h.01'/%3E%3C/svg%3E"); }
.sp-flash.info { background: #f5f5f6; border-color: #e3e4e8; color: #6b6d74; }
.sp-flash.info::before { display: none; }
.chk { list-style: none; margin: 14px 0 0; padding: 0; font-size: 13px; color: #6b6d74; }
.chk li { position: relative; padding: 3px 0 3px 26px; }
.chk li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, #c4c5cb 0 2.5px, transparent 3px); }
.chk li.ok { color: #137a4b; }
.chk li.ok::before { background: #137a4b; }
.chk li.ok::after { content: ""; position: absolute; left: 4.5px; top: 9px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.9); }
@media (max-width: 820px) {
  .sp { grid-template-columns: 1fr; min-height: 0; }
  .sp-l { padding: 22px 24px; flex-direction: row; align-items: center; gap: 16px; }
  .sp-big, .sp-mid p, .sp-foot, .sp-nfc { display: none; }
  .sp-mid { margin-top: 0; }
  .sp-mid h2 { margin: 0; font-size: 24px; }
  .sp-r { padding: 28px 20px 40px; align-items: flex-start; }
}
/* password box with the show/hide eye (used on the sign-in pages and inside the app) */
.l-pw { position: relative; }
.l-pw input { padding-right: 46px; }
.l-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: #85878e; cursor: pointer; }
.l-eye:hover, .l-eye:focus-visible { background: #ececef; color: #2a2b2f; outline: none; }
.l-eye .eye-off, .l-eye[aria-pressed="true"] .eye-on { display: none; }
.l-eye[aria-pressed="true"] .eye-off { display: block; }

ul.chk { display: block; cursor: default; }
