/*he-fallbacks*/
/* ================= HostEasy – zona de client & admin (tema site-ului hosteasy.ro) ================= */
:root {
  --bg: #0f1220; --bg-2: #151827; --bg-3: #1c1f33; --line: #2a2d42; --text: #f4f4f8; --muted: #9b9db3;
  --red: #ff3b3b; --red-2: #ff6a3d; --red-soft: rgba(255, 59, 59, .12); --green: #22c55e; --amber: #f59e0b; --blue: #3b82f6;
  --grad: linear-gradient(135deg, var(--red), var(--red-2)); --radius: 16px; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --input: #0c0f1c;
}
:root[data-theme="light"] {
  --bg: #f4f4f7; --bg-2: #ffffff; --bg-3: #f1f1f5; --line: #e4e4ea; --text: #15151a; --muted: #6b6b78; --input: #ffffff;
  --shadow: 0 8px 24px rgba(20, 20, 40, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; letter-spacing: -.01em; line-height: 1.2; }
.ic { flex: none; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[hidden] { display: none !important; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(255, 59, 59, .28); transition: transform .2s, box-shadow .2s, filter .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(255, 59, 59, .38); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--red); color: var(--red-2); }
.btn.danger { background: #b91c1c; box-shadow: none; }
.btn.ok { background: #15803d; box-shadow: none; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-xs { padding: 5px 11px; font-size: 12.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- bara de sus ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; height: 72px; padding: 0 24px; max-width: 1480px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.adm-tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 3px 8px; border-radius: 6px; background: var(--red-soft); color: var(--red-2); }
.topnav { display: flex; gap: 4px; margin-left: 12px; }
.topnav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 14px; }
.topnav a:hover { color: var(--text); background: var(--bg-3); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.theme-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; color: var(--muted); }
:root:not([data-theme="light"]) .theme-btn .moon, :root[data-theme="light"] .theme-btn .sun { display: none; }
.bell { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.bell:hover { color: var(--text); background: var(--bg-3); }
.bell i { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; display: grid; place-items: center; }
.usermenu { position: relative; }
.um-btn { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.um-drop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.usermenu.open .um-drop { opacity: 1; visibility: visible; transform: none; }
.um-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-weight: 700; color: var(--red-2); }
.um-head small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.um-drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.um-drop a:hover { background: var(--bg-3); color: var(--text); }

/* ---------- structură ---------- */
.wrap { display: flex; gap: 26px; max-width: 1480px; margin: 0 auto; padding: 26px 24px 40px; align-items: flex-start; }
.side { position: sticky; top: 98px; flex: 0 0 262px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; max-height: calc(100vh - 120px); overflow-y: auto; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side a { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; transition: .2s; }
.side a:hover { color: var(--text); background: var(--bg-3); }
.side a.on { color: var(--red-2); background: var(--red-soft); }
.side a.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); }
.side .cnt { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 10px; background: var(--red); color: #fff; font-style: normal; font-size: 11.5px; text-align: center; }
.side-group { margin: 14px 14px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .7; }
.side-help { margin-top: 16px; padding: 16px; border-radius: 14px; background: linear-gradient(160deg, var(--red-soft), transparent); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.side-help span { color: var(--muted); font-size: 13px; }
.side-help .btn { color: #fff; text-transform: none; letter-spacing: 0; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.main.full { max-width: 980px; margin: 0 auto; }
.foot { text-align: center; padding: 20px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.foot a:hover { color: var(--red-2); }

/* ---------- carduri ---------- */
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -24px -24px 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.card-h h2 { font-size: 19px; color: var(--red-2); display: flex; align-items: center; gap: 10px; }
.card-h a.more { font-size: 13.5px; font-weight: 600; color: var(--blue); }
.hero-card h1 { font-size: 28px; }
.hero-card .email { color: var(--red-2); font-size: 16px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.stat { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; }
a.stat:hover { background: var(--bg-3); }
.stat-ic { color: var(--muted); }
.stat small { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--muted); letter-spacing: .02em; }
.stat b { font-size: 19px; color: var(--red-2); font-weight: 800; }
.stat.alert-c b { color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid2 > *, .grid3 > *, .card { min-width: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.page-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.page-h h1 { font-size: 26px; }

/* ---------- tabele ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -24px -24px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 12px 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--bg-3); background: color-mix(in srgb, var(--bg-3) 60%, transparent); }
.tbl .r { text-align: right; }
.tbl .nw { white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 34px 10px; }
.doc { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; white-space: nowrap; }
.doc .pdf { width: 32px; height: 38px; border-radius: 4px; background: linear-gradient(#f5f5f7, #e3e3e8); position: relative; flex: none; }
.doc .pdf::after { content: "PDF"; position: absolute; left: 0; right: 0; bottom: 0; font-size: 8.5px; font-weight: 900; color: #fff; background: #dc2626; text-align: center; border-radius: 0 0 4px 4px; }

/* ---------- etichete ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge.ok { background: rgba(34, 197, 94, .14); color: #4ade80; }
.badge.warn { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.badge.bad { background: rgba(239, 68, 68, .14); color: #f87171; }
.badge.info { background: rgba(59, 130, 246, .14); color: #60a5fa; }
.badge.mute { background: var(--bg-3); color: var(--muted); }
:root[data-theme="light"] .badge.ok { color: #15803d; } :root[data-theme="light"] .badge.warn { color: #b45309; } :root[data-theme="light"] .badge.bad { color: #b91c1c; }

/* ---------- formulare ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field small { color: var(--muted); font-size: 12.5px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=url], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--input); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--red-2); box-shadow: 0 0 0 4px var(--red-soft); }
input[readonly] { opacity: .7; }
textarea { resize: vertical; min-height: 110px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.phone { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.form-sec { font-family: Outfit, Inter; font-size: 18px; color: var(--red-2); margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.form-sec:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* ---------- alerte ---------- */
.alert { padding: 13px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid; }
.alert.ok { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #4ade80; }
.alert.err { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #f87171; }
.alert.warn { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .35); color: #fbbf24; }
.alert.info { background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .35); color: #60a5fa; }
:root[data-theme="light"] .alert.ok { color: #15803d; } :root[data-theme="light"] .alert.err { color: #b91c1c; } :root[data-theme="light"] .alert.warn { color: #92400e; }

/* ---------- pagini de autentificare ---------- */
.authpage { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 30px 16px; overflow-x: hidden; }
.auth-bg i { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .35; z-index: -1; }
.auth-bg i:first-child { width: 520px; height: 520px; background: var(--red); left: -160px; top: -160px; }
.auth-bg i:last-child { width: 460px; height: 460px; background: var(--red-2); right: -150px; bottom: -150px; opacity: .25; }
.auth-wrap { width: min(480px, 100%); }
.auth-wrap.wide { width: min(760px, 100%); }
.auth-logo img { height: 52px; width: auto; margin: 0 auto 22px; }
.auth-card { background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 92%, transparent); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 22px; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.auth-alt a, .link { color: var(--red-2); font-weight: 600; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- servicii ---------- */
.svc-list { display: grid; gap: 14px; }
.svc { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--line); border-color: color-mix(in srgb, var(--red) 45%, var(--line)); transform: translateY(-1px); }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); }
.svc b { display: block; font-size: 15.5px; }
.svc small { color: var(--muted); }
.svc .price { text-align: right; font-weight: 700; }
.svc .price small { display: block; font-weight: 500; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; word-break: break-all; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.secret { font-family: ui-monospace, Consolas, monospace; background: var(--bg-3); padding: 2px 8px; border-radius: 6px; }

/* ---------- comandă ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.plan { position: relative; padding: 22px; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.plan:hover { border-color: var(--red); transform: translateY(-2px); }
.plan .p { font-size: 26px; font-weight: 800; font-family: Outfit; }
.plan .p small { font-size: 14px; color: var(--muted); font-weight: 500; }
.cycle-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cycle-opt { position: relative; }
.cycle-opt input { position: absolute; opacity: 0; }
.cycle-opt span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3); cursor: pointer; transition: .2s; }
.cycle-opt span b { font-size: 17px; }
.cycle-opt span small { color: var(--muted); }
.cycle-opt input:checked + span { border-color: var(--red-2); box-shadow: 0 0 0 3px var(--red-soft); }
.summary { position: sticky; top: 98px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: var(--muted); }
.sum-row b { color: var(--text); }
.sum-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.gw { display: grid; gap: 10px; }
.gw label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3); cursor: pointer; }
.gw label:has(input:checked) { border-color: var(--red-2); box-shadow: 0 0 0 3px var(--red-soft); }
.gw input { accent-color: var(--red); }
.gw small { display: block; color: var(--muted); }

/* ---------- factură ---------- */
.invoice-doc { background: #fff; color: #1a1a1f; border-radius: 16px; padding: 40px; }
.invoice-doc h1 { font-size: 26px; color: #1a1a1f; }
.inv-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 3px solid; border-image: linear-gradient(90deg, #ff3b3b, #ff6a3d) 1; padding-bottom: 20px; margin-bottom: 22px; }
.inv-top img { height: 46px; width: auto; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 24px; font-size: 13.5px; }
.inv-parties h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8a8a96; margin-bottom: 6px; }
.inv-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.inv-tbl th { background: #f4f4f7; text-align: left; padding: 10px 12px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #6b6b78; }
.inv-tbl td { padding: 11px 12px; border-bottom: 1px solid #ececf1; }
.inv-tbl .r { text-align: right; }
.inv-totals { margin-left: auto; width: min(320px, 100%); margin-top: 16px; font-size: 14px; }
.inv-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.inv-totals .t { font-size: 19px; font-weight: 800; border-top: 2px solid #1a1a1f; margin-top: 6px; padding-top: 10px; }
.inv-stamp { display: inline-block; padding: 6px 14px; border: 2px solid; border-radius: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; transform: rotate(-4deg); }
.inv-stamp.paid { color: #15803d; } .inv-stamp.unpaid { color: #dc2626; } .inv-stamp.refunded { color: #6b6b78; }
.inv-foot { margin-top: 30px; font-size: 12px; color: #6b6b78; }
@media print {
  body { background: #fff !important; }
  .topbar, .side, .foot, .no-print, .alert { display: none !important; }
  .wrap { padding: 0; display: block; } .main { display: block; }
  .invoice-doc { padding: 0; border-radius: 0; box-shadow: none; }
}

/* ---------- tichete ---------- */
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { padding: 16px 18px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.msg.staff { border-left: 3px solid var(--red-2); background: linear-gradient(90deg, var(--red-soft), var(--bg-3) 40%); }
.msg-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.msg-h b { color: var(--text); }
.msg-body { white-space: pre-wrap; word-break: break-word; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.pager a { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; }
.pager a.on { background: var(--grad); color: #fff; border-color: transparent; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: -6px 0 18px; }
.tabs a { padding: 10px 16px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; }
.tabs a.on { color: var(--red-2); border-color: var(--red-2); }
.chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line); font-size: 12.5px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; }
.chart-bars div { flex: 1; background: var(--grad); border-radius: 6px 6px 0 0; min-height: 3px; position: relative; opacity: .85; }
.chart-bars div:hover { opacity: 1; }
.chart-bars div span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.chart-x { display: flex; gap: 6px; margin-top: 6px; } .chart-x span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .topnav { display: none; } .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .side { position: fixed; left: 0; top: 72px; bottom: 0; z-index: 35; width: 280px; max-height: none; border-radius: 0; transform: translateX(-102%); transition: transform .3s; }
  .side.open { transform: none; box-shadow: 30px 0 60px rgba(0, 0, 0, .5); }
  .wrap { padding: 18px 14px 30px; }
  .grid2, .grid3, .f2, .f3 { grid-template-columns: 1fr; }
  .um-btn .muted, .um-btn b { display: none; }
  .um-btn { padding: 3px; }
  .topbar-in { padding: 0 14px; gap: 10px; }
  .brand img { height: 34px; }
  .svc { grid-template-columns: 44px 1fr; } .svc .price, .svc > :last-child { grid-column: 2; text-align: left; }
  .svc-ic { width: 44px; height: 44px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 8px; }
  .invoice-doc { padding: 22px; } .inv-parties { grid-template-columns: 1fr; }
  .card { padding: 18px; } .card-h { margin: -18px -18px 16px; padding: 14px 18px; } .tbl-wrap { margin: 0 -18px -18px; }
  .tbl th, .tbl td { padding: 12px 16px; }
  .summary { position: static; }
}
@media (max-width: 520px) { .tbl td, .tbl th { padding-left: 10px; padding-right: 10px; } .tbl .badge { font-size: 11px; padding: 3px 8px; } .doc { gap: 9px; } .doc .pdf { width: 26px; height: 32px; } .tbl-wrap { margin: 0 -18px -18px; } .card { padding: 18px; } .top-right .btn.ghost { display: none; } .auth-card { padding: 22px; } .hero-card h1 { font-size: 22px; } }

/* ===== Footer în stilul hosteasy.ro ===== */
.foot { display: none; }
.sf { position: relative; margin-top: 30px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); overflow: hidden; }
.sf::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(600px, 80%); height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 59, 59, .7), transparent); }
.sf-in { max-width: 1480px; margin: 0 auto; padding: 56px 24px 0; }
.sf-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 40px; }
.sf-brand { display: flex; flex-direction: column; align-items: flex-start; }
.sf-brand img { height: 56px; width: auto; }
.sf-brand p { max-width: 340px; margin: 20px 0 22px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.sf-socials { display: flex; gap: 10px; }
.sf-socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: .2s; }
.sf-socials a:hover { color: #fff; background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.sf-socials svg { width: 19px; height: 19px; }
.sf-col { display: flex; flex-direction: column; gap: 12px; }
.sf-col h4 { margin: 0 0 6px; font-family: Outfit, Inter, sans-serif; font-size: 16px; font-weight: 600; color: var(--text); }
.sf-col a { width: fit-content; font-size: 14.5px; color: var(--muted); transition: color .2s, transform .2s; }
.sf-col a:hover { color: var(--text); transform: translateX(3px); }
.sf-trust { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.sf-pay { display: flex; flex-direction: column; gap: 10px; }
.sf-pay-t { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.sf-pay-t svg { color: var(--red); }
.sf-paylogos { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-paylogo { width: 62px; height: 38px; padding: 4px 7px; border-radius: 7px; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); transition: transform .2s; }
.sf-paylogo:hover { transform: translateY(-3px); }
.sf-paylogo svg { width: 100%; height: 100%; }
.sf-anpc { display: flex; flex-wrap: wrap; gap: 12px; }
.anpc { display: flex; align-items: stretch; height: 44px; border-radius: 9px; overflow: hidden; background: #fff; border: 1.5px solid #1d3a8a; color: #1d3a8a; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: transform .2s; }
.anpc:hover { transform: translateY(-3px); }
.anpc__brand { display: flex; align-items: center; gap: 5px; padding: 0 8px; border-right: 1.5px solid #1d3a8a; }
.anpc__brand svg { width: 18px; height: 18px; }
.anpc__brand span { display: flex; flex-direction: column; line-height: 1; }
.anpc__brand b { font-size: 11.5px; font-weight: 900; color: #1d3a8a; }
.anpc__brand em { margin-top: 2px; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 9px; color: #d12b2b; }
.anpc__txt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0 10px; text-align: center; }
.anpc__txt b { max-width: 140px; font-size: 8.5px; font-weight: 800; line-height: 1.15; text-transform: uppercase; color: #1d3a8a; }
.anpc__txt--solo b { max-width: 150px; font-size: 9.5px; }
.anpc__txt i { padding: 1px 8px; border-radius: 99px; background: #1d3a8a; font-style: normal; font-size: 7.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.sf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sf-legal { display: flex; gap: 18px; }
.sf-legal a:hover { color: var(--red-2); }
.sf-mark { display: flex; justify-content: center; height: clamp(56px, 9vw, 150px); overflow: hidden; pointer-events: none; user-select: none; }
.sf-mark span { display: block; white-space: nowrap; font: 800 clamp(70px, 13.5vw, 230px)/.92 Inter, system-ui, sans-serif; letter-spacing: -.045em;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 106, 61, .22) 50%, transparent 58%) 0 0 / 250% 100% no-repeat, linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .025) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sfMark 9s ease-in-out infinite; }
:root[data-theme="light"] .sf-mark span { background: linear-gradient(100deg, transparent 42%, rgba(255, 106, 61, .25) 50%, transparent 58%) 0 0 / 250% 100% no-repeat, linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .03) 75%); -webkit-background-clip: text; background-clip: text; }
@keyframes sfMark { 0% { background-position: 120% 0, 0 0; } 60%, 100% { background-position: -120% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .sf-mark span { animation: none; } }
@media (max-width: 1100px) { .sf-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 24px; } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .sf-in { padding: 44px 16px 0; }
  .sf-grid { grid-template-columns: 1fr 1fr; }
  .sf-col:last-child { grid-column: 1 / -1; }
  .sf-trust { flex-direction: column; align-items: flex-start; }
  .sf-anpc { flex-direction: column; width: 100%; } .anpc { width: 100%; max-width: 280px; } .anpc__txt { flex: 1; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
}
@media print { .sf { display: none !important; } }

/* Logo: comută între varianta pentru temă închisă și cea pentru temă deschisă */
.lg-l { display: none !important; }
:root[data-theme="light"] .lg-d { display: none !important; }
:root[data-theme="light"] .lg-l { display: inline-block !important; }

/* ===== Meniu admin – varianta premium ===== */
.adm-side { padding: 12px; background: linear-gradient(180deg, var(--bg-2), var(--bg-2) 38%); background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 92%, #ff3b3b 8%), var(--bg-2) 38%); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.adm-me { display: flex !important; align-items: center; gap: 12px; padding: 12px !important; margin-bottom: 8px; border-radius: 14px !important; background: var(--bg-3); border: 1px solid var(--line); text-transform: none !important; letter-spacing: 0 !important; color: var(--muted) !important; }
.adm-me:hover { border-color: var(--line); border-color: color-mix(in srgb, var(--red) 45%, var(--line)); }
.adm-me::before { display: none !important; }
.adm-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 16px Outfit, Inter, sans-serif; color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(255, 59, 59, .35); }
.adm-av i { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--bg-3); }
.adm-me-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.adm-me-t b { color: var(--text); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-me-t small { font-size: 12px; color: var(--muted); font-weight: 500; }
.adm-side nav { gap: 3px; }
.adm-side nav a { gap: 12px; padding: 7px 10px; border-radius: 12px; text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 600; }
.adm-side nav a .nic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); color: var(--muted); transition: .2s; }
.adm-side nav a:hover { background: var(--bg-3); background: color-mix(in srgb, var(--bg-3) 70%, transparent); transform: translateX(2px); }
.adm-side nav a:hover .nic { color: var(--text); border-color: var(--line); border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.adm-side nav a.on { color: var(--text); background: linear-gradient(90deg, var(--red-soft), transparent 85%); }
.adm-side nav a.on::before { top: 8px; bottom: 8px; left: -12px; width: 4px; border-radius: 0 4px 4px 0; }
.adm-side nav a.on .nic { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px rgba(255, 59, 59, .4); }
.adm-side .cnt { background: var(--grad); box-shadow: 0 3px 10px rgba(255, 59, 59, .35); font-weight: 700; }
.adm-side .side-group { display: flex; align-items: center; gap: 10px; margin: 16px 10px 6px; font-size: 10.5px; opacity: .6; }
.adm-side .side-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.adm-sys { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-3); text-transform: none !important; letter-spacing: 0 !important; }
.adm-sys::before { display: none !important; }
.adm-sys span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.adm-sys b { font-size: 13px; color: var(--text); }
.adm-sys small { font-size: 12px; color: var(--muted); font-weight: 500; }
.adm-sys .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: admPulse 2s infinite; }
.adm-sys.bad .dot { background: #f59e0b; box-shadow: none; animation: none; }
@keyframes admPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.adm-tag { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(255, 59, 59, .3); }

/* ===== Pachete: ce conțin ===== */
.pk-group { font-size: 18px; margin: 10px 0 14px; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; margin-bottom: 30px; }
.pk { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; }
.pk:hover { border-color: var(--line); border-color: color-mix(in srgb, var(--red) 45%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.pk-type { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-2); }
.pk-top h3 { margin: 4px 0 0; font: 700 20px Outfit, Inter, sans-serif; }
.pk-desc { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.pk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pk-price b { font: 800 28px Outfit, Inter, sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pk-price small { color: var(--muted); font-size: 13.5px; }
.pk-price em { flex-basis: 100%; font-style: normal; font-size: 12.5px; color: #4ade80; }
.pk-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pk-specs li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pk-specs b { color: var(--text); }
.pk-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); }
.pk-ic .flag { font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.pk-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-feat li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--muted); }
.pk-feat li svg { flex: none; margin-top: 2px; color: #22c55e; }
.pk-feat li.hi { color: var(--text); font-weight: 600; }
.pk-feat li.hi svg { color: var(--red-2); }
.pk-feat.compact { padding-top: 2px; }
.pk-opt { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 9px 11px; border-radius: 10px; background: var(--bg-2); border: 1px dashed var(--line); }
.pk-btn { margin-top: auto; width: 100%; }
.card > .pk-specs, .card > .pk-feat { margin-bottom: 14px; }
.card > .pk-feat { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ===== Comandă VPS: sistem de operare, configurare, IP-uri ===== */
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.os-opt { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 14px; background: var(--bg-3); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.os-opt:hover { border-color: var(--line); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.os-opt input { position: absolute; opacity: 0; pointer-events: none; }
.os-dot { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line); transition: .2s; }
.os-opt span:last-child { display: flex; flex-direction: column; gap: 4px; }
.os-opt b { font-size: 14.5px; }
.os-opt small { font-size: 12.5px; color: #4ade80; font-weight: 600; }
.os-opt:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.os-opt:has(input:checked) .os-dot { border-color: var(--red); background: radial-gradient(circle, var(--red-2) 0 4px, transparent 5px); }
.os-opt:has(input:focus-visible) { outline: 2px solid var(--red-2); outline-offset: 2px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px; }
.pw-gen { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); cursor: pointer; }
.pw-gen:hover { color: var(--text); border-color: var(--red); }
.range-box { padding: 18px 20px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.range-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; }
.range-h b { font: 800 26px Outfit, Inter, sans-serif; color: var(--text); }
.range-h small { color: var(--muted); font-weight: 500; font-size: 13px; }
.range-box input[type=range] { --p: 0%; width: 100%; height: 8px; padding: 0; border: 0; border-radius: 99px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, #ff3b3b, #ff6a3d) 0 / var(--p) 100% no-repeat, var(--line); }
.range-box input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--red-2); box-shadow: 0 4px 12px rgba(255, 59, 59, .45); }
.range-box input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--red-2); box-shadow: 0 4px 12px rgba(255, 59, 59, .45); }
.range-s { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--muted); font-family: ui-monospace, monospace; }

/* ===== Meniu sus cu pachete (ca pe hosteasy.ro) ===== */
.brand img { height: 44px; }
.topnav { align-items: center; }
.topnav > a, .tn-btn { padding: 8px 12px; border-radius: 999px; color: var(--muted); font: 500 14px Inter, sans-serif; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.topnav > a:hover, .tn-dd:hover .tn-btn, .tn-dd.open .tn-btn { color: var(--text); background: var(--bg-3); }
.tn-dd { position: relative; }
.tn-btn svg { transition: transform .2s; opacity: .7; }
.tn-dd:hover .tn-btn svg, .tn-dd.open .tn-btn svg { transform: rotate(180deg); }
.tn-menu { position: absolute; left: 0; top: calc(100% + 10px); z-index: 60; min-width: 300px; padding: 8px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.tn-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tn-dd:hover .tn-menu, .tn-dd.open .tn-menu { opacity: 1; visibility: visible; transform: none; }
.tn-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.tn-menu a:hover { background: var(--bg-3); }
.tn-menu a span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.tn-menu b { font-size: 14px; font-weight: 600; }
.tn-menu small { font-size: 12.5px; color: var(--muted); }
.tn-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); transition: .2s; }
.tn-menu a:hover .tn-ic { background: var(--grad); color: #fff; }
.side-mob { display: none; }
@media (max-width: 1100px) { .side-mob { display: block; } }

/* ===== Schimbare limbă ===== */
.lang-dd { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: 700 12.5px Inter, sans-serif; cursor: pointer; }
.lang-btn:hover { border-color: var(--line); border-color: color-mix(in srgb, var(--red) 45%, var(--line)); }
.lflag { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 190px; padding: 6px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.lang-dd.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; font-size: 14px; color: var(--text); }
.lang-menu a:hover { background: var(--bg-3); }
.lang-menu a.on { background: var(--red-soft); color: var(--red-2); font-weight: 600; }
/* ascundem bara Google Translate */
body { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
@media (max-width: 520px) { .lang-btn b { display: none; } .lang-btn { padding: 0 10px; } }

/* ===== Bare de derulare premium (subțiri, apar la hover) ===== */
html { scrollbar-width: thin; scrollbar-color: var(--red) var(--bg); scrollbar-color: color-mix(in srgb, var(--red) 55%, var(--bg-3)) var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border-radius: 99px; border: 3px solid var(--bg); background: linear-gradient(180deg, #ff3b3b, #ff6a3d); }
.side { scrollbar-width: thin; scrollbar-color: transparent transparent; overscroll-behavior: contain; }
.side:hover { scrollbar-color: var(--red) transparent; scrollbar-color: color-mix(in srgb, var(--red) 60%, transparent) transparent; }
.side::-webkit-scrollbar { width: 5px; }
.side::-webkit-scrollbar-track { background: transparent; }
.side::-webkit-scrollbar-thumb { background: transparent; border: 0; border-radius: 99px; }
.side:hover::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff3b3b, #ff6a3d); }
/* meniul admin mai compact ca să încapă fără derulare */
.adm-side { max-height: calc(100vh - 110px); }
.adm-side nav { gap: 1px; }
.adm-side nav a { padding: 5px 10px; font-size: 14px; }
.adm-side nav a .nic { width: 32px; height: 32px; }
.adm-side .side-group { margin: 12px 10px 4px; }
.adm-me { padding: 10px !important; }
.adm-sys { margin-top: 10px; padding: 10px 12px; }

/* ===== Pagina de autentificare animată ===== */
.authpage { display: block; padding: 0; position: relative; }
.auth-bg { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.auth-bg i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.auth-bg i:nth-child(1) { width: 560px; height: 560px; background: #ff3b3b; left: -180px; top: -180px; animation: blobA 18s ease-in-out infinite alternate; }
.auth-bg i:nth-child(2) { width: 480px; height: 480px; background: #ff6a3d; right: -160px; bottom: -160px; opacity: .24; animation: blobB 22s ease-in-out infinite alternate; }
.auth-bg i:nth-child(3) { width: 380px; height: 380px; background: #22c55e; left: 45%; top: 40%; opacity: .10; animation: blobC 26s ease-in-out infinite alternate; }
@keyframes blobA { to { transform: translate(260px, 180px) scale(1.15); } }
@keyframes blobB { to { transform: translate(-240px, -160px) scale(1.2); } }
@keyframes blobC { to { transform: translate(-280px, 120px) scale(.85); } }
.auth-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; transform: perspective(600px) rotateX(62deg); transform-origin: bottom;
  background-image: linear-gradient(var(--red) 1px, transparent 1px), linear-gradient(90deg, var(--red) 1px, transparent 1px); background-image: linear-gradient(color-mix(in srgb, var(--red) 28%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--red) 28%, transparent) 1px, transparent 1px);
  background-size: 54px 54px; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: gridMove 3.5s linear infinite; opacity: .55; }
@keyframes gridMove { to { background-position: 0 54px, 0 0; } }
.auth-tools { position: fixed; top: 18px; right: 20px; z-index: 20; display: flex; gap: 10px; align-items: center; }
.auth-split { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; max-width: 1280px; margin: 0 auto; padding: 40px 32px; }
.auth-split .auth-wrap { justify-self: center; position: relative; z-index: 2; }
.auth-show { position: relative; padding: 20px 0; }
.auth-show-logo img { height: 54px; width: auto; }
.auth-show h2 { margin: 34px 0 14px; font: 800 clamp(30px, 3.2vw, 44px)/1.15 Outfit, Inter, sans-serif; letter-spacing: -.02em; }
.auth-show p { color: var(--muted); font-size: 16px; max-width: 460px; }
.rot { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.rot span { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rotWords 10s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes rotWords { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-100%); } 50%, 68% { transform: translateY(-200%); } 75%, 93% { transform: translateY(-300%); } 100% { transform: translateY(-400%); } }
.stage { position: relative; height: 330px; margin-top: 34px; }
.rack { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 230px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05); display: grid; gap: 9px; animation: floatY 6s ease-in-out infinite; }
.rack .u { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); }
.rack .u i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: led 1.6s infinite; }
.rack .u i:nth-child(2) { background: #ff6a3d; box-shadow: 0 0 8px #ff6a3d; animation-delay: .4s; animation-duration: 1.1s; }
.rack .u i:nth-child(3) { animation-delay: .8s; animation-duration: 2.3s; }
.rack .u:nth-child(2) i { animation-delay: .2s; } .rack .u:nth-child(3) i { animation-delay: .9s; } .rack .u:nth-child(4) i { animation-delay: .5s; } .rack .u:nth-child(5) i { animation-delay: 1.2s; }
.rack .u b { margin-left: auto; width: 70px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--line) 0 40%, #ff3b3b 40% 60%, var(--line) 60%); background-size: 200% 100%; animation: io 2.4s linear infinite; }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes io { to { background-position: -200% 0; } }
@keyframes floatY { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -12px); } }
.fc { position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 14px; background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 88%, transparent); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); white-space: nowrap; animation: floatC 7s ease-in-out infinite; }
.fc > span:not(.fc-ic):not(.dot):not(.bars) { display: flex; flex-direction: column; line-height: 1.3; }
.fc b { font-size: 13.5px; } .fc small { font-size: 12px; color: var(--muted); }
.fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.fc-ic.ok { background: #16a34a; }
.fc .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; animation: admPulse 2s infinite; }
.fc1 { left: 0; top: 10px; animation-delay: -1s; }
.fc2 { right: 0; top: 60px; animation-delay: -3s; }
.fc3 { left: 4%; bottom: 40px; gap: 16px; animation-delay: -5s; }
.fc4 { right: 2%; bottom: 0; animation-delay: -2s; }
@keyframes floatC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; min-width: 56px; }
.bars i { display: block; width: 5px; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #ff6a3d, #ff3b3b); animation: bar 1.4s ease-in-out infinite; }
.bars i:nth-child(1) { animation-delay: -.2s; } .bars i:nth-child(2) { animation-delay: -.5s; } .bars i:nth-child(3) { animation-delay: -.9s; } .bars i:nth-child(4) { animation-delay: -.1s; } .bars i:nth-child(5) { animation-delay: -.7s; } .bars i:nth-child(6) { animation-delay: -1.1s; } .bars i:nth-child(7) { animation-delay: -.4s; }
@keyframes bar { 0%, 100% { height: 8px; } 50% { height: 26px; } }
/* formular: chenar cu lumină care se rotește */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.auth-card { position: relative; animation: cardIn .6s cubic-bezier(.2, .8, .2, 1) both; }
.auth-card::before { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, #ff3b3b 75%, #ff6a3d 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinB 5s linear infinite; }
@keyframes spinB { to { --ang: 360deg; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.auth-card .btn.block { position: relative; overflow: hidden; }
.auth-card .btn.block::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.auth-split .auth-logo { display: none; }
:root[data-theme="light"] .auth-bg i { opacity: .18; }
:root[data-theme="light"] .auth-grid { opacity: .35; }
@media (max-width: 1000px) {
  .auth-split { grid-template-columns: 1fr; padding: 80px 16px 30px; }
  .auth-show { display: none; }
  .auth-split .auth-logo { display: block; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-bg i, .auth-grid, .rack, .rack *, .fc, .bars i, .rot span, .auth-card, .auth-card::before, .auth-card .btn.block::after { animation: none !important; }
}

/* ================= Admin – meniu lateral cu logo integrat (stil adrweb) ================= */
.brand img { height: var(--logo-h, 44px); }
.auth-logo img, .auth-show-logo img { height: calc(var(--logo-h, 44px) * 1.2); }
@media (max-width: 760px) { .brand img { height: calc(var(--logo-h, 44px) * .78); } }
body.ax { min-height: 100vh; min-height: 100dvh; }
.ax-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.ax-side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; z-index: 50;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-2) 30%, var(--bg-2) 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 94%, #ff3b3b 6%) 0%, var(--bg-2) 30%, var(--bg-2) 100%);
  border-right: 1px solid var(--line); }
.ax-side::after { content: ""; position: absolute; top: 0; right: -1px; width: 1px; height: 220px; background: linear-gradient(180deg, var(--red), transparent); opacity: .7; pointer-events: none; }
.ax-brand { position: relative; display: flex; align-items: center; gap: 10px; padding: 18px 18px 16px; min-height: 76px; border-bottom: 1px solid var(--line); }
.ax-brand::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--red) 55%, transparent), transparent); }
.ax-logo { display: flex; align-items: center; min-width: 0; flex: 1; overflow: hidden; }
.ax-logo img { height: min(var(--logo-h, 40px), 46px); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.ax-brand .adm-tag { flex: none; font-size: 9.5px; padding: 3px 7px; }
.ax-close { display: none; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg-3); place-items: center; color: var(--muted); }
.ax-nav { flex: 1; overflow-y: auto; padding: 4px 12px 14px; display: flex; flex-direction: column; gap: 2px;
  scrollbar-width: thin; scrollbar-color: transparent transparent; overscroll-behavior: contain; }
.ax-nav:hover { scrollbar-color: var(--red) transparent; scrollbar-color: color-mix(in srgb, var(--red) 60%, transparent) transparent; }
.ax-nav::-webkit-scrollbar { width: 5px; } .ax-nav::-webkit-scrollbar-thumb { background: transparent; border-radius: 99px; }
.ax-nav:hover::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff3b3b, #ff6a3d); }
.ax-group { display: flex; align-items: center; gap: 10px; padding: 16px 10px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); opacity: .75; }
.ax-group::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.ax-it { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s, transform .2s; }
.ax-it .nic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-3); background: color-mix(in srgb, var(--bg-3) 85%, transparent); border: 1px solid var(--line); transition: .2s; }
.ax-it .ax-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-it:hover { color: var(--text); background: var(--bg-3); background: color-mix(in srgb, var(--bg-3) 75%, transparent); transform: translateX(2px); }
.ax-it:hover .nic { color: var(--text); border-color: var(--line); border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.ax-it.on { color: var(--text); background: linear-gradient(90deg, var(--red), var(--red-2)); background: linear-gradient(90deg, color-mix(in srgb, var(--red) 20%, transparent), color-mix(in srgb, var(--red-2) 4%, transparent));
  box-shadow: inset 0 0 0 1px var(--red); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 28%, transparent); }
.ax-it.on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); box-shadow: 0 0 12px rgba(255, 59, 59, .7); }
.ax-it.on .nic { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px rgba(255, 59, 59, .4); }
.ax-it .cnt { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 10px; background: var(--grad); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; text-align: center; box-shadow: 0 3px 10px rgba(255, 59, 59, .35); }
.ax-foot { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: var(--bg); background: color-mix(in srgb, var(--bg) 35%, transparent); }
.ax-foot .adm-sys { margin: 0; }
.ax-me { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.ax-me-in { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding: 2px 4px; }
.ax-me-in .adm-av { width: 36px; height: 36px; border-radius: 11px; font-size: 15px; }
.ax-out { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); transition: .2s; }
.ax-out:hover { color: #fff; background: #b91c1c; border-color: #b91c1c; }
.ax-main { min-width: 0; display: flex; flex-direction: column; }
.ax-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 28px;
  background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ax-hello { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ax-hello small { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-2); }
.ax-hello b { font-family: Outfit, Inter, sans-serif; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-top .top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ax-content { padding: 26px 28px 50px; max-width: 1400px; width: 100%; }
.ax .um-btn { padding: 3px; }
@media (max-width: 1000px) {
  .ax-layout { grid-template-columns: 1fr; }
  .ax-side { position: fixed; left: 0; top: 0; bottom: 0; width: 286px; transform: translateX(-104%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .ax-side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .55), 30px 0 60px rgba(0, 0, 0, .5); }
  .ax-close { display: grid; }
  .ax .menu-btn { display: inline-flex; }
  .ax-top { padding: 10px 14px; min-height: 64px; gap: 10px; }
  .ax-content { padding: 18px 14px 40px; }
  .ax-site span { display: none; }
  .ax-hello b { font-size: 16px; }
}
@media (max-width: 520px) { .ax-hello small { display: none; } }
@media print { .ax-side, .ax-top { display: none !important; } .ax-layout { display: block; } .ax-content { padding: 0; } }

/* ================= Google + reCAPTCHA ================= */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0; transition: box-shadow .2s, transform .2s; }
.btn-google:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transform: translateY(-1px); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rc-box { display: flex; justify-content: center; min-height: 78px; margin: 4px 0; }
.rc-box > div { transform-origin: center; }
@media (max-width: 380px) { .rc-box > div { transform: scale(.88); } }
.rc-test { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line); }

/* ================= Date blocate (profil) ================= */
.lockset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lockset input, .lockset select, input.locked { opacity: .7; cursor: not-allowed; }
.lock-note { display: flex; align-items: center; gap: 8px; }

/* ================= Logo și favicon (admin) ================= */
.br-now { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 16px; }
.br-slot { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.br-slot small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.br-slot span { font-size: 13px; }
.br-prev { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 14px 18px; border-radius: 12px; }
.br-prev img { width: auto; max-width: 100%; object-fit: contain; }
.br-slot.dark .br-prev { background: #0f1220; border: 1px solid #2a2d42; }
.br-slot.light .br-prev { background: #fff; border: 1px solid #e5e5ea; }
.br-slot.fav .br-prev { background: repeating-conic-gradient(var(--bg-3) 0 25%, var(--bg-2) 0 50%) 0 0 / 16px 16px; background: repeating-conic-gradient(color-mix(in srgb, var(--bg-3) 100%, transparent) 0 25%, var(--bg-2) 0 50%) 0 0 / 16px 16px; border: 1px solid var(--line); }
.br-drop { position: relative; display: grid; place-items: center; min-height: 170px; border-radius: 14px; border: 2px dashed var(--line); cursor: pointer; text-align: center; overflow: hidden; transition: border-color .2s, background .2s; }
.br-drop:hover, .br-drop.over { border-color: var(--red); background: var(--red-soft); }
.br-drop input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; opacity: 0; cursor: pointer; }
.br-drop-in { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); padding: 18px; pointer-events: none; }
.br-drop-in b { color: var(--text); }
.br-drop img { max-height: 120px; width: auto; padding: 12px; pointer-events: none; }
.br-drop.has .br-drop-in { display: none; }
.fav-bg { align-items: center; }
.fav-bg input[type=color] { width: 44px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.br-live { display: grid; place-items: center; min-height: 120px; margin-top: 14px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); padding: 14px; }
.br-live img { width: auto; max-width: 100%; }
.br-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.br-item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-3); transition: border-color .2s, transform .2s; }
.br-item:hover { border-color: var(--line); border-color: color-mix(in srgb, var(--red) 45%, var(--line)); transform: translateY(-2px); }
.br-item.used { border-color: var(--green); border-color: color-mix(in srgb, var(--green) 55%, var(--line)); }
.br-thumb { position: relative; display: grid; place-items: center; height: 120px; padding: 16px;
  background: repeating-conic-gradient(#1c1f33 0 25%, #151827 0 50%) 0 0 / 18px 18px; }
:root[data-theme="light"] .br-thumb { background: repeating-conic-gradient(#ececf1 0 25%, #fff 0 50%) 0 0 / 18px 18px; }
.br-thumb img { max-height: 88px; width: auto; max-width: 100%; object-fit: contain; }
.br-tag { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--green); color: #fff; }
.br-tag + .br-tag { left: auto; right: 8px; }
.br-meta { padding: 8px 12px 0; font-size: 12px; color: var(--muted); }
.br-acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 12px; }
.br-acts .btn { padding: 6px 11px; font-size: 12.5px; }
@media (max-width: 900px) { .br-now { grid-template-columns: 1fr; } }

/* ================= Fundal ca pe hosteasy.ro (albastru-închis → mov, cu grilă fină) ================= */
:root:not([data-theme="light"]) body {
  background: radial-gradient(ellipse 60% 70% at 88% 30%, rgba(120, 60, 200, .17), transparent 70%),
    radial-gradient(ellipse 45% 50% at 8% 0%, rgba(255, 59, 59, .06), transparent 70%),
    linear-gradient(135deg, #0f1220 0%, #131527 55%, #1a1328 100%);
  background-attachment: fixed; /* toate straturile fixe: fără dungă când pagina se derulează */
  background-color: #0f1220;
}
:root:not([data-theme="light"]) { background-color: #0f1220; }
:root:not([data-theme="light"]) body::before {
  content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 60%, transparent 100%);
}
/* carduri și meniuri ușor transparente, ca să se vadă fundalul */
:root:not([data-theme="light"]) .card, :root:not([data-theme="light"]) .stat, :root:not([data-theme="light"]) .side { background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 88%, transparent); }
:root:not([data-theme="light"]) .ax-side { background: linear-gradient(180deg, rgba(25, 20, 45, .92) 0%, rgba(17, 19, 34, .94) 35%, rgba(17, 19, 34, .96) 100%); backdrop-filter: blur(12px); }
:root:not([data-theme="light"]) .ax-top, :root:not([data-theme="light"]) .topbar { background: rgba(15, 18, 32, .78); }


/* ================= Autentificare v2: scene animate pe secțiuni (client / cont nou / resetare / admin) ================= */
.auth-split { min-height: 100vh; min-height: 100dvh; padding: 48px 32px 24px; }
.auth-top { display: none; }
.auth-emb { display: none; }
.auth-stars { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; opacity: .55; animation: twinkle 6s ease-in-out infinite alternate;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 72%, #fff, transparent), radial-gradient(1.5px 1.5px at 46% 34%, #c4b5fd, transparent),
    radial-gradient(1px 1px at 63% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 78% 58%, #fda4af, transparent), radial-gradient(1px 1px at 88% 26%, #fff, transparent),
    radial-gradient(1px 1px at 8% 88%, #fff, transparent), radial-gradient(1.5px 1.5px at 54% 90%, #fff, transparent), radial-gradient(1px 1px at 36% 8%, #fff, transparent), radial-gradient(1px 1px at 94% 82%, #c4b5fd, transparent); }
@keyframes twinkle { to { opacity: .15; } }
:root[data-theme="light"] .auth-stars { display: none; }
.auth-show .stage { height: 360px; margin-top: 30px; }
.auth-show .win-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--bg); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 8px; font: 500 11.5px ui-monospace, Consolas, monospace; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- client: fereastra „zona de client” cu servicii, cursor care plătește, notificări --- */
.st-client .orbit { position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px; border-radius: 50%; border: 1px dashed var(--muted); border: 1px dashed color-mix(in srgb, var(--muted) 30%, transparent); animation: orbit 40s linear infinite; }
.st-client .orbit span { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 8px 22px rgba(255, 59, 59, .35); animation: orbit 40s linear infinite reverse; }
.st-client .orbit span:nth-child(1) { left: 50%; top: 0; } .st-client .orbit span:nth-child(2) { left: 100%; top: 50%; background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 8px 22px rgba(168, 85, 247, .35); }
.st-client .orbit span:nth-child(3) { left: 50%; top: 100%; background: linear-gradient(135deg, #22c55e, #0ea5e9); box-shadow: 0 8px 22px rgba(34, 197, 94, .3); } .st-client .orbit span:nth-child(4) { left: 0; top: 50%; }
@keyframes orbit { to { transform: rotate(360deg); } }
.win { position: absolute; left: 50%; top: 14px; width: 330px; margin-left: -165px; border-radius: 16px; overflow: visible; background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 90%, transparent); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(12px); animation: floatC 7s ease-in-out infinite; }
.win > .win-bar { border-radius: 16px 16px 0 0; }
.win-b { padding: 12px 14px 10px; display: grid; gap: 8px; }
.win-h { display: flex; justify-content: space-between; align-items: baseline; } .win-h b { font-size: 13.5px; } .win-h small { font-size: 11.5px; color: var(--muted); }
.svc { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; background: var(--bg); background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid var(--line); animation: svcIn .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .15s + .35s); }
.svc > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; } .svc b { font-size: 12.5px; } .svc small { font-size: 11px; color: var(--muted); }
.svc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; background: var(--grad); }
.svc:nth-child(3) .svc-ic { background: linear-gradient(135deg, #a855f7, #6366f1); } .svc:nth-child(4) .svc-ic { background: linear-gradient(135deg, #22c55e, #0ea5e9); }
@keyframes svcIn { from { opacity: 0; transform: translateX(-16px); } }
.pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font: 700 10.5px Inter, sans-serif; font-style: normal; color: #22c55e; background: rgba(34, 197, 94, .12); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: admPulse 2s infinite; }
.eq { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 4px; height: 6px; border-radius: 2px; background: linear-gradient(180deg, #22c55e, #0ea5e9); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; } .eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }
.inv { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 11px; border: 1px dashed var(--red-2); border: 1px dashed color-mix(in srgb, var(--red-2) 45%, transparent); }
.inv > span:first-child { display: flex; flex-direction: column; line-height: 1.25; } .inv b { font-size: 12.5px; } .inv small { font-size: 11px; color: var(--muted); }
.paybtn { position: relative; width: 94px; height: 28px; border-radius: 8px; overflow: hidden; font-size: 11.5px; font-weight: 700; color: #fff; }
.paybtn > span { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.p1 { background: var(--grad); animation: payA 8s infinite; } .p2 { background: #16a34a; animation: payB 8s infinite; }
@keyframes payA { 0%, 42% { opacity: 1; transform: none; } 40% { transform: scale(.92); } 46%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes payB { 0%, 43% { opacity: 0; transform: translateY(100%); } 48%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.win .cursor { position: absolute; width: 22px; height: 22px; right: 28px; bottom: 50px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); animation: cur 8s cubic-bezier(.5, 0, .3, 1) infinite; z-index: 3; }
@keyframes cur { 0% { transform: translate(90px, 120px); opacity: 0; } 10% { opacity: 1; } 34% { transform: translate(0, 0); } 39% { transform: translate(0, 0) scale(.8); } 43% { transform: translate(0, 0); } 60% { transform: translate(-150px, 60px); opacity: 1; } 70%, 100% { transform: translate(-170px, 80px); opacity: 0; } }
.spark { width: 100%; height: 40px; }
.spark path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 5s ease-in-out infinite; }
@keyframes draw { 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -400; } }
.toasts { position: absolute; right: -6px; top: 0; width: 220px; height: 70px; }
.toast { position: absolute; top: 0; right: 0; bottom: auto; left: auto; inset: 0 0 auto auto; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 13px; white-space: nowrap; background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 92%, transparent); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); backdrop-filter: blur(10px); opacity: 0; animation: toast 9s infinite; }
.toast > span:last-child { display: flex; flex-direction: column; line-height: 1.25; } .toast b { font-size: 12.5px; } .toast small { font-size: 11px; color: var(--muted); }
.toast .fc-ic { width: 30px; height: 30px; border-radius: 9px; }
.toast:nth-child(2) { animation-delay: 3s; } .toast:nth-child(3) { animation-delay: 6s; }
@keyframes toast { 0% { opacity: 0; transform: translateX(40px); } 4%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-14px); } }

/* --- cont nou: pașii de pornire care se aprind pe rând --- */
.st-reg { display: flex; flex-direction: column; gap: 22px; height: auto !important; }
.onb { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 420px; }
.onb-line { position: absolute; left: 22px; top: 24px; bottom: 24px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.onb-line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, #ff3b3b, #a855f7); animation: onbLine 8s ease-in-out infinite; }
@keyframes onbLine { 0% { height: 0; } 66%, 90% { height: 100%; } 96%, 100% { height: 0; opacity: .3; } }
.onb li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 0; }
.onb li > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; } .onb b { font-size: 15px; } .onb small { font-size: 12.5px; color: var(--muted); }
.ob-n { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); transition: .3s; }
.onb li em { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #16a34a; transform: scale(0); }
.onb li:nth-of-type(1) .ob-n { animation: on0 8s infinite; } .onb li:nth-of-type(1) em { animation: ok0 8s infinite; }
.onb li:nth-of-type(2) .ob-n { animation: on1 8s infinite; } .onb li:nth-of-type(2) em { animation: ok1 8s infinite; }
.onb li:nth-of-type(3) .ob-n { animation: on2 8s infinite; } .onb li:nth-of-type(3) em { animation: ok2 8s infinite; }
.onb li:nth-of-type(4) .ob-n { animation: on3 8s infinite; } .onb li:nth-of-type(4) em { animation: ok3 8s infinite; }
@keyframes on0 { 0%, 2% { color: var(--muted); background: var(--bg-2); } 4%, 90% { color: #fff; background: linear-gradient(135deg, #ff3b3b, #ff6a3d); box-shadow: 0 8px 24px rgba(255, 59, 59, .4); } 96% { color: var(--muted); background: var(--bg-2); } }
@keyframes on1 { 0%, 22% { color: var(--muted); background: var(--bg-2); } 24%, 90% { color: #fff; background: linear-gradient(135deg, #ff6a3d, #e0457b); box-shadow: 0 8px 24px rgba(255, 106, 61, .4); } 96% { color: var(--muted); background: var(--bg-2); } }
@keyframes on2 { 0%, 42% { color: var(--muted); background: var(--bg-2); } 44%, 90% { color: #fff; background: linear-gradient(135deg, #e0457b, #a855f7); box-shadow: 0 8px 24px rgba(224, 69, 123, .4); } 96% { color: var(--muted); background: var(--bg-2); } }
@keyframes on3 { 0%, 64% { color: var(--muted); background: var(--bg-2); } 66%, 90% { color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 8px 24px rgba(168, 85, 247, .45); } 96% { color: var(--muted); background: var(--bg-2); } }
@keyframes ok0 { 0%, 14% { transform: scale(0); } 18% { transform: scale(1.25); } 21%, 90% { transform: scale(1); } 95%, 100% { transform: scale(0); } }
@keyframes ok1 { 0%, 34% { transform: scale(0); } 38% { transform: scale(1.25); } 41%, 90% { transform: scale(1); } 95%, 100% { transform: scale(0); } }
@keyframes ok2 { 0%, 56% { transform: scale(0); } 60% { transform: scale(1.25); } 63%, 90% { transform: scale(1); } 95%, 100% { transform: scale(0); } }
@keyframes ok3 { 0%, 76% { transform: scale(0); } 80% { transform: scale(1.25); } 83%, 90% { transform: scale(1); } 95%, 100% { transform: scale(0); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 85%, transparent); border: 1px solid var(--line); animation: floatC 6s ease-in-out infinite; }
.chips span svg { color: var(--red-2); } .chips span:nth-child(2) { animation-delay: -2s; } .chips span:nth-child(3) { animation-delay: -4s; }

/* --- resetare: lacăt care se deschide cu cheia + plic care zboară --- */
.st-reset .rings { position: absolute; left: 50%; top: 46%; width: 0; height: 0; }
.st-reset .rings i { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; border: 1.5px solid rgba(255, 106, 61, .5); animation: ring 4s ease-out infinite; }
.st-reset .rings i:nth-child(2) { animation-delay: 1.33s; } .st-reset .rings i:nth-child(3) { animation-delay: 2.66s; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.padlock { position: absolute; left: 50%; top: 46%; width: 120px; height: 150px; margin: -82px 0 0 -60px; color: #c9cbe0; filter: drop-shadow(0 24px 40px rgba(255, 59, 59, .35)); animation: floatC 6s ease-in-out infinite; }
.padlock .shackle { transform-box: fill-box; transform-origin: 100% 100%; animation: shackle 6s cubic-bezier(.5, 0, .3, 1.4) infinite; }
@keyframes shackle { 0%, 44% { transform: none; } 52%, 82% { transform: translateY(-14px) rotate(-18deg); } 90%, 100% { transform: none; } }
.padlock .kh { animation: kh 6s infinite; } @keyframes kh { 0%, 40% { fill: #0f1220; } 46%, 84% { fill: #22c55e; } 92% { fill: #0f1220; } }
.st-reset .key { position: absolute; left: 50%; top: 46%; color: #fde68a; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); animation: key 6s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes key { 0% { transform: translate(-190px, 0) rotate(0); opacity: 0; } 8% { opacity: 1; } 30% { transform: translate(-48px, 8px) rotate(0); } 42% { transform: translate(-48px, 8px) rotate(90deg); opacity: 1; } 50%, 100% { transform: translate(-48px, 8px) rotate(90deg); opacity: 0; } }
.mailfly { position: absolute; left: 50%; top: 46%; animation: mail 6s ease-in-out infinite; }
.mailfly span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 10px 24px rgba(168, 85, 247, .45); }
@keyframes mail { 0%, 52% { transform: translate(-20px, -20px) scale(.3); opacity: 0; } 58% { opacity: 1; transform: translate(10px, -70px) scale(1) rotate(-8deg); } 80% { transform: translate(170px, -150px) scale(.9) rotate(10deg); opacity: 1; } 90%, 100% { transform: translate(210px, -180px) scale(.6); opacity: 0; } }
.st-reset .fc1 { left: 0; top: 18px; } .st-reset .fc4 { right: 0; bottom: 10px; }

/* --- admin: radar + terminal cu jurnal care rulează --- */
body.auth-reset .auth-bg i:nth-child(3) { background: #f59e0b; opacity: .12; }
body.auth-register .auth-bg i:nth-child(3) { background: #a855f7; opacity: .16; }

/* emblema animată (pe telefon, lângă logo) */
.auth-emb { position: relative; width: 52px; height: 52px; flex: none; place-items: center; }
.auth-emb::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; border-radius: 50%; padding: 2px; background: conic-gradient(from var(--ang), #ff3b3b, #ff6a3d, #a855f7, #ff3b3b); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinB 3s linear infinite; }
.auth-emb b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); animation: admPulse 2.4s infinite; }
.auth-emb i { position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; inset: -6px; border-radius: 50%; animation: orbit 3.5s linear infinite; }
.auth-emb i::after { content: ""; position: absolute; left: 50%; top: 0; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #34f5a0; box-shadow: 0 0 8px #34f5a0; }
.auth-emb i:nth-child(2) { animation-duration: 5s; animation-direction: reverse; } .auth-emb i:nth-child(2)::after { background: #c084fc; box-shadow: 0 0 8px #c084fc; }

/* --- formularul de cont nou: compact, pe două coloane --- */
body.auth-register .auth-split { grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); gap: 36px; max-width: 1360px; }
body.auth-register .auth-wrap { width: min(880px, 100%); }
body.auth-register .auth-show h2 { font-size: clamp(28px, 2.6vw, 38px); }
.reg-card { padding: 26px 30px; }
.reg-card h1 { font-size: 24px; } .reg-card .sub { margin-bottom: 16px; }
.reg-card .btn-google { margin-bottom: 0; }
.reg-card .auth-or { margin: 14px 0 10px; }
.reg-card .form { gap: 12px; }
.reg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }
.reg-col { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.reg-col + .reg-col { padding-left: 28px; border-left: 1px solid var(--line); }
.reg-card .form-sec { font-size: 15px; margin: 0; padding: 0; border: 0; display: flex; align-items: center; gap: 8px; }
.reg-card .form-sec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(255, 59, 59, .6); }
.reg-card .field { gap: 5px; } .reg-card .field > span { font-size: 12.5px; }
.reg-card input[type=text], .reg-card input[type=email], .reg-card input[type=password], .reg-card input[type=tel], .reg-card select { padding-top: 9px; padding-bottom: 9px; }
.reg-col .f2, .reg-col .f3 { gap: 10px; }
.reg-col .f2:has(.phone) { grid-template-columns: 1fr; }
.reg-col .f3 { grid-template-columns: 1.3fr 1fr 1.2fr; }
.reg-col .row { gap: 6px 16px; }
.reg-card .check { font-size: 13.5px; }
.reg-card #companyFields { gap: 11px; }

/* --- telefon / tabletă --- */
@media (max-width: 1180px) { body.auth-register .auth-split { grid-template-columns: 1fr; } body.auth-register .auth-show { display: none; } body.auth-register .auth-split .auth-top { display: flex; } }
@media (max-width: 1000px) {
  .auth-split { padding: 76px 16px 24px; min-height: 100vh; min-height: 100dvh; }
  .auth-top { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
  .auth-top .auth-logo img { margin: 0; }
  .auth-emb { display: grid; }
}
@media (max-width: 760px) {
  .reg-cols { grid-template-columns: 1fr; gap: 16px; }
  .reg-col + .reg-col { padding: 16px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--line); }
  .auth-card .f2 { grid-template-columns: 1fr 1fr; } .auth-card .f2:has(.phone), .auth-card .f2:has(input[type=email]) { grid-template-columns: 1fr; }
  .auth-card .f3 { grid-template-columns: 1fr 1fr; } .auth-card .f3 > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .auth-split { padding: 68px 12px 18px; }
  .auth-tools { top: 12px; right: 12px; }
  .auth-card, .reg-card { padding: 20px 16px; border-radius: 18px; }
  .auth-card h1 { font-size: 22px; } .auth-card .sub { font-size: 14px; margin-bottom: 16px; }
  .auth-top .auth-logo img { height: calc(var(--logo-h, 44px) * .95); }
  .auth-emb { width: 44px; height: 44px; } .auth-emb b { width: 32px; height: 32px; } .auth-emb b svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) { .auth-card .f2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .auth-stars, .orbit, .orbit span, .win, .svc, .pill i, .eq i, .p1, .p2, .cursor, .spark path, .toast, .onb *, .chips span, .rings i, .padlock, .padlock *, .key, .mailfly, .radar-sw, .bl, .term, .term-l li, .auth-emb *, .auth-emb::before { animation: none !important; }
  .toast:first-child, .p1 { opacity: 1; } .onb em { transform: none; }
}

/* ===== Footer: numele mare „hosteasy.ro” lat, ca pe hosteasy.ro ===== */
.sf-mark { height: clamp(40px, 10.5vw, 180px); margin-top: 6px; }
.sf-mark span { font-size: clamp(50px, 15.5vw, 270px); }

/* ===== Login admin în culorile hosteasy.ro (fără mov) + scut verde cu alb ca logo-ul ===== */
.st-admin .radar { position: absolute; left: 4%; top: 30px; width: 250px; height: 250px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 106, 61, .4);
  background: repeating-radial-gradient(circle, transparent 0 40px, rgba(255, 106, 61, .16) 40px 41px), linear-gradient(transparent 49.7%, rgba(255, 106, 61, .18) 50%, transparent 50.3%), linear-gradient(90deg, transparent 49.7%, rgba(255, 106, 61, .18) 50%, transparent 50.3%), radial-gradient(circle, rgba(255, 59, 59, .10), transparent 70%);
  box-shadow: 0 0 60px rgba(255, 59, 59, .18), inset 0 0 40px rgba(255, 59, 59, .12); }
.radar-sw { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 106, 61, .5), rgba(255, 59, 59, 0) 70deg, transparent 360deg); animation: orbit 4s linear infinite; }
.radar .bl { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #34f5a0; box-shadow: 0 0 10px #34f5a0; opacity: 0; animation: blip 4s infinite; }
.radar .b1 { left: 70%; top: 24%; animation-delay: .3s; } .radar .b2 { left: 78%; top: 66%; animation-delay: 1.3s; background: #ff6a3d; box-shadow: 0 0 10px #ff6a3d; } .radar .b3 { left: 26%; top: 72%; animation-delay: 2.4s; } .radar .b4 { left: 22%; top: 30%; animation-delay: 3.3s; }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; transform: scale(1.3); } 40% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; } }
/* scutul verde cu alb, ca logo-ul HostEasy: inel care se rotește + puls + strălucire */
.radar-c, .auth-admin .auth-emb b { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #4ade80, #16a34a 60%, #15803d); box-shadow: 0 0 0 5px rgba(34, 197, 94, .18), 0 0 26px rgba(34, 197, 94, .55); animation: shieldPulse 2.6s ease-in-out infinite; }
.radar-c::before, .auth-admin .auth-emb::before { content: ""; position: absolute; top: -7px; right: -7px; bottom: -7px; left: -7px; inset: -7px; border-radius: 50%; padding: 2px; background: conic-gradient(from var(--ang), #fff, #22c55e 30%, transparent 55%, #22c55e 80%, #fff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinB 2.8s linear infinite; }
.radar-c svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); animation: shieldIcon 2.6s ease-in-out infinite; }
@keyframes shieldPulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .18), 0 0 22px rgba(34, 197, 94, .45); } 50% { box-shadow: 0 0 0 11px rgba(34, 197, 94, .06), 0 0 38px rgba(34, 197, 94, .75); } }
@keyframes shieldIcon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.auth-admin .auth-emb::before { top: 0; right: 0; bottom: 0; left: 0; inset: 0; }
.auth-admin .auth-emb b { position: relative; left: auto; top: auto; margin: 0; width: 38px; height: 38px; }
.auth-admin .auth-emb b svg { animation: shieldIcon 2.6s ease-in-out infinite; }
.auth-admin .auth-emb i::after { background: #fff; box-shadow: 0 0 8px #fff; } .auth-admin .auth-emb i:nth-child(2)::after { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.term { position: absolute; right: 0; top: 120px; width: 300px; border-radius: 14px; overflow: hidden; background: rgba(10, 12, 24, .88); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); animation: floatC 7s ease-in-out infinite; animation-delay: -2s; }
.term .win-bar { background: rgba(255, 255, 255, .03); }
.term-l { list-style: none; margin: 0; padding: 10px 14px; height: 150px; overflow: hidden; font: 12px/1.9 ui-monospace, Consolas, monospace; color: #34f5a0; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 80%, transparent); }
.term-l li { white-space: nowrap; animation: logs 18s linear infinite; } .term-l li.w { color: #fbbf24; } .term-l li.i { color: #93c5fd; }
@keyframes logs { to { transform: translateY(-800%); } }
.st-admin .fc1 { left: auto; right: 6%; top: 10px; } .st-admin .fc2 { left: 0; right: auto; top: auto; bottom: 0; } .st-admin .fc4 { display: none; }
.fc-ic.lock { background: linear-gradient(135deg, #22c55e, #15803d); }

/* titlul „Autentificare clienți” cu insignă animată */
.auth-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; padding: 7px 14px 7px 12px; border-radius: 99px; font: 700 13px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 80%, transparent); border: 1px solid var(--red-2); border: 1px solid color-mix(in srgb, var(--red-2) 45%, transparent); box-shadow: 0 0 24px rgba(255, 59, 59, .18); animation: kickIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.auth-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: kickDot 1.8s infinite; }
@keyframes kickIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes kickDot { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.auth-show h2 .auth-kicker { display: flex; width: fit-content; }
@media (prefers-reduced-motion: reduce) { .radar-c, .radar-c *, .radar-c::before, .auth-kicker, .auth-kicker i, .radar-sw, .bl, .term, .term-l li { animation: none !important; } }

/* ===== Login: animația din stânga se micșorează pe ecrane mai scunde, ca pagina să nu se mai deruleze ===== */
.auth-show { overflow: clip; overflow-clip-margin: 40px; }
@media (min-width: 1001px) {
  .auth-split { padding-top: 32px; padding-bottom: 32px; }
  .auth-show .stage { margin-top: 22px; }
}

/* ===== Login v3: bara de sus fără suprapuneri, meniu limbă la hover, footer hosteasy.ro, totul mai mare ===== */
.auth-tools { position: absolute; top: 22px; right: 28px; gap: 12px; }
.auth-tools .lang-btn, .auth-tools .theme-btn { height: 44px; min-width: 44px; padding: 0 16px; font-size: 14px; background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 85%, transparent); backdrop-filter: blur(10px); }
.auth-tools .theme-btn { width: 44px; padding: 0; border-radius: 50%; font-size: 17px; }
.auth-tools .lflag { width: 22px; height: 15px; }
@media (min-width: 1001px) { .auth-split { padding: 104px 40px 56px; gap: 56px; } }
@media (min-width: 1181px) { body.auth-register .auth-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); } }
body.auth-register .auth-show h2 { font-size: clamp(32px, 2.9vw, 44px); }
body.auth-register .onb b { font-size: 16.5px; } body.auth-register .onb small { font-size: 13.5px; }
body.auth-register .ob-n { width: 52px; height: 52px; } body.auth-register .onb-line { left: 25px; }
body.auth-register .onb { gap: 18px; }
.auth-show p { font-size: 17px; line-height: 1.6; }
.auth-show .stage { margin-top: 34px; }
.st-client, .st-reset, .st-admin { max-width: 560px; }
@media (min-width: 1001px) and (max-height: 680px) { .auth-show { zoom: .85; } }
/* meniul de limbă se deschide când treci cu mouse-ul peste el */
.lang-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
@media (hover: hover) { .lang-dd:hover .lang-menu, .lang-dd:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; } }
/* footer-ul hosteasy.ro sub formular */
.authpage .sf { margin-top: 0; }
.sf { width: 100%; justify-self: stretch; align-self: stretch; } /* footer pe toată lățimea paginii, ca pe hosteasy.ro */
@media (max-width: 1000px) { .auth-tools { top: 14px; right: 14px; } .auth-split { padding-top: 84px; } }
@media (max-width: 520px) { .auth-tools .lang-btn, .auth-tools .theme-btn { height: 40px; min-width: 40px; } .auth-split { padding-top: 74px; } }

/* ===== Meniul lateral pe telefon: fundal plin (nu transparent) + caseta „Ai nevoie de ajutor?” simplă ===== */
@media (max-width: 1100px) {
  :root .side, :root:not([data-theme="light"]) .side { background: var(--bg-2); backdrop-filter: none; }
  :root:not([data-theme="light"]) .ax-side { background: var(--bg-2); backdrop-filter: none; }
}
.side-help { background: var(--bg-3); box-shadow: none; }
.side .side-help .btn, .side .side-help .btn:hover { background: var(--grad); color: #fff; box-shadow: none; transform: none; filter: none; padding: 10px 16px; justify-content: center; text-transform: none; letter-spacing: 0; font-size: 14px; }
.side .side-help .btn:hover { opacity: .92; }

/* ===== Bara „Înapoi în admin” când adminul e în contul unui client ===== */
.as-admin { position: relative; z-index: 41; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; padding: 8px 16px; font-size: 13.5px; color: #fff; background: linear-gradient(90deg, #b45309, #ea580c); }
.as-admin > span { display: inline-flex; align-items: center; gap: 7px; }
.as-admin form { margin: 0; }
.as-admin .btn { background: #fff; color: #9a3412; box-shadow: none; padding: 6px 14px; }
.as-admin .btn:hover { background: #fff7ed; transform: none; box-shadow: none; }
@media (max-width: 600px) { .as-admin { font-size: 12.5px; padding: 7px 12px; } }

/* ===== Port radio ocupat: clientul alege alt port ===== */
.port-box { border-color: #8a5a12; border-color: color-mix(in srgb, #f59e0b 55%, var(--line)); }
.port-box .card-h h2 svg { color: #f59e0b; }
.port-box p { color: var(--muted); margin-bottom: 14px; }
.port-form { align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.port-form .field { flex: 0 1 200px; }

/* ===== Carduri de opțiuni la comandă (IP, Anti-DDoS, CDN, client nou / existent) ===== */
.opt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.opt-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: var(--bg-3); border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.opt-card:hover { border-color: #7a3a3a; border-color: color-mix(in srgb, var(--red) 45%, var(--line)); }
.opt-card > input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card > span:not(.oc-ic) { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
.opt-card b { font-size: 14.5px; } .opt-card small { font-size: 12.5px; color: var(--muted); }
.opt-card em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13px; color: var(--red-2); white-space: nowrap; }
.opt-card em.free { color: #22c55e; }
.oc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); transition: .2s; }
.oc-ic.ok { color: #fff; background: #16a34a; border-color: #16a34a; }
.opt-card:has(> input:checked) { border-color: var(--red-2); background: var(--red-soft); }
.opt-card:has(> input:checked) .oc-ic:not(.ok) { color: #fff; background: var(--grad); border-color: transparent; }
.opt-card:has(> input:focus-visible) { outline: 2px solid var(--red-2); outline-offset: 2px; }
.opt-card.is-on { cursor: default; border-color: #1f6b3a; background: rgba(34, 197, 94, .08); }
.opt-cards + .opt-cards { margin-top: 0; }
.acct-login { display: grid; gap: 12px; padding: 16px; border-radius: 14px; border: 1px dashed var(--line); }
.acct-login[hidden] { display: none; }
/* aceeași evidențiere pentru browserele fără :has() (clasa o pune app.js) */
.opt-card.sel { border-color: var(--red-2); background: var(--red-soft); }
.opt-card.sel .oc-ic:not(.ok) { color: #fff; background: var(--grad); border-color: transparent; }
.opt-card.is-on, .opt-card.is-on:has(> input:checked) { border-color: #1f6b3a; background: rgba(34, 197, 94, .08); }
/* coloane setate pe pagină (comandă, profil, factură) – pe telefon/tabletă se pun una sub alta */
.grid2.gcols { grid-template-columns: var(--cols, 1fr 1fr); }
@media (max-width: 900px) { .grid2.gcols { grid-template-columns: 1fr; } }

/* ===== Comandă: login sau cont nou direct în pagină ===== */
.acct-box { display: grid; gap: 12px; margin: 0; padding: 16px; border-radius: 14px; border: 1px dashed var(--line); min-width: 0; }
.acct-box[hidden] { display: none; }
.acct-new .form-sec { font-size: 15px; margin: 4px 0 0; padding: 0; border: 0; }
.acct-new #companyFields { display: grid; gap: 12px; }
.acct-new #companyFields[hidden] { display: none; }

/* ===== Contract de prestări servicii (document alb, ca factura) ===== */
.contract-doc { line-height: 1.6; font-size: 14px; }
.contract-doc .ctr-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 2px solid #ececf1; }
.contract-doc .ctr-head img { height: 46px; width: auto; }
.contract-doc .ctr-head h1 { font-size: 22px; text-align: right; color: #1a1a1f; }
.contract-doc .ctr-num { text-align: right; font-weight: 700; color: #6b6b78; }
.contract-doc h3 { font-size: 15px; color: #1a1a1f; margin: 18px 0 6px; font-family: Inter, sans-serif; }
.contract-doc p { margin: 0 0 6px; color: #2a2a33; }
.contract-doc .ctr-tbl { margin: 8px 0 10px; }
.contract-doc .ctr-tbl small { color: #6b6b78; }
.ctr-proof { margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: #f3f7f4; border: 1px solid #cfe5d6; color: #1f4d2c; font-size: 13px; }
.ctr-proof small { color: #4a6b52; }
@media (max-width: 600px) { .contract-doc .ctr-head { flex-direction: column; align-items: flex-start; } .contract-doc .ctr-head h1, .contract-doc .ctr-num { text-align: left; } }

/* ===== Contracte: de acceptat (clienți existenți) ===== */
.ctr-proof.pending { background: #fff7e6; border-color: #f3d39a; color: #7a4b00; }
.ctr-accept { margin-top: 18px; }
.ctr-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 18px; }
.ctr-banner span { flex: 1; min-width: 200px; }
.ctr-banner .btn { margin-left: auto; }
.ctr-ended { margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: #f1f1f4; border: 1px solid #d8d8e0; color: #3a3a46; font-size: 13px; }
.ctr-arch td { vertical-align: top; }
.ctr-inv { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 2px 0; color: var(--text); white-space: nowrap; }
.ctr-inv:hover { color: var(--red-2); }
.ctr-inv .badge { font-size: 11px; padding: 1px 7px; }
.ctr-endf { align-items: center; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; } .ctr-endf input { max-width: 340px; }
.acct-danger { border-color: #5a2a2a; border-color: color-mix(in srgb, #ef4444 35%, var(--line)); } .acct-danger .form-sec { border: 0; padding: 0; margin: 0; }
.inv-del { margin-top: 18px; }
.inv-del summary { cursor: pointer; color: #f87171; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.inv-del[open] summary { margin-bottom: 12px; }
.inv-del .row { align-items: flex-end; gap: 12px; }

/* ===== Poze de profil + echipă ===== */
.av { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); }
.av-i { color: #fff; font-weight: 800; background: var(--grad); border: 0; line-height: 1; }
.um-btn .av.avatar { width: 34px; height: 34px; }
.av-form { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.av-ctl { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.av-pick { cursor: pointer; }
.msg-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.msg-role { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; color: var(--red-2); background: var(--red-soft); }
.msg .msg-h { align-items: center; }
.adm-av.has-img { padding: 0; overflow: visible; }
.adm-av.has-img img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.team-list { display: grid; gap: 4px; margin-bottom: 8px; }
.team-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.team-t { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 160px; }
.team-t small { font-size: 12.5px; }

/* service radio: AutoDJ + anti-DDoS */
.radio-ctl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.rc-box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-h b { display: inline-flex; align-items: center; gap: 8px; }
.rc-box p { font-size: 13px; margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; align-self: flex-start; }
.seg button { background: transparent; border: 0; color: inherit; padding: 8px 16px; font: inherit; font-size: 13.5px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--grad); color: #fff; font-weight: 600; }
.seg button:not(.on):hover { background: rgba(127, 127, 127, .1); }

/* meniul de profil (sus dreapta): se deschide și la hover pe desktop; pe telefon rămâne la atingere */
@media (hover: hover) and (pointer: fine) {
  .usermenu:hover .um-drop { opacity: 1; visibility: visible; transform: none; }
  .um-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* punte peste spațiul dintre buton și meniu */
}

/* autentificare în 2 pași */
.tfa-steps { margin: 0 0 14px 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.tfa-steps b { color: var(--text); }
.tfa-setup { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tfa-qr { background: #fff; padding: 10px; border-radius: 12px; width: 200px; min-height: 200px; display: grid; place-items: center; }
.tfa-qr img, .tfa-qr canvas { display: block; }
.tfa-key { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; }
.tfa-key code { font-size: 15px; letter-spacing: 1px; padding: 10px 12px; background: var(--bg-3); border-radius: 10px; word-break: break-all; user-select: all; }
.tfa-code { font-size: 22px !important; letter-spacing: 6px; text-align: center; font-variant-numeric: tabular-nums; }
.tfa-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.tfa-codes code { padding: 8px 10px; background: var(--bg-3); border-radius: 8px; text-align: center; font-size: 14.5px; letter-spacing: 1px; }
.tfa-more summary, .tfa-help summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.tfa-help { margin-top: 14px; } .tfa-help p { margin-top: 8px; font-size: 13.5px; }
.tfa-back { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }
.tfa-back:hover { color: var(--text); }

/* ID client */
.cid-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500; vertical-align: middle; white-space: nowrap; }
.cid-pill b { color: var(--text); letter-spacing: .5px; font-size: 14px; }
.cid-copy { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; display: inline-grid; place-items: center; }
.cid-copy:hover { color: var(--text); }
.um-head .um-cid { margin-top: 4px; color: var(--muted); }
.um-head .um-cid b { color: var(--text); }

/* lista de servicii: buton „Vezi serviciu” lipit în dreapta rândului */
.svc-list .svc { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.svc-list .svc > span:nth-child(2) { flex: 1 1 200px; min-width: 0; }
.svc-go { white-space: nowrap; pointer-events: none; margin-left: auto; } /* tot rândul e link; butonul arată unde să apeși */
@media (max-width: 600px) { .svc-list .svc .price { text-align: left; } }
/* caseta radio încărcată separat */
.rc-wait { display: flex; align-items: center; gap: 10px; margin: 0; }
.rc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--red); animation: rcspin .8s linear infinite; flex: none; }
@keyframes rcspin { to { transform: rotate(360deg); } }

/* panou: „Serviciile mele” – badge-uri pe un rând, data dedesubt; pe telefon totul sub nume */
.svc-list .svc-dash .svc-t { display: flex; flex-direction: column; flex: 1 1 180px; min-width: 0; line-height: 1.3; }
.svc-dash .svc-t b, .svc-dash .svc-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; text-align: right; }
.svc-badges { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.svc-price { font-size: 15px; font-weight: 800; white-space: nowrap; }
.svc-date { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.svc-date b { color: var(--text); font-weight: 600; }
.svc-date svg { opacity: .7; }
@media (max-width: 560px) {
  .svc-meta { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; margin-left: 0;
    padding-top: 10px; border-top: 1px dashed var(--line); text-align: left; }
  .svc-badges { justify-content: flex-start; }
}

/* campanii email (admin) */
.cp-prev { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 12px; background: #0f1220; margin-bottom: 8px; }
.cp-tips { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--bg-3); font-size: 13.5px; color: var(--muted); }
.cp-tips b { color: var(--text); } .cp-tips ul { margin: 8px 0 0 18px; display: grid; gap: 4px; }
.cp-bar { height: 12px; border-radius: 999px; background: var(--bg-3); overflow: hidden; border: 1px solid var(--line); }
.cp-bar i { display: block; height: 100%; background: var(--grad); transition: width .4s; }
.cp-stat { margin: 12px 0 4px; font-size: 15px; }
.text-err { color: var(--red-2); }
/* mesajul campaniei în panoul clientului */
.promo-card { position: relative; display: flex; gap: 14px; align-items: flex-start; border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.promo-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); flex: none; }
.promo-card b { font-size: 16px; display: block; margin-bottom: 4px; padding-right: 26px; }
.promo-t { color: var(--muted); font-size: 14px; } .promo-t p { margin: 0 0 8px; }
.promo-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; }
.promo-x:hover { color: var(--text); }
.cp-img { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.cp-img img { max-width: 220px; max-height: 120px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.promo-card > div { min-width: 0; flex: 1; }
.promo-img { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }

/* Agendă contacte */
.ct-form { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.ct-form textarea { min-height: 170px; }
.ct-side { display: flex; flex-direction: column; gap: 14px; }
.ct-h { flex-wrap: wrap; gap: 10px; }
.ct-search { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.ct-search input { width: 240px; max-width: 100%; padding: 7px 12px; }
.ct-tbl td { padding-top: 11px; padding-bottom: 11px; }
.ct-who { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.ct-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--bg-3); color: var(--primary); }
.ct-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.ct-id b { font-weight: 600; }
.ct-mail { font-size: 13px; color: var(--muted); word-break: break-all; }
.ct-src { font-size: 13px; max-width: 260px; }
.ct-btns { display: inline-flex; gap: 6px; justify-content: flex-end; }
.ct-off .ct-av, .ct-off .ct-id { opacity: .55; }
.test-mail { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.test-mail .field { flex: 1 1 280px; margin: 0; }
.test-mail .btn { flex: none; }
.test-mail-help { display: block; margin-top: -6px; font-size: 13px; }
@media (max-width: 900px) { .ct-form { grid-template-columns: 1fr; } }
@media (max-width: 1000px) {
  .ct-search { width: 100%; margin-left: 0; } .ct-search input { flex: 1; width: auto; }
  .ct-tbl thead { display: none; }
  .ct-tbl, .ct-tbl tbody, .ct-tbl tr, .ct-tbl td { display: block; width: 100%; }
  .ct-tbl tr { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; }
  .ct-tbl td { border: 0; padding: 0 !important; }
  .ct-tbl td.ct-who { grid-column: 1 / -1; min-width: 0; display: flex; }
  .ct-tbl td.ct-src { grid-column: 1 / -1; max-width: none; padding-left: 46px !important; }
  .ct-tbl td.ct-st { padding-left: 46px !important; display: flex; align-items: center; gap: 8px; }
  .ct-tbl td.ct-dt { text-align: right; }
  .ct-tbl td.ct-act { grid-column: 1 / -1; text-align: left; padding-left: 46px !important; }
  .test-mail .btn { margin-bottom: 0; width: 100%; justify-content: center; }
}
.ct-bulk { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-top: 14px; }
.ct-delall { margin-left: auto; }
.ct-delall summary { list-style: none; cursor: pointer; }
.ct-delall summary::-webkit-details-marker { display: none; }
.ct-delall-box { margin-top: 10px; padding: 14px; border: 1px solid var(--red); border-radius: 12px; max-width: 420px; display: flex; flex-direction: column; gap: 10px; }
.ct-delall-box p { margin: 0; font-size: 13.5px; }
@media (max-width: 1000px) { .ct-delall { margin-left: 0; width: 100%; } }
