/* UniVerse Hub WPVehicles Addon V1.1 - clean page */
:root{
  --uvh-bg:#020712;
  --uvh-panel:rgba(4,12,26,.74);
  --uvh-panel2:rgba(9,20,42,.68);
  --uvh-line:rgba(82,164,255,.22);
  --uvh-line2:rgba(148,163,184,.14);
  --uvh-cyan:#38d8ff;
  --uvh-blue:#1687ff;
  --uvh-text:#e5f2ff;
  --uvh-muted:#8aa4c8;
  --uvh-green:#39d98a;
  --uvh-red:#ff6b7a;
}
body:has(.uvh-wpvehicles-page){
  background:
    radial-gradient(circle at 78% 4%,rgba(0,124,255,.16),transparent 36%),
    radial-gradient(circle at 12% 12%,rgba(0,229,255,.08),transparent 34%),
    linear-gradient(180deg,#020712,#02050d 70%,#010307)!important;
}
.uvh-tool-page{
  max-width:1600px;
  margin:0 auto;
  padding:34px 24px 64px;
  color:var(--uvh-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.uvh-vehicles-hero{
  margin-bottom:26px;
}
.uvh-back-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:42px;
  padding:0 16px;
  border:1px solid var(--uvh-line);
  border-radius:9px;
  background:rgba(4,12,26,.55);
  color:#dbeafe;
  text-decoration:none;
  font-weight:750;
  margin-bottom:28px;
}
.uvh-back-btn:hover{
  border-color:rgba(56,216,255,.48);
  background:rgba(0,229,255,.08);
  color:#fff;
}
.uvh-vehicles-hero h1{
  margin:0;
  font-size:clamp(48px,6vw,76px);
  line-height:.92;
  letter-spacing:-.055em;
  color:#fff;
  text-shadow:0 0 32px rgba(46,144,255,.25);
  position:relative;
}
.uvh-vehicles-hero h1:after{
  content:"";
  display:block;
  width:min(430px,42vw);
  height:2px;
  margin-top:22px;
  background:linear-gradient(90deg,var(--uvh-cyan),rgba(56,216,255,.14),transparent);
  box-shadow:0 0 18px rgba(56,216,255,.5);
}
.uvh-wpvehicles-app{
  display:grid;
  gap:18px;
}
.uvh-v-alert{
  border:1px solid rgba(56,216,255,.24);
  border-radius:12px;
  padding:12px 14px;
  background:rgba(0,229,255,.06);
  color:#dffbff;
}
.uvh-v-alert.err{
  border-color:rgba(255,107,122,.36);
  background:rgba(255,107,122,.08);
  color:#fecaca;
}
.uvh-v-alert.ok{
  border-color:rgba(57,217,138,.28);
  background:rgba(57,217,138,.08);
  color:#bbf7d0;
}
.uvh-v-stats{
  display:grid;
  grid-template-columns:1.55fr repeat(4,1fr);
  gap:14px;
}
.uvh-v-stats div{
  min-height:108px;
  border:1px solid var(--uvh-line);
  border-radius:13px;
  background:
    radial-gradient(circle at 88% 12%,rgba(56,216,255,.08),transparent 35%),
    linear-gradient(180deg,rgba(8,22,48,.78),rgba(2,9,20,.68));
  padding:22px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.015),0 18px 60px rgba(0,0,0,.20);
}
.uvh-v-stats div.wide{
  border-color:rgba(56,216,255,.32);
}
.uvh-v-stats span{
  display:block;
  color:#98afd2;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.uvh-v-stats strong{
  display:block;
  color:#fff;
  font-size:30px;
  margin-top:8px;
  line-height:1.05;
}
.uvh-v-stats small{
  display:block;
  color:#a7b8d5;
  margin-top:5px;
}
.uvh-v-controls{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  border:1px solid var(--uvh-line2);
  border-radius:13px;
  background:rgba(4,12,26,.58);
  padding:14px;
}
.uvh-v-actions,.uvh-v-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.uvh-v-filters{
  justify-content:flex-end;
}
.uvh-v-controls button,
.uvh-v-controls a,
.file-btn,
.row-actions button,
.uvh-v-edit button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 15px;
  border:1px solid rgba(82,164,255,.24);
  border-radius:9px;
  background:rgba(7,18,39,.78);
  color:#d8e7ff;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  cursor:pointer;
}
.uvh-v-controls button:hover,
.uvh-v-controls a:hover,
.file-btn:hover,
.row-actions button:hover,
.uvh-v-edit button:hover{
  border-color:rgba(56,216,255,.55);
  color:#fff;
}
.uvh-v-controls .primary,
.uvh-v-edit .primary,
.uvh-v-empty .primary{
  color:#fff!important;
  background:linear-gradient(135deg,#0388ff,#12c6ff)!important;
  border-color:transparent!important;
  box-shadow:0 0 18px rgba(18,198,255,.25);
}
.file-btn input{display:none}
.uvh-v-filters input,
.uvh-v-filters select,
.uvh-v-form input,
.uvh-v-form select,
.uvh-v-form textarea{
  min-height:42px;
  border:1px solid rgba(82,164,255,.24);
  border-radius:9px;
  background:rgba(7,18,39,.78);
  color:#fff;
  padding:10px 13px;
}
.uvh-v-filters input{min-width:280px}
.uvh-v-list{
  border:1px solid var(--uvh-line);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(4,12,26,.72),rgba(2,8,18,.78));
  padding:18px;
}
.uvh-v-list-head{
  display:grid;
  grid-template-columns:minmax(260px,1.6fr) .7fr .8fr 1.05fr .85fr .95fr 150px;
  gap:14px;
  padding:0 18px 14px;
  color:#91a8ca;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.08em;
}
.uvh-v-item{
  display:grid;
  grid-template-columns:minmax(260px,1.6fr) .7fr .8fr 1.05fr .85fr .95fr 150px;
  gap:14px;
  align-items:center;
  min-height:104px;
  margin-bottom:10px;
  border:1px solid rgba(82,164,255,.16);
  border-radius:14px;
  background:
    linear-gradient(90deg,rgba(11,27,56,.78),rgba(5,14,31,.64)),
    rgba(8,20,40,.7);
  padding:18px;
}
.uvh-v-item:nth-child(even){
  background:
    linear-gradient(90deg,rgba(9,35,54,.80),rgba(5,14,31,.64)),
    rgba(8,20,40,.7);
}
.uvh-v-item.pledge{
  border-left:3px solid rgba(168,85,247,.55);
}
.uvh-v-item.ingame{
  border-left:3px solid rgba(57,217,138,.55);
}
.uvh-v-item.loan{
  border-left:3px solid rgba(245,158,11,.55);
}
.uvh-v-item.planned{
  border-left:3px solid rgba(56,216,255,.55);
}
.vehicle-main{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.ship-thumb{
  width:86px;
  height:64px;
  min-width:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(82,164,255,.26);
  border-radius:10px;
  background:
    radial-gradient(circle at 42% 35%,rgba(56,216,255,.2),transparent 30%),
    linear-gradient(135deg,rgba(31,41,55,.8),rgba(2,8,18,.85));
  color:#dbeafe;
  font-size:34px;
  font-weight:900;
  opacity:.9;
}
.vehicle-main strong{
  display:block;
  color:#fff;
  font-size:18px;
  line-height:1.15;
}
.vehicle-main small{
  display:block;
  color:#4dbbff;
  margin-top:5px;
}
.soft{color:#dcecff;font-weight:800}
.uvh-v-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 11px;
  margin:2px 4px 2px 0;
  border-radius:999px;
  background:rgba(82,164,255,.10);
  border:1px solid rgba(82,164,255,.22);
  color:#d8e7ff;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}
.uvh-v-badge.ok,.uvh-v-badge.ingame{
  color:#7df2b1;
  border-color:rgba(57,217,138,.32);
  background:rgba(57,217,138,.08);
}
.uvh-v-badge.pledge{
  color:#d8b4fe;
  border-color:rgba(168,85,247,.35);
  background:rgba(168,85,247,.10);
}
.uvh-v-badge.loan{
  color:#fcd34d;
  border-color:rgba(245,158,11,.32);
  background:rgba(245,158,11,.08);
}
.uvh-v-badge.planned{
  color:#67e8f9;
}
.row-actions{
  display:grid;
  gap:8px;
}
.row-actions button{
  min-height:38px;
  width:100%;
}
.row-actions button.danger{
  color:#fecaca;
  border-color:rgba(255,107,122,.38);
  background:rgba(255,107,122,.08);
}
.uvh-v-empty{
  text-align:center;
  padding:44px 16px;
  color:#9fb3d4;
}
.uvh-v-empty strong{
  display:block;
  color:#fff;
  font-size:24px;
}
.uvh-v-edit{
  border:1px solid rgba(56,216,255,.28);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(4,12,26,.82),rgba(2,8,18,.82));
  padding:18px;
}
.edit-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.edit-head h2{
  margin:0 0 5px;
  color:#fff;
}
.edit-head p{
  margin:0;
  color:#91a8ca;
}
.uvh-v-form{display:grid;gap:14px}
.form-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.uvh-v-form label{
  display:grid;
  gap:7px;
  color:#cbd5e1;
  font-size:13px;
  font-weight:800;
}
.uvh-v-form textarea{
  min-height:120px;
  resize:vertical;
}
.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
@media(max-width:1220px){
  .uvh-v-stats{grid-template-columns:repeat(3,1fr)}
  .uvh-v-controls{grid-template-columns:1fr}
  .uvh-v-filters{justify-content:flex-start}
  .uvh-v-list-head{display:none}
  .uvh-v-item{grid-template-columns:1fr 1fr 1fr}
  .row-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,180px))}
}
@media(max-width:760px){
  .uvh-tool-page{padding:24px 14px 50px}
  .uvh-v-stats{grid-template-columns:1fr 1fr}
  .uvh-v-item{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .uvh-v-filters input{min-width:100%}
  .ship-thumb{width:72px;height:54px;min-width:72px}
}
@media(max-width:500px){
  .uvh-v-stats{grid-template-columns:1fr}
  .uvh-vehicles-hero h1{font-size:46px}
}


/* V1.2 Import + Modal + clean controls */
.uvh-v-actions [data-action="pull-local"]{display:none!important;}
.uvh-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(12px);
}
.uvh-v-modal{
  width:min(960px,96vw);
  max-height:88vh;
  overflow:auto;
  border:1px solid rgba(56,216,255,.34);
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0%,rgba(56,216,255,.10),transparent 32%),
    linear-gradient(180deg,rgba(5,15,34,.98),rgba(2,8,18,.98));
  box-shadow:0 30px 120px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.025) inset;
  padding:20px;
}
.uvh-v-modal .edit-head button{
  width:42px;
  height:42px;
  padding:0;
  font-size:26px;
  line-height:1;
}
.uvh-v-list-head,
.uvh-v-item{
  grid-template-columns:minmax(260px,1.45fr) .65fr .8fr 1.2fr .85fr .95fr 150px!important;
}
.stacked-badges{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}
.uvh-v-item{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 32px rgba(0,0,0,.14);
}
.uvh-v-item:hover{
  border-color:rgba(56,216,255,.34);
  background:
    linear-gradient(90deg,rgba(13,36,72,.82),rgba(5,14,31,.68)),
    rgba(8,20,40,.74);
}
@media(max-width:1220px){
  .uvh-v-list-head{display:none!important;}
  .uvh-v-item{grid-template-columns:1fr 1fr 1fr!important;}
}
@media(max-width:760px){
  .uvh-v-item{grid-template-columns:1fr!important;}
  .uvh-modal-backdrop{align-items:flex-start;padding:14px;}
}

