/* Seval2 UXG • UXG.RO style */
:root{
  --bg:#05060a;
  --panel:#0c0f18;
  --panel2:#0a0d14;
  --text:#e8ecff;
  --muted:#9aa3c7;
  --line:rgba(255,255,255,.08);
  --neon:#5ee6ff;
  --neon2:#a56bff;
  --good:#2df7a6;
  --bad:#ff5f7a;
  --warn:#ffd36b;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(94,230,255,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 15%, rgba(165,107,255,.18), transparent 55%),
    radial-gradient(700px 450px at 40% 90%, rgba(94,230,255,.10), transparent 60%),
    var(--bg);
}
a{color:var(--neon); text-decoration:none}
a:hover{filter:brightness(1.1)}

/* original ids kept for compatibility */
#wrapper{width:100%;}
#bg_up{padding:22px 0 40px;}
#masthead_container{width:1000px;margin:0 auto;}
#masthead{
  height:320px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  position:relative;
  background:
    linear-gradient(135deg, rgba(94,230,255,.10), rgba(165,107,255,.10)),
    url('../images/hero.png') center/cover no-repeat;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
#masthead::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(5,6,10,.15), rgba(5,6,10,.82));
}

/* top overlay */
.seval-top{
  position:absolute; inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px 18px 16px;
}
.seval-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.seval-brand{display:flex; align-items:center; gap:12px;}
.seval-brand img{height:46px; width:auto; filter: drop-shadow(0 0 18px rgba(94,230,255,.30));}
.seval-brand .title{
  font-weight:800; letter-spacing:.5px;
  font-size:18px;
}
.seval-brand .sub{color:var(--muted); font-size:12px; margin-top:2px;}

.seval-pills{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line);
  background:rgba(12,15,24,.65);
  padding:8px 10px;
  border-radius:999px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}
.dot{width:9px;height:9px;border-radius:999px;background:var(--warn); box-shadow:0 0 14px rgba(255,211,107,.35)}
.dot.ok{background:var(--good); box-shadow:0 0 14px rgba(45,247,166,.35)}
.dot.bad{background:var(--bad); box-shadow:0 0 14px rgba(255,95,122,.35)}
.pill .k{color:var(--muted); font-size:12px;}
.pill .v{font-weight:700; font-size:12px;}
.pill button{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(94,230,255,.20), rgba(165,107,255,.18));
  color:var(--text);
  border-radius:999px;
  padding:7px 10px;
  cursor:pointer;
}
.pill button:hover{filter:brightness(1.1)}

.seval-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.seval-hero h1{margin:0; font-size:36px; letter-spacing:.5px}
.seval-hero p{margin:6px 0 0; color:rgba(232,236,255,.78)}
.seval-cta{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(12,15,24,.65);
  color:var(--text);
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg, rgba(94,230,255,.22), rgba(165,107,255,.22));
}
.btn:hover{filter:brightness(1.1)}

#container{width:1000px;margin:18px auto 0;}
#page_content{display:flex; gap:16px;}
#sidebar_left{width:260px;}
#content_outleft{flex:1; min-width:0;}

.module_menu > div > div > div{
  border:1px solid var(--line);
  background:rgba(12,15,24,.70);
  border-radius:16px;
  padding:12px;
  margin-bottom:12px;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}
.module_menu h3{
  margin:2px 6px 10px;
  font-size:13px;
  color:rgba(232,236,255,.85);
  letter-spacing:.6px;
  text-transform:uppercase;
}
.module_menu ul.menu{list-style:none;margin:0;padding:0}
.module_menu ul.menu li{margin:0;padding:0}
.module_menu ul.menu a{
  display:flex;
  padding:9px 10px;
  border-radius:12px;
  color:rgba(232,236,255,.90);
  border:1px solid transparent;
}
.module_menu ul.menu a:hover{
  border-color:rgba(94,230,255,.22);
  background:rgba(5,6,10,.35);
}
.module_menu ul.menu li.active a,
.module_menu ul.menu li#current a{
  border-color:rgba(94,230,255,.30);
  background:linear-gradient(135deg, rgba(94,230,255,.12), rgba(165,107,255,.10));
}

