/*
 * edCircuit Login pages (PRD ELG-2.2). The colours are the live sidebar and
 * homepage, measured 2026-10-21: one orange, charcoal, grey text. Change a
 * site colour here, once.
 */
:root {
	--edl-orange: #f06a0a;
	--edl-orange-hover: #c35608;
	--edl-bg: #1f1f1f;
	--edl-panel: #313131;
	--edl-line: #444444;
	--edl-field-line: #4a4a4a;
	--edl-text: #f9f9f9;
	--edl-lead: #d6d9de;
	--edl-muted: #c0c5ce;
	--edl-faint: #a9aeb6;
	--edl-ok: #6fcf97;
	--edl-error: #ff8a7e;
	--edl-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--edl-head: "Proxima Nova", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.edl { background: var(--edl-bg); color: var(--edl-text); font-family: var(--edl-font); font-size: 16px; line-height: 1.5; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--edl-orange); }
a:hover, a:focus { color: var(--edl-orange-hover); }
:focus-visible { outline: 3px solid var(--edl-orange); outline-offset: 2px; }

.edl-split { flex: 1; display: flex; flex-wrap: wrap; min-height: 100vh; }
.edl-brand { flex: 1 1 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 56px 6% 40px; box-sizing: border-box; }
.edl-brand-logo { display: inline-flex; align-self: flex-start; }
.edl-brand-logo img { height: 68px; width: auto; display: block; }
.edl-brand-copy { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.edl-brand-head { margin: 0; font-family: var(--edl-head); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; }
.edl-brand-sub { margin: 0; font-size: 18px; line-height: 1.5; color: var(--edl-lead); }
.edl-brand-foot { margin: 0; font-size: 15px; color: var(--edl-faint); }

.edl-main { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 56px 6%; box-sizing: border-box; }
.edl-col { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 22px; }
h1 { margin: 0; font-family: var(--edl-head); font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -1px; }
.edl-links { margin: 6px 0 0; text-align: center; font-size: 17px; }
.edl-links a { font-weight: 600; }
.edl-register { text-align: left; font-size: 16px; }
.edl-register a { font-weight: 500; }
.edl-lead { margin: 0; font-size: 18px; color: var(--edl-lead); }
.edl-small { margin: 0; font-size: 14px; color: var(--edl-faint); text-align: center; }

.edl-form { display: flex; flex-direction: column; gap: 12px; }
label { font-size: 15px; font-weight: 600; }
.edl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; }
.edl-row a { font-size: 14px; }
input[type="email"], input[type="password"], input[type="text"] { height: 56px; padding: 0 18px; font-size: 17px; border-radius: 10px; border: 1px solid var(--edl-field-line); background: var(--edl-panel); color: #fff; font-family: inherit; width: 100%; }
input[aria-invalid="true"] { border: 2px solid #ff6b5b; }
.edl-pass { position: relative; display: flex; }
.edl-pass input { padding-right: 56px; }
.edl-eye { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--edl-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; }
.edl-eye[aria-pressed="true"] { color: var(--edl-orange); }
.edl-check { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 400; color: var(--edl-lead); margin-top: 6px; }
.edl-check input { width: 20px; height: 20px; accent-color: var(--edl-orange); }

.edl-btn { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 56px; margin-top: 10px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--edl-orange); color: #fff; font-family: var(--edl-font); font-weight: 700; font-size: 19px; cursor: pointer; text-decoration: none; }
.edl-btn:hover, .edl-btn:focus { background: var(--edl-orange-hover); color: #fff; }
.edl-btn[disabled] { opacity: .7; cursor: wait; }
.edl-btn-line { background: transparent; border: 1px solid var(--edl-orange); color: var(--edl-orange); font-size: 17px; min-height: 54px; margin-top: 0; }
.edl-btn-line:hover, .edl-btn-line:focus { background: rgba(240, 106, 10, .12); color: var(--edl-orange); }
.edl-or { display: flex; align-items: center; gap: 14px; color: var(--edl-faint); font-size: 14px; margin: 8px 0; }
.edl-or::before, .edl-or::after { content: ""; flex: 1; height: 1px; background: var(--edl-line); }

.edl-notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; background: var(--edl-panel); border: 1px solid var(--edl-line); color: var(--edl-lead); }
.edl-notice[hidden] { display: none; }
.edl-notice-error { border-color: #ff6b5b; color: var(--edl-error); }
.edl-notice-ok { border-color: var(--edl-ok); color: var(--edl-ok); }
.edl-notice-info { border-color: var(--edl-orange); }

/* WordPress's session-expired box is a 380 px frame (ELG-3.5). */
.edl-interim-main { padding: 20px 12px; align-items: flex-start; }
body.edl-interim h1 { font-size: 26px; }
@media (max-width: 900px) {
	.edl-split { min-height: 0; }
	.edl-brand { flex-basis: 100%; gap: 24px; padding: 32px 16px 8px; }
	.edl-brand-logo img { height: 48px; }
	.edl-brand-head { font-size: 26px; }
	.edl-brand-sub { font-size: 16px; }
	.edl-brand-foot { display: none; }
	.edl-main { flex-basis: 100%; padding: 16px 16px 40px; }
}
