@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* RM Clients — σελίδα σύνδεσης πελατών */
:root {
	--rl-brand: #f29c1a;
	--rl-ink: #161a21;
	--rl-ink2: #3d4451;
	--rl-muted: #6b7280;
	--rl-line: #e3e6eb;
	--rl-soft: #f5f6f8;
	--rl-bad: #c2372c;
	--rl-bad-soft: #fdecea;
	--rl-ok: #0e8a5a;
	--rl-ok-soft: #e6f7ef;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.rl-body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--rl-ink); background: #fff; -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.rl { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: 100vh; }

/* Αριστερό πάνελ με το brand */
.rl-side {
	position: relative; overflow: hidden; color: #fff; padding: 44px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	background: linear-gradient(150deg, color-mix(in srgb, var(--rl-brand) 88%, #fff) 0%, var(--rl-brand) 45%, color-mix(in srgb, var(--rl-brand) 70%, #000) 100%);
}
.rl-side::before, .rl-side::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09); pointer-events: none; }
.rl-side::before { width: 520px; height: 520px; right: -200px; top: -160px; }
.rl-side::after { width: 380px; height: 380px; left: -140px; bottom: -150px; background: rgba(0, 0, 0, .06); }
.rl-side > * { position: relative; z-index: 1; }
.rl-logo { display: flex; align-items: center; gap: 12px; font-size: 19px; }
.rl-logo img { max-height: 46px; max-width: 220px; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .12)); }
.rl-mark { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: color-mix(in srgb, var(--rl-brand) 75%, #000); display: grid; place-items: center; font-weight: 800; font-size: 16px; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.rl-logo b { font-weight: 700; }
.rl-pitch h2 { font-size: 34px; line-height: 1.15; margin: 0 0 10px; font-weight: 700; letter-spacing: -.01em; }
.rl-pitch > p { margin: 0 0 30px; font-size: 16.5px; opacity: .92; max-width: 420px; }
.rl-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 440px; }
.rl-feat li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(4px); }
.rl-feat svg { width: 22px; height: 22px; margin-top: 1px; }
.rl-feat b { display: block; font-weight: 600; font-size: 15px; }
.rl-feat span { display: block; font-size: 13.5px; opacity: .9; }
.rl-side-foot { margin: 0; font-size: 13px; opacity: .85; }
.rl-side-foot a { text-decoration: none; }
.rl-side-foot a:hover { text-decoration: underline; }

