/* ================= Allgemein ================= */
body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
}

/* ================= Loader ================= */
#loaderOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#loaderOverlay img {
  width: 120px;
  margin-bottom: 15px;
}

/* ================= Tooltip ================= */
#tooltip {
  position: fixed;
  background: rgba(255,255,255,0.9);
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  pointer-events: none;
  display: none;
  z-index: 900;
}

/* ================= Selection Panel ================= */
#selectionPanel {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.8);
  padding: 15px;
  border-radius: 8px;
  width: 180px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#selectionPanel img {
  width: 130px; /* Desktop */
}

#selectionPanel h3 {
  margin: 10px 0 5px;
  font-size: 16px;
  text-align: center;
}

#selectionPanel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  max-height: 150px;
  overflow-y: auto;
  width: 100%;
}

#selectionPanel ul li {
  padding: 3px 5px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

#requestBtn {
  width: 100%;
  padding: 8px 0;
  background: #FF7B17;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

#requestBtn:hover {
  background: #fea766;
}

.hint
{

}

/* ================= Request Overlay ================= */
#requestOverlay {
  position: fixed;
  top:0; left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  display: none; /* Overlay standardmäßig versteckt */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#requestBox {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  width: 320px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#requestBox label {
  font-size: 13px;
  margin-top: 10px;
}

#requestBox input, #requestBox textarea {
  width: 100%;
  padding: 6px 8px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
}

#requestBox textarea {
  resize: none;
  height: 80px;
  background: #222;
  color: #fff;
}

#requestBox .actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

#requestBox button {
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
   z-index:99999999 !important;
}

#requestBox button#sendRequest {
  background: #FF7B17;
  color: #000;
}

#requestBox button#sendRequest:hover {
  background: #fea766;
}

#requestBox button#closeRequest {
  background: #444;
  color: #fff;
}

#requestBox button#closeRequest:hover {
  background: #666;
}

.sup {
  font-size: 0.6em;
  vertical-align: super;
}


/* ================= Mobile Anpassung ================= */
@media (max-width: 600px) {

body, input, textarea, button {
    font-size: 0.9rem; /* Default mobile size */
  }

.frontview
{
    font-size: .7rem;
	padding:.25rem !important;

}


  #selectionPanel {
    width: 120px;
    left: 5px;
    top: 5px;
    padding: .5rem;
	
  }

  #selectionPanel img {
    width: 50px; /* kleineres Logo */
  }

  #selectionPanel h3 {
    font-size: .8rem !important;
	margin:.25rem;
  }

  #selectionPanel ul li {
    font-size: .7rem;
	padding:.25rem .125rem
  }

  /* Request Overlay maximal groß auf Mobil */
  #requestBox {
    width: 95vw;       /* fast gesamte Breite */
    height: 90vh;      /* fast gesamte Höhe */
    max-width: none;
    padding: 15px;
    font-size: .9rem;
    overflow-y: auto;
  }

  #requestBox input, #requestBox textarea {
    font-size: 1rem;
  }

  #requestBox button {
    font-size: 1rem;
	
	color:#FFF !Important;
  }
}


.hint
{

}