/* =========================
   THEME
========================= */

:root{

  --bg:#0b1220;
  --card:#101a2e;

  --muted:#93a4c7;
  --text:#e8eeff;

  --accent:#57d6c6;
  --accent2:#7aa7ff;

  --danger:#ff6b6b;
  --ok:#39d98a;

  --border:rgba(255,255,255,.08);

  --shadow: 0 10px 30px rgba(0,0,0,.35);

}

*{box-sizing:border-box}

html,body{
  height:100%;
  margin:0;
}

/* =========================
   BACKGROUND + WATERMARK
========================= */

body{

  font-family:
  ui-sans-serif,
  system-ui,
  -apple-system,
  Segoe UI,
  Roboto,
  Helvetica,
  Arial;

  color:var(--text);

  background-color:#000;

  background-image:url("/assets/bg/BG2.png");

  background-size:cover;

  background-position:center;

  background-repeat:no-repeat;

  background-attachment:fixed;

}


/* Wasserzeichen */

body::before{

  content:"";

  position:fixed;

  inset:0;

  pointer-events:none;

  z-index:0;

  background-image:url("/assets/bg/watermark.svg");

  background-repeat:no-repeat;

  background-position:center;

  /* Desktop */

  background-size: clamp(700px,55vw,1200px);

  opacity: 1.90;

}


/* ⭐ Mobile extra groß */

@media(max-width:600px){

  body::before{

    background-size: clamp(950px,120vw,1500px);

    background-position:center 35%;

  }

}


/* =========================
   LAYOUT
========================= */

a{
  color:inherit;
  text-decoration:none;
}

.container{

  max-width:1050px;

  margin:0 auto;

  padding:20px;

  position:relative;

  z-index:1;

}


/* =========================
   HEADER / CARDS
========================= */

.header{

  display:flex;

  gap:12px;

  align-items:center;

  justify-content:space-between;

  padding:14px 16px;

  border:1px solid var(--border);

  border-radius:18px;

  background: rgba(16,26,46,.65);

  backdrop-filter: blur(10px);

  box-shadow: var(--shadow);

}

.brand{

  display:flex;

  flex-direction:column;

  gap:2px;

}

.brand .title{

  font-size:18px;

  font-weight:750;

}

.brand .sub{

  color:var(--muted);

  font-size:13px;

}

.grid{

  display:grid;

  gap:16px;

  margin-top:16px;

  grid-template-columns:1fr;

}

@media(min-width:900px){

  .grid{

    grid-template-columns:1.2fr .8fr;

  }

}


.card{

  padding:16px;

  border:1px solid var(--border);

  border-radius:18px;

  background: rgba(16,26,46,.65);

  backdrop-filter: blur(10px);

  box-shadow: var(--shadow);

}

.card h2{

  margin:0 0 10px 0;

  font-size:16px;

}


.muted{color:var(--muted)}

.small{font-size:13px}


/* =========================
   FLASH
========================= */

.flash{

  margin-top:14px;

  padding:12px 14px;

  border-radius:14px;

  border:1px solid var(--border);

  background: rgba(255,255,255,.04);

}

.flash.ok{

  border-color: rgba(57,217,138,.25);

}

.flash.error{

  border-color: rgba(255,107,107,.25);

}


/* =========================
   TABLES
========================= */

.table{

  width:100%;

  border-collapse:collapse;

}

.table th,
.table td{

  padding:10px 8px;

  border-bottom:1px solid var(--border);

  text-align:left;

}

.table th{

  color:var(--muted);

  font-size:12px;

  text-transform:uppercase;

  letter-spacing:.08em;

}


.row-actions{

  display:flex;

  gap:8px;

  flex-wrap:wrap;

  justify-content:flex-end;

}


/* =========================
   BUTTONS
========================= */

.btn{

  appearance:none;

  border:1px solid var(--border);

  background: rgba(255,255,255,.04);

  color:var(--text);

  padding:10px 12px;

  border-radius:14px;

  font-weight:650;

  cursor:pointer;

  transition:.15s;

}

.btn:hover{

  transform:translateY(-1px);

}

.btn.primary{

  background: rgba(87,214,198,.12);

  border-color: rgba(87,214,198,.35);

}

.btn.secondary{

  background: rgba(122,167,255,.12);

  border-color: rgba(122,167,255,.35);

}

.btn.danger{

  background: rgba(255,107,107,.12);

  border-color: rgba(255,107,107,.35);

}

.btn.ok{

  background: rgba(57,217,138,.12);

  border-color: rgba(57,217,138,.35);

}

.btn.link{

  background:transparent;

}

.btn:disabled{

  opacity:.45;

  cursor:not-allowed;

  transform:none;

}


/* =========================
   PILLS + SVG ICONS
========================= */

.pill{

  display:inline-flex;

  align-items:center;

  gap:8px;

  padding:6px 10px;

  border-radius:999px;

  border:1px solid var(--border);

  background: rgba(255,255,255,.03);

  color:var(--muted);

  font-size:13px;

}


.pill-icon{

  width:16px;

  height:16px;

  object-fit:contain;

  margin-right:6px;

  vertical-align:middle;

  opacity:.95;

}


}

.pill-icon svg{

  width:100%;

  height:100%;

  display:block;

}


/* =========================
   FORM
========================= */

.form{

  display:grid;

  gap:10px;

}

.field{

  display:grid;

  gap:6px;

}

label{

  color:var(--muted);

  font-size:13px;

}

input{

  width:100%;

  padding:11px 12px;

  border-radius:14px;

  border:1px solid var(--border);

  background: rgba(0,0,0,.18);

  color:var(--text);

}

input:focus{

  border-color: rgba(87,214,198,.45);

}

.split{

  display:grid;

  gap:10px;

}

@media(min-width:650px){

  .split{

    grid-template-columns:1fr 1fr;

  }

}

.footer-actions{

  display:flex;

  gap:10px;

  flex-wrap:wrap;

  justify-content:flex-end;

}


/* =========================
   COOKIE BANNER
========================= */

.cookie-banner{

  position:fixed;

  left:50%;

  transform:translateX(-50%);

  bottom:20px;

  z-index:9999;

  width:calc(100% - 28px);

  max-width:1050px;

  display:flex;

  gap:14px;

  align-items:center;

  justify-content:space-between;

  flex-wrap:wrap;

  padding:16px 18px;

  border-radius:18px;

  border:1px solid rgba(87,214,198,.35);

  background:

  linear-gradient(

  135deg,

  rgba(87,214,198,.14),

  rgba(122,167,255,.12)

  ),

  rgba(16,26,46,.85);

  backdrop-filter:blur(10px);

  box-shadow:var(--shadow);

}

.cookie-banner__text{

  font-size:13px;

}

.cookie-banner__btn{

  flex:0 0 auto;

}

@media(max-width:600px){

  .cookie-banner{

    flex-direction:column;

    text-align:center;

  }

  .cookie-banner__btn{

    width:100%;

  }

}