/* Orga 2.0 Freigabe */
.row-actions .orga-share{
  border-color:rgba(84,229,162,.28)!important;
  background:rgba(84,229,162,.065)!important;
  color:#9bf4c2!important;
}
.uvh-v-orga-backdrop{
  position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(0,4,12,.84);backdrop-filter:blur(6px)
}
.uvh-v-orga-modal{
  width:min(720px,100%);max-height:92vh;overflow:auto;border:1px solid rgba(56,216,255,.30);
  border-radius:16px;background:#061024;color:#e7f2ff;box-shadow:0 30px 110px rgba(0,0,0,.58)
}
.uvh-v-orga-modal header,.uvh-v-orga-modal footer{
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;
  border-bottom:1px solid rgba(82,164,255,.14)
}
.uvh-v-orga-modal footer{justify-content:flex-end;border-bottom:0;border-top:1px solid rgba(82,164,255,.14)}
.uvh-v-orga-modal header span{color:#7dd3fc;font-size:11px;text-transform:uppercase;letter-spacing:.09em}
.uvh-v-orga-modal h2{margin:3px 0 0;color:#fff}
.uvh-v-orga-modal button{
  border:1px solid rgba(82,164,255,.24);border-radius:9px;background:#071225;color:#d8e7ff;
  padding:10px 14px;font-weight:800;cursor:pointer
}
.uvh-v-orga-modal button.primary{background:linear-gradient(135deg,#0388ff,#12c6ff);border-color:transparent;color:#fff}
.uvh-v-orga-body{display:grid;gap:13px;padding:18px}
.uvh-v-orga-body p{color:#9fb3d4;line-height:1.55}
.uvh-v-orga-body label{display:grid;gap:7px;color:#b9cce6;font-size:12px;font-weight:800}
.uvh-v-orga-body input,.uvh-v-orga-body select,.uvh-v-orga-body textarea{
  width:100%;box-sizing:border-box;border:1px solid rgba(82,164,255,.25);border-radius:9px;
  background:#071225;color:#fff;padding:11px 12px
}
.uvh-v-orga-body textarea{min-height:105px;resize:vertical}
.uvh-v-orga-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.uvh-v-orga-info{border:1px solid rgba(82,164,255,.14);border-radius:10px;background:rgba(3,10,23,.46);padding:11px;color:#a9bfdc}
@media(max-width:680px){.uvh-v-orga-grid{grid-template-columns:1fr}}