/* Φόρμα */
.rl-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px 28px; background: #fff; }
.rl-mobile-logo { display: none; }
.rl-card { width: min(400px, 100%); margin: auto 0; }
.rl-card h1 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.rl-sub { margin: 0 0 26px; color: var(--rl-muted); }
.rl-sub b { color: var(--rl-ink2); }
.rl-form { display: grid; gap: 16px; }
.rl-field { display: grid; gap: 7px; }
.rl-field > span:first-child, .rl-row > span { font-size: 13.5px; font-weight: 600; color: var(--rl-ink2); }
.rl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rl-row a { font-size: 13px; font-weight: 500; color: color-mix(in srgb, var(--rl-brand) 72%, #000); text-decoration: none; }
.rl-row a:hover { text-decoration: underline; }
.rl-field input, .rl-pw input {
	width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d3d7de; border-radius: 11px; font: inherit; font-size: 15.5px; color: var(--rl-ink); background: #fff;
	transition: border-color .15s, box-shadow .15s; appearance: none;
}
.rl-field input:hover { border-color: #b9bfc9; }
.rl-field input:focus { outline: none; border-color: var(--rl-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rl-brand) 22%, transparent); }
.rl-pw { position: relative; display: block; }
.rl-pw input { padding-right: 48px; }
.rl-eye { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: 9px; background: none; color: var(--rl-muted); display: grid; place-items: center; cursor: pointer; }
.rl-eye:hover, .rl-eye.on { color: var(--rl-ink); background: var(--rl-soft); }
.rl-eye:focus-visible { outline: 2px solid var(--rl-brand); }
.rl-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--rl-ink2); cursor: pointer; user-select: none; }
.rl-check input { width: 18px; height: 18px; accent-color: var(--rl-brand); margin: 0; }
.rl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: 11px; cursor: pointer; text-decoration: none;
	background: var(--rl-brand); color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; margin-top: 4px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 8px 18px -8px color-mix(in srgb, var(--rl-brand) 80%, transparent); transition: filter .15s, transform .05s;
}
.rl-btn:hover { filter: brightness(.95); }
.rl-btn:active { transform: translateY(1px); }
.rl-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--rl-brand) 40%, transparent); outline-offset: 2px; }
.rl-btn:disabled { opacity: .55; cursor: default; }
.rl-btn.busy::after { content: ''; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: rlspin .7s linear infinite; }
@keyframes rlspin { to { transform: rotate(360deg); } }
.rl-alt { margin: 22px 0 0; text-align: center; color: var(--rl-muted); font-size: 14px; }
.rl-alt a { color: var(--rl-ink2); text-decoration: none; font-weight: 500; }
.rl-alt a:hover { text-decoration: underline; }
.rl-alert { border-radius: 11px; padding: 12px 14px; font-size: 14px; margin: -8px 0 18px; border: 1px solid transparent; }
.rl-alert.bad { background: var(--rl-bad-soft); color: var(--rl-bad); border-color: #f6cfca; }
.rl-alert.ok { background: var(--rl-ok-soft); color: var(--rl-ok); border-color: #bfe8d4; }
.rl-who { margin: -6px 0 2px; font-size: 13.5px; color: var(--rl-muted); }
.rl-meter { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: -6px; }
.rl-meter i { display: block; height: 5px; border-radius: 5px; background: var(--rl-line); position: relative; overflow: hidden; }
.rl-meter i::after { content: ''; position: absolute; inset: 0; width: 0; border-radius: inherit; transition: width .2s, background .2s; }
.rl-meter span { font-size: 12.5px; color: var(--rl-muted); }
.rl-meter.s1 i::after { width: 25%; background: #e0473b; }
.rl-meter.s2 i::after { width: 50%; background: #e8a300; }
.rl-meter.s3 i::after { width: 75%; background: #38a169; }
.rl-meter.s4 i::after { width: 100%; background: #0e8a5a; }
.rl-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rl-foot { display: block; margin: 28px 0 0; font-size: 12.5px; color: var(--rl-muted); text-align: center; }
.rl-foot svg { width: 15px; height: 15px; color: var(--rl-ok); vertical-align: -3px; margin-right: 5px; }
.rl-foot a { text-decoration: none; }
.rl-foot a:hover { text-decoration: underline; }

/* Κινητό / tablet */
@media (max-width: 900px) {
	.rl { grid-template-columns: 1fr; }
	.rl-side { display: none; }
	.rl-main { justify-content: flex-start; padding: 0 20px 24px; background: var(--rl-soft); }
	.rl-mobile-logo {
		display: flex; align-items: center; gap: 10px; width: calc(100% + 40px); margin: 0 -20px 28px; padding: 22px 20px 56px; color: #fff; font-size: 17px;
		background: linear-gradient(150deg, color-mix(in srgb, var(--rl-brand) 88%, #fff), color-mix(in srgb, var(--rl-brand) 75%, #000));
	}
	.rl-mobile-logo img { max-height: 36px; max-width: 180px; }
	.rl-mobile-logo .rl-mark { width: 38px; height: 38px; font-size: 14px; }
	.rl-card { margin: -64px 0 0; background: #fff; border-radius: 18px; padding: 26px 22px; box-shadow: 0 10px 30px -10px rgba(16, 24, 40, .18); border: 1px solid var(--rl-line); }
	.rl-card h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Η φόρμα μέσα σε άλλη σελίδα του θέματος */
.rl-embed { display: flex; justify-content: center; padding: 30px 0; font-family: 'Inter', system-ui, sans-serif; color: var(--rl-ink); }
.rl-embed .rl-card { background: #fff; border: 1px solid var(--rl-line); border-radius: 18px; padding: 30px 28px; box-shadow: 0 10px 30px -12px rgba(16, 24, 40, .16); margin: 0; }
.rl-embed svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.rl-otp { font-size: 24px !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