.componentheading{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(12,15,24,.70);
  padding:12px 14px;
  font-weight:800;
  letter-spacing:.4px;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  margin-bottom:12px;
}
#content_out{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(12,15,24,.70);
  padding:14px;
  box-shadow:0 16px 40px rgba(0,0,0,.35);
}
#content h3{margin:0 0 10px;}
#content p{color:rgba(232,236,255,.82)}

/* forms */
.form{
  max-width:520px;
}
.field{margin:10px 0;}
.field label{display:block; color:var(--muted); font-size:12px; margin:0 0 6px 2px;}
.field input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(5,6,10,.55);
  color:var(--text);
  outline:none;
}
.field input:focus{border-color:rgba(94,230,255,.35); box-shadow:0 0 0 4px rgba(94,230,255,.12)}
.alert{
  border:1px solid rgba(255,95,122,.35);
  background:rgba(255,95,122,.10);
  padding:10px 12px;
  border-radius:12px;
  margin:12px 0;
}
.success{
  border:1px solid rgba(45,247,166,.35);
  background:rgba(45,247,166,.10);
  padding:10px 12px;
  border-radius:12px;
  margin:12px 0;
}
.table{width:100%; border-collapse:collapse; overflow:hidden; border-radius:12px; border:1px solid var(--line)}
.table th,.table td{padding:10px 10px; border-bottom:1px solid var(--line); text-align:left; font-size:13px;}
.table th{color:var(--muted); font-weight:700; background:rgba(5,6,10,.35)}
.table tr:last-child td{border-bottom:none}

#footer{width:1000px;margin:16px auto 0;}
#copyright_info{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(12,15,24,.55);
  padding:12px 14px;
  color:rgba(232,236,255,.70);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width:1040px){
  #masthead_container,#container,#footer{width:92%;}
  #page_content{flex-direction:column;}
  #sidebar_left{width:100%; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px;}
  .module_menu > div > div > div{margin-bottom:0}
}

.auth-slot{display:flex;gap:10px;align-items:center}
.auth-slot .pill{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);padding:8px 10px;border-radius:999px;font-size:13px;color:rgba(255,255,255,.9)}
.auth-slot a,.auth-slot button{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;border-radius:10px;padding:8px 10px;text-decoration:none;cursor:pointer}
.auth-slot a:hover,.auth-slot button:hover{background:rgba(255,255,255,.12)}
.auth-slot button{font:inherit}

/* --- auth slot --- */
.auth-slot{ display:flex; align-items:center; gap:10px; }
.auth-chip{ display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border:1px solid rgba(120,160,255,.25); background:rgba(8,10,18,.45); border-radius:999px; box-shadow:0 0 18px rgba(120,160,255,.12); }
.auth-chip .dot{ width:8px; height:8px; border-radius:50%; background:#6bff87; box-shadow:0 0 14px rgba(107,255,135,.35); }
.auth-chip .dot.off{ background:#ff6b6b; box-shadow:0 0 14px rgba(255,107,107,.35); }
.auth-links{ display:flex; gap:8px; }
.auth-links a, .auth-links button{ appearance:none; border:1px solid rgba(120,160,255,.25); background:rgba(8,10,18,.35); color:var(--text); padding:8px 10px; border-radius:10px; text-decoration:none; cursor:pointer; }
.auth-links a:hover, .auth-links button:hover{ border-color:rgba(120,160,255,.5); background:rgba(8,10,18,.55); }

/* forms */
.form{ display:grid; gap:10px; max-width:520px; }
.form label{ display:grid; gap:6px; font-weight:600; }
.form input{ padding:10px 12px; border-radius:12px; border:1px solid rgba(120,160,255,.25); background:rgba(8,10,18,.45); color:var(--text); outline:none; }
.form input:focus{ border-color:rgba(120,160,255,.55); box-shadow:0 0 0 3px rgba(120,160,255,.15); }
.btn{ padding:10px 14px; border-radius:12px; border:1px solid rgba(120,160,255,.35); background:linear-gradient(135deg, rgba(120,160,255,.25), rgba(182,120,255,.18)); color:var(--text); font-weight:800; cursor:pointer; }
.btn:hover{ border-color:rgba(120,160,255,.7); }
.err{ margin-top:10px; color:#ffb3b3; }
.ok{ margin-top:10px; color:#b3ffd0; }

.table{ width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border-radius:12px; border:1px solid rgba(120,160,255,.18); }
.table th,.table td{ padding:10px 12px; border-bottom:1px solid rgba(120,160,255,.12); background:rgba(8,10,18,.25); }
.table th{ text-align:left; font-weight:800; }
.table tr:last-child td{ border-bottom:none; }

/* =========================================================
   Seval2 UXG – Portal UI (Darkage layout, modern styling)
   Fix: side menu rendered as readable tabs
   ========================================================= */

/* Layout shell */
.portal-shell{
  min-height: 100vh;
  color: #e9f6ff;
  background: radial-gradient(1200px 700px at 10% 10%, rgba(0,255,240,.14), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(160,80,255,.14), transparent 55%),
              radial-gradient(800px 500px at 50% 90%, rgba(255,160,80,.08), transparent 60%),
              #05070a;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo{
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.5));
}

.brand-text strong{
  display: block;
  font-size: 18px;
  letter-spacing: .06em;
}

.brand-text span{
  display: block;
  opacity: .75;
  margin-top: 2px;
  font-size: 12px;
}

.top-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: #e9f6ff;
  text-decoration: none;
  line-height: 1;
  cursor: default;
}

.pill-btn{ cursor: pointer; }

.pill-btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.pill-ok::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dff9a;
  box-shadow: 0 0 0 3px rgba(45,255,154,.12);
}

