/* Login / register / forgot password — matches the original paperlesseducation.org sign-in screen. */
.pa-body { margin: 0; background: #faf9f6; color: #0f172a; min-height: 100vh; }
.pa-wrap { display: flex; min-height: 100vh; }
.pa-wrap *, .pa-wrap *::before, .pa-wrap *::after { box-sizing: border-box; }

/* left panel */
.pa-side {
	position: relative; flex: 0 0 41.15%; min-height: 100vh; padding: 48px; display: flex; flex-direction: column; color: #fff; overflow: hidden;
	background:
		radial-gradient(ellipse 70% 45% at 85% 12%, rgba(4, 60, 36, .85), transparent 70%),
		radial-gradient(ellipse 60% 50% at 10% 95%, rgba(52, 46, 10, .45), transparent 70%),
		linear-gradient(160deg, #13281d 0%, #062818 38%, #0a1d12 70%, #0c1520 100%);
}
.pa-side::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: 44px 44px;
}
.pa-side > * { position: relative; z-index: 1; }
.pa-logo { display: inline-flex; align-self: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.pa-logo img { display: block; height: 42px; width: auto; }
.pa-side-mid { margin-top: auto; margin-bottom: auto; padding: 40px 0; }
.pa-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); color: #fbbf24; font-size: 12.5px; font-weight: 600; }
.pa-pill i { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.pa-h1 { margin: 22px 0 30px; font-size: 31px; line-height: 1.32; font-weight: 700; letter-spacing: -.01em; }
.pa-amber { color: #f5a70c; }
.pa-green { color: #34d399; }
.pa-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; max-width: 470px; }
.pa-features li { display: flex; gap: 20px; align-items: flex-start; }
.pa-check { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(52, 211, 153, .3); background: rgba(16, 185, 129, .1); color: #34d399; margin-top: 2px; }
.pa-check svg { width: 13px; height: 13px; }
.pa-features strong { display: block; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.pa-features p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #a7b8b0; }
.pa-side-foot { border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #8ea39a; }
.pa-stat { width: 28px; height: 28px; border-radius: 50%; background: #f07a12; color: #fff; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; box-shadow: 0 0 0 2px rgba(240, 122, 18, .25); }

/* right panel */
.pa-main {
	position: relative; flex: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; overflow: hidden;
	background:
		radial-gradient(circle at 82% 22%, rgba(251, 191, 36, .13), transparent 32%),
		radial-gradient(circle at 18% 78%, rgba(16, 185, 129, .08), transparent 35%),
		radial-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px) 0 0 / 22px 22px,
		#faf9f6;
}
.pa-back { position: absolute; top: 57px; right: 63px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; color: #334155; font-size: 12px; font-weight: 600; text-decoration: none; box-shadow: 0 2px 6px rgba(15, 23, 42, .04); }
.pa-back:hover { border-color: #10b981; color: #047857; }
.pa-back svg { width: 15px; height: 15px; }

.pa-card { position: relative; z-index: 2; width: 100%; max-width: 440px; background: #fff; border: 1px solid #e8ebe8; border-radius: 30px; padding: 44px 40px 34px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .18); overflow: hidden; }
.pa-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #00c57b, #02df73 55%, #d7c71c); }
.pa-card h2 { margin: 0; text-align: center; font-size: 24px; font-weight: 600; color: #0f172a; letter-spacing: -.01em; }
.pa-sub { margin: 10px auto 26px; max-width: 360px; text-align: center; font-size: 14px; line-height: 1.5; color: #64748b; }
.pa-google { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 14px; border: 1px solid #dbe1e7; background: #fff; color: #1e293b; font-size: 14px; font-weight: 600; text-decoration: none; }
.pa-google:hover { background: #f8fafc; }
.pa-google svg { width: 18px; height: 18px; }
.pa-divider { position: relative; margin: 26px 0 24px; text-align: center; }
.pa-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #edf0f2; }
.pa-divider span { position: relative; background: #fff; padding: 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; }
.pa-form { margin: 0; }
.pa-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #334155; }
.pa-input { position: relative; display: flex; align-items: center; height: 48px; margin-bottom: 22px; border-radius: 14px; border: 1px solid #e2e8f0; background: #f8fafc; transition: border-color .15s, box-shadow .15s, background .15s; }
.pa-input:focus-within { border-color: #10b981; background: #fff; box-shadow: 0 0 0 4px rgba(16, 185, 129, .12); }
.pa-input > svg { position: absolute; left: 16px; width: 17px; height: 17px; color: #94a3b8; }
.pa-input input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 44px 0 44px; font: inherit; font-size: 14px; color: #0f172a; border-radius: 14px; }
.pa-input input::placeholder { color: #94a3b8; }
.pa-eye { position: absolute; right: 12px; width: 30px; height: 30px; border: 0; background: none; color: #94a3b8; cursor: pointer; padding: 6px; }
.pa-eye svg { width: 18px; height: 18px; }
.pa-row { display: flex; align-items: center; justify-content: space-between; margin: -2px 0 24px; font-size: 13px; }
.pa-remember { display: inline-flex; align-items: center; gap: 8px; color: #334155; font-weight: 500; cursor: pointer; }
.pa-remember input { width: 16px; height: 16px; accent-color: #059669; margin: 0; }
.pa-row a { color: #475569; font-size: 12px; font-weight: 500; text-decoration: none; }
.pa-row a:hover { color: #047857; }
.pa-btn { width: 100%; height: 48px; border: 0; border-radius: 14px; background: linear-gradient(90deg, #009a64, #007f57); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(0, 128, 88, .6); }
.pa-btn:hover { filter: brightness(1.06); }
.pa-foot { margin: 26px 0 0; padding-top: 24px; border-top: 1px solid #f1f5f9; text-align: center; font-size: 13.5px; color: #475569; }
.pa-foot a { color: #059669; font-weight: 600; text-decoration: none; }
.pa-foot a:hover { text-decoration: underline; }
.pa-alert { margin: 0 0 18px; padding: 11px 14px; border-radius: 12px; font-size: 13px; font-weight: 500; }
.pa-err { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.pa-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* floating cards */
.pa-float { position: absolute; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; background: #fff; border-radius: 16px; border: 1px solid #eef0ee; box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .25); }
.pa-float-ic { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.pa-float-ic svg { width: 20px; height: 20px; }
.pa-float small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.pa-float b { display: block; font-size: 14px; font-weight: 700; color: #1e293b; }
.pa-float em { display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #c2410c; background: #ffedd5; border: 1px solid #fed7aa; border-radius: 999px; padding: 1px 8px; margin-bottom: 4px; }
.pa-float-0 { left: 7%; top: 25%; transform: rotate(-4deg); }
.pa-float-0 .pa-float-ic { background: #ecfdf5; color: #059669; border-radius: 10px; }
.pa-float-1 { left: 3%; top: 72%; transform: rotate(7deg); }
.pa-float-1 .pa-float-ic { background: #fffbeb; color: #ea8a0c; }
.pa-float-2 { right: 6%; top: 19%; width: 224px; transform: rotate(8deg); padding: 20px 20px 22px 18px; }
.pa-float-2 .pa-float-ic { background: #fff7ed; color: #f97316; border: 1px solid #fed7aa; }
.pa-float-2 b { font-size: 13px; font-weight: 600; }
.pa-float-3 { right: 4%; top: 69%; transform: rotate(-5deg); }
.pa-float-3 .pa-float-ic { background: #ecfdf5; color: #059669; border-radius: 10px; }

@media (max-width: 1279px) { .pa-float { display: none; } }
@media (max-width: 1023px) {
	.pa-side { display: none; }
	.pa-main { padding: 90px 16px 40px; }
	.pa-back { top: 20px; right: 16px; }
}
@media (max-width: 480px) { .pa-card { padding: 34px 22px 26px; border-radius: 24px; } }

/* account page */
.pe-acc { max-width: 1180px; margin: 0 auto; padding: 48px 16px 80px; }
.pe-acc-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 28px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0c2417, #041109 60%, #0b1622); }
.pe-acc-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.pe-acc-head p { margin: 0; color: #a7b8b0; font-size: 14px; }
.pe-acc-head a { color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600; text-decoration: none; }
.pe-acc h2 { margin: 36px 0 16px; font-size: 20px; font-weight: 600; color: #0f172a; }
.pe-acc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pe-acc-item { display: flex; flex-direction: column; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; overflow: hidden; }
.pe-acc-item .pe-acc-cover { aspect-ratio: 1; background: #f8fafc; display: grid; place-items: center; padding: 14px; }
.pe-acc-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pe-acc-item h3 { margin: 0; padding: 14px 16px 6px; font-size: 15px; font-weight: 600; color: #0f172a; }
.pe-acc-item a.pe-acc-open { margin: auto 16px 16px; text-align: center; border-radius: 10px; background: #059669; color: #fff; padding: 9px; font-size: 13px; font-weight: 600; text-decoration: none; }
.pe-acc-empty { padding: 40px; border: 1px dashed #cbd5e1; border-radius: 16px; text-align: center; color: #64748b; }
.pe-acc-empty a { display: inline-block; margin-top: 14px; border-radius: 999px; background: #059669; color: #fff; padding: 9px 20px; font-weight: 600; text-decoration: none; }
