/* SITIS TESTER, premium layer: the entrance (before the code) dressed like its sisters EXPERT and AISTA —
   moving aurora and faint candles behind, the code card with the turning gold border, gold focus, the ruby button with
   a passing light. Loaded only by tester/index.php, after the page's own styles. */
@property --tpA { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes tpRot { to { --tpA: 360deg; } }
@keyframes tpLuciu { 0%, 55% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes tpAura { 50% { transform: translate(var(--dx), var(--dy)) scale(1.12); } }
@keyframes tpFlux { to { background-position: -200% 0; } }

/* the background: a slow aurora and faint candles (the candles are drawn by /expert/pornire-premium.js) */
body.intrare { position: relative; }
.tp-fundal { position: absolute; inset: 0 0 auto; height: 760px; overflow: hidden; pointer-events: none; z-index: 0; }
.tp-fundal i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: tpAura 16s ease-in-out infinite; }
.tp-fundal i:nth-child(1) { width: 520px; height: 420px; left: 10%; top: -140px; background: rgba(166,52,61,.55); --dx: 80px; --dy: 40px; }
.tp-fundal i:nth-child(2) { width: 420px; height: 360px; right: 8%; top: -60px; background: rgba(224,190,115,.2); --dx: -70px; --dy: 60px; animation-duration: 19s; }
.tp-fundal i:nth-child(3) { width: 380px; height: 320px; left: 42%; top: 300px; background: rgba(139,124,246,.12); --dx: 60px; --dy: -50px; animation-duration: 23s; }
.tp-fundal canvas.np-lum { position: absolute; left: 0; right: 0; top: 60px; width: 100%; height: 380px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, transparent 24%, #000 60%, transparent 86%); mask-image: radial-gradient(ellipse at 50% 35%, transparent 24%, #000 60%, transparent 86%); }
body.intrare > *:not(.tp-fundal) { position: relative; z-index: 1; }

/* the logo a little bigger, the line under it in gold */
.tst-intrare .sigla-text { height: 62px !important; }
.tst-intrare .marca span { color: #E0BE73 !important; letter-spacing: .04em; }
.tst-intrare .prezentare .acc { color: #E0BE73 !important; }

/* the code card: the turning gold border of the assistant, a gold top line */
#pas1 > .wrap { position: relative; border-color: transparent !important; background: radial-gradient(120% 70% at 50% 0%, rgba(224,190,115,.08), transparent 60%), linear-gradient(180deg, #1b1a1c, #131214) !important;
  box-shadow: 0 30px 70px -32px #000, 0 0 60px -26px rgba(224,190,115,.3) !important; }
#pas1 > .wrap::before { content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--tpA), rgba(224,190,115,.08), rgba(224,190,115,.9), rgba(166,52,61,.7), rgba(139,124,246,.6), rgba(224,190,115,.08) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: tpRot 9s linear infinite; }
#pas1 .vestea b { color: #E0BE73 !important; }
#pas1 input[type=text]:focus, #pas1 input[type=email]:focus { border-color: rgba(224,190,115,.7) !important; box-shadow: 0 0 0 3px rgba(224,190,115,.16) !important; }

/* buttons: the ruby one with depth and a passing light, the outlined one turns gold */
#pas1 .btn:not(.gh) { position: relative; overflow: hidden; background: linear-gradient(135deg, #BE404B, #8C2B33 58%, #6E2229) !important; border-color: rgba(240,168,172,.38) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 34px -12px rgba(166,52,61,.85) !important; transition: transform .2s, box-shadow .2s; }
#pas1 .btn:not(.gh)::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: tpLuciu 4.2s ease-in-out infinite; }
#pas1 .btn:not(.gh):hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 16px 40px -12px rgba(190,64,75,.95), 0 0 0 1px rgba(224,190,115,.35) !important; }
#pas1 .btn.gh { transition: color .2s, border-color .2s, background .2s; }
#pas1 .btn.gh:hover { color: #F3D9A0 !important; border-color: rgba(224,190,115,.6) !important; background: rgba(224,190,115,.06) !important; }
#pas1 .comutator.acord input:checked ~ i { background: #8C2B33; }

/* the links under the card */
.jos-intrare a:hover { color: #F3D9A0 !important; border-bottom-color: rgba(224,190,115,.5) !important; }

@media (prefers-reduced-motion: reduce) { .tp-fundal i, #pas1 > .wrap::before, #pas1 .btn::after { animation: none !important; } }
/* 12 Oct 2026: step 1 wider, on two columns: the licence code | the trial code (one column on phones) */
#pas1 .wrap{max-width:820px!important;display:grid;grid-template-columns:minmax(0,1fr) 260px;column-gap:32px;align-items:start}
#pas1 .wrap>*{grid-column:1}
#pas1 .wrap>.proba{grid-column:2;grid-row:1/span 20;align-self:stretch;margin:0!important;padding:0 0 0 28px!important;border:0!important;border-left:1px solid rgba(255,255,255,.08)!important;display:flex;flex-direction:column;justify-content:center;gap:12px}
#pas1 .tstbox{display:flex!important;flex-direction:row!important;align-items:flex-end!important;max-width:none!important;gap:12px}
#pas1 .tstbox .camp{flex:1 1 auto!important;min-width:0;margin:0!important}
#pas1 .tstbox .btn{flex:none!important;height:50px;margin:0!important}
#pas1 .tstbox .btn{width:auto!important;padding-left:26px!important;padding-right:26px!important}
@media (max-width:760px){#pas1 .wrap{grid-template-columns:minmax(0,1fr)}#pas1 .wrap>.proba{grid-column:1;grid-row:auto;border-left:0!important;padding:18px 0 0!important;border-top:1px solid rgba(255,255,255,.08)!important}#pas1 .tstbox{flex-direction:column!important;align-items:stretch!important}}
/* 12 Oct 2026: step 2 under step 1: narrower, the account and the day's schedule side by side, the fields at one height */
#pas2 .wrap{max-width:980px!important}
#fisa{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px}
#fisa>*{grid-column:1/-1}
#fisa>.fisa-sec:has([name=depozit]),#fisa>.fisa-sec:has([name=start]){grid-column:auto}
#fisa .fisa-sec:has([name=start]) .rand4,#fisa .fisa-sec:has([name=depozit]) .randfit{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px}
#fisa input:not([type=checkbox]):not([type=radio]):not([type=hidden]),#fisa select{height:42px!important;box-sizing:border-box}
@media (max-width:860px){#fisa{grid-template-columns:minmax(0,1fr)}#fisa>.fisa-sec:has([name=depozit]),#fisa>.fisa-sec:has([name=start]){grid-column:1/-1}}
/* signed in (no trial column): step 1 on one column; the "tests used" card centred under it at the same width */
#pas1 .wrap:not(:has(>.proba)){grid-template-columns:minmax(0,1fr)}
#pas1 .wrap:not(:has(>.proba)) .tstbox{max-width:620px!important}
#pas1 .tstnota{text-align:left!important}
#pas2 .wrap:has(.gata-teste){max-width:820px!important}
#pas2 .gata-teste{max-width:none!important;margin-left:0!important;margin-right:0!important}

/* 14 Oct 2026: on phones the row of links under the card wraps on two centred lines, away from the screen edges */
@media (max-width:560px){ .jos-intrare { max-width:320px; margin-left:auto !important; margin-right:auto !important; padding:0 16px; line-height:1.9 !important; } }
