/* platform/assets/auth.css - the console's sign-in, forgot and reset pages (one small card). */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 20px 16px;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif; color: #0f172a;
  background: radial-gradient(800px 480px at 15% -10%, rgba(93,124,240,.16), transparent 60%),
              radial-gradient(700px 420px at 110% 110%, rgba(242,182,50,.12), transparent 60%), #f4f6fb; }
.pl-card { width: 100%; max-width: 400px; background: #fff; border-radius: 22px; padding: 34px 32px 28px;
  border: 1px solid rgba(15,23,42,.06); box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 30px 70px -36px rgba(15,23,42,.4); }
.pl-mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; color: #334155; margin-bottom: 22px; }
.pl-mark span { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; background: linear-gradient(135deg, #1d3461, #2346c4); }
.pl-card h1 { margin: 0 0 4px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.pl-sub { margin: 0 0 22px; color: #64748b; font-size: .94rem; line-height: 1.5; }
.pl-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem; font-weight: 600; color: #334155; margin-bottom: 7px; }
.pl-label a { font-weight: 500; color: #2346c4; text-decoration: none; }
.pl-label a:hover { text-decoration: underline; }
.pl-field { display: flex; align-items: center; border: 1px solid #e1e5ee; border-radius: 12px; background: #f8f9fc; margin-bottom: 16px;
  transition: border-color .15s, box-shadow .15s, background .15s; }
.pl-field:focus-within { border-color: #2346c4; background: #fff; box-shadow: 0 0 0 4px rgba(35,70,196,.12); }
.pl-field > i { padding: 0 4px 0 14px; color: #64748b; }
.pl-field input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: #0f172a; padding: 0 12px 0 8px; }
.pl-eye { border: 0; background: transparent; color: #64748b; width: 40px; height: 40px; border-radius: 10px; margin-right: 3px; cursor: pointer; }
.pl-eye:hover { background: rgba(15,23,42,.05); color: #0f172a; }
.pl-remember { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; color: #334155; user-select: none; position: relative; margin: 2px 0 20px; }
.pl-remember input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pl-switch { width: 38px; height: 22px; border-radius: 999px; background: #cbd2e0; position: relative; transition: background .2s; flex: 0 0 38px; }
.pl-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,.3); transition: transform .2s; }
.pl-remember input:checked + .pl-switch { background: #2346c4; }
.pl-remember input:checked + .pl-switch::after { transform: translateX(16px); }
.pl-remember input:focus-visible + .pl-switch { outline: 3px solid rgba(35,70,196,.3); outline-offset: 2px; }
.pl-btn { width: 100%; height: 48px; border: 0; border-radius: 12px; color: #fff; font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  background: linear-gradient(135deg, #1d3461, #2346c4); box-shadow: 0 14px 26px -16px rgba(35,70,196,.9); transition: transform .15s, filter .15s; }
.pl-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.pl-btn:focus-visible { outline: 3px solid rgba(242,182,50,.8); outline-offset: 2px; }
.pl-msg { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; font-size: .9rem; line-height: 1.45; word-break: break-word; }
.pl-msg.is-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.pl-msg.is-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.pl-msg a { color: inherit; font-weight: 600; }
.pl-foot { margin-top: 20px; text-align: center; font-size: .85rem; }
.pl-foot a { color: #64748b; text-decoration: none; }
.pl-foot a:hover { color: #0f172a; text-decoration: underline; }
@media (max-width: 420px) { .pl-card { padding: 28px 22px 24px; border-radius: 18px; } }
a.pl-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
/* pay.php (school subscription) */
.pl-school { margin: -6px 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #64748b; }
.pl-amount { margin: 6px 0 10px; font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; color: #1d3461; line-height: 1.1; }
.pl-done { font-size: 3rem; line-height: 1; color: #16a34a; margin-bottom: 10px; }
.pl-note { margin: 14px 0 0; text-align: center; font-size: .8rem; color: #64748b; }
.pl-sub.mb-1 { margin-bottom: 4px; }
.small { font-size: .82rem; }
.text-secondary { color: #64748b; }
code { font-size: .85em; color: #334155; background: #f1f4f9; padding: 1px 6px; border-radius: 6px; }