.pill-warn::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffcc55;
  box-shadow: 0 0 0 3px rgba(255,204,85,.12);
}

.pill-bad::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a6b;
  box-shadow: 0 0 0 3px rgba(255,90,107,.12);
}

.main{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.sidebar{
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 14px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.content{
  min-height: 60vh;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 18px;
}

/* Side menu tabs */
.side-nav .menu-title{
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .85;
  margin: 6px 0 10px;
}

.side-nav .menu-links{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.side-nav .menu-links a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: #cfefff;
  text-decoration: none;
}

.side-nav .menu-links a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.side-nav .menu-links a.active,
.side-nav .menu-links a[aria-current="page"]{
  background: rgba(0,255,240,.12);
  border-color: rgba(0,255,240,.35);
  color: #eaffff;
}

.side-nav .menu-links.small a{
  padding: 8px 12px;
  font-size: 12px;
  opacity: .92;
}

.side-nav .menu-links.small a:hover{ opacity: 1; }

.side-nav .api-mini{
  margin-top: 8px;
  opacity: .75;
  font-size: 12px;
}

/* Mobile */
@media (max-width: 980px){
  .main{ grid-template-columns: 1fr; }
  .brand{ min-width: 0; }
  .sidebar{ position: static; top: auto; }
  .brand-logo{ width: 76px; height: 76px; }
}


/* ===== UXG PATCH: fix container/layout + nav buttons (2026-01-24) ===== */
.container{
  width:100%;
  max-width:1500px;
  margin:0 auto;
  padding:0 18px;
}

/* topbar uses an inner .container in markup */
.topbar{
  padding: 14px 0;
}
.topbar > .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* markup uses <main class="layout">, existing css uses .main */
.layout{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

/* markup uses <nav class="side-nav"><a class="on">...</a></nav> */
.side-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:10px;
}
.side-nav > a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:#cfefff;
  text-decoration:none;
  transition: background .15s ease, border-color .15s ease, filter .15s ease, transform .15s ease;
}
.side-nav > a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-1px);
}
.side-nav > a.on{
  background: linear-gradient(135deg, rgba(94,230,255,.16), rgba(165,107,255,.14));
  border-color: rgba(0,255,240,.35);
  color:#eaffff;
  box-shadow: 0 0 0 1px rgba(0,255,240,.12), 0 10px 26px rgba(0,0,0,.35);
}
.side-sep{
  height:1px;
  margin: 10px 0;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}
/* ===== END PATCH ===== */

/* Cookie consent */
.uxg-cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: rgba(10, 14, 24, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  z-index: 9999;
}
.uxg-cookie .t{
  color: rgba(232,236,255,.86);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}
.uxg-cookie .t a{ color: #7c4dff; text-decoration: none; }
.uxg-cookie .a{ display: flex; gap: 10px; }
@media (max-width: 720px){
  .uxg-cookie{ flex-direction: column; align-items: flex-start; }
}
