/* autentificare page, desktop layout (screens wider than 720px). Self-contained: no file is shared between pages. */
:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-border: #e0e0e0;
  --color-text: #1a1a1a;
  --color-text-secondary: #555555;
  --color-primary: #2d5be3;
  --color-primary-hover: #1b41b8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--font-sans); background: var(--color-bg); color: var(--color-text); line-height: 1.5; position: relative; overflow-x: hidden; }
.wave { position: absolute; top: 0; right: 0; height: auto; pointer-events: none; user-select: none; z-index: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--font-sans); font-size: 1rem; cursor: pointer;
       border: 1px solid transparent; border-radius: 10px; padding: .75rem 1.4rem; text-align: center; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn-secondary { background: var(--color-surface); border-color: var(--color-primary); color: var(--color-primary); }
.btn-secondary:hover, .btn-secondary:focus-visible { color: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn:focus-visible, .link-button:focus-visible { outline: 3px solid #9db4f5; outline-offset: 2px; }
.redirect-logo { display: block; margin: 0 auto 1rem; width: auto; object-fit: contain; }
h1 { margin: 0 0 .6rem; }
.redirect-text { margin: 0 0 1.4rem; color: var(--color-text-secondary); }
.bar { height: 6px; border-radius: 999px; background: var(--color-border); overflow: hidden; margin: 0 0 1.6rem; }
.bar-fill { height: 100%; width: 100%; background: var(--color-primary); transform-origin: left; animation: countdown 5s linear forwards; }
.stopped .bar-fill { animation-play-state: paused; opacity: .35; }
@keyframes countdown { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .bar-fill { animation: none; transform: none; } }
.link-button { display: inline-block; margin-top: 1.1rem; padding: .2rem; border: 0; background: none; color: var(--color-text-secondary); font-family: var(--font-sans); font-size: .9rem; text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--color-text); }
.back { display: block; margin-top: .8rem; color: var(--color-primary); text-decoration: none; font-size: .95rem; }
.back:hover, .back:focus-visible { color: var(--color-primary-hover); text-decoration: underline; }
.legal { position: absolute; left: 0; right: 0; bottom: .6rem; z-index: 1; text-align: center; font-size: .85rem; }
.legal a { color: var(--color-text-secondary); text-decoration: none; }
.legal a:hover, .legal a:focus-visible { color: var(--color-text); text-decoration: underline; }
.wave { width: min(80vw, 1000px); }
.redirect-main { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.redirect-card { width: 100%; max-width: 34rem; padding: 2.6rem 2.4rem; text-align: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; box-shadow: 0 10px 40px rgba(26, 40, 90, .10); }
.redirect-logo { height: 110px; }
h1 { font-size: 2rem; }
.redirect-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
