/* public/assets/css/thema.css
   Dark banking / hacker vibe theme (Belfius-achtig zonder logo/branding)
*/

:root{
  --bg: #0b0f14;
  --panel: #101824;
  --panel-2: #0f1722;
  --border: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);

  --accent: #2de3a7;      /* neon groen */
  --accent-2: #55b7ff;    /* neon blauw */
  --danger: #ff3b3b;      /* alarm rood */
  --warn: #ffd84d;        /* geel uitroepteken */
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  --radius: 12px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  letter-spacing: .2px;
}

a{ color: var(--accent-2); text-decoration:none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 92px 16px 40px;
}

.topbar{
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(16, 24, 36, .86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand .title{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.brand .sub{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.account{
  text-align:center;
  line-height: 1.1;
}
.account .name{
  font-weight: 800;
  letter-spacing: .6px;
}
.account .hint{
  font-size: 12px;
  color: var(--muted);
}

.pulse{
  animation: pulse 1.1s infinite;
}
@keyframes pulse{
  0%{ transform: scale(1); box-shadow: var(--shadow); }
  50%{ transform: scale(1.03); box-shadow: 0 0 24px rgba(255,59,59,.18); }
  100%{ transform: scale(1); box-shadow: var(--shadow); }
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.cardTitle{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.cardTitle h2, .cardTitle h3{
  margin:0;
  font-size: 16px;
  letter-spacing: .4px;
}
.badges{
  display:flex; gap:8px; flex-wrap: wrap;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.badge.accent{
  border-color: rgba(45,227,167,.35);
  color: var(--accent);
}
.badge.blue{
  border-color: rgba(85,183,255,.35);
  color: var(--accent-2);
}
.badge.danger{
  border-color: rgba(255,59,59,.35);
  color: var(--danger);
}
.badge.warn{
  border-color: rgba(255,216,77,.35);
  color: var(--warn);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px){
  .grid.two{
    grid-template-columns: 1.25fr .75fr;
    align-items: start;
  }
  .grid.codes{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.video{
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(255,255,255,.06);
  background: #000;
}

.input{
  width:100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline: none;
}
.input:focus{
  border-color: rgba(85,183,255,.55);
  box-shadow: 0 0 0 3px rgba(85,183,255,.12);
}
.input[disabled]{
  opacity: .55;
  cursor: not-allowed;
}

.btn{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(45,227,167,.25);
  background: linear-gradient(180deg, rgba(45,227,167,.18), rgba(45,227,167,.10));
  color: var(--text);
  font-weight: 800;
  letter-spacing: .5px;
  cursor:pointer;
}
.btn:hover{
  border-color: rgba(45,227,167,.45);
}
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.codeCard{
  position: relative;
  overflow:hidden;
}
.codeCard.locked{
  opacity: .60;
}
.codeCard.locked::after{
  content:"";
  position:absolute;
  inset:0;
  background: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,.0),
    rgba(0,0,0,.0) 8px,
    rgba(0,0,0,.18) 8px,
    rgba(0,0,0,.18) 16px
  );
  pointer-events:none;
}
.statusDot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(255,255,255,.20);
  box-shadow: 0 0 10px rgba(0,0,0,.25);
}
.statusDot.active{ background: var(--accent-2); }
.statusDot.ok{ background: var(--accent); }
.statusDot.locked{ background: rgba(255,255,255,.16); }
.statusDot.bad{ background: var(--danger); }

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: 280px;
  max-width: 560px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(16,24,36,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display:none;
  z-index: 100;
}
.toast.show{ display:block; }
.toast .tTitle{
  font-weight: 800;
  margin-bottom: 2px;
}
.toast .tBody{
  color: var(--muted);
  font-size: 13px;
}
.toast.ok{ border-color: rgba(45,227,167,.35); }
.toast.err{ border-color: rgba(255,59,59,.35); }
.toast.warn{ border-color: rgba(255,216,77,.35); }

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.table th, .table td{
  text-align:left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.table th{
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .9px;
}
.table tr:last-child td{ border-bottom: none; }

.small{
  font-size: 12px;
  color: var(--muted);
}

/* TIMER: label naast tijd (1 lijn) */
.timerBadge{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.timerBadge .label{
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  line-height: 1;
}

.timerBadge .time{
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}
