body {
	font-family: 'Open Sans', sans-serif;
	}

#panelToggle {
    position: fixed;
    right: 0;
    top: 210px;
	/*transition: right 0.4s ease;*/
    transform: translateX(0);
    transition: transform 0.4s ease;
    z-index: 1001;
    padding: 10px 6px;
    background: #e5007d;
    color: white;
    border: none;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    font-size: 27px;
    opacity: 0.9;
}

#panelToggle:hover{
    opacity: 1;
}


#panelClose {
    display: block;
    width: 100%;
    margin-top: 20px;

    padding: 10px 6px;

    background: #e5007d;
    color: white;

    border: none;
    border-radius: 6px;

    cursor: pointer;

    font-size: 18px;

    opacity: 0.9;
    transition: opacity 0.2s ease;
}

#panelClose:hover {
    opacity: 1;
}


/* Slide Panel */
#livePanel {
    position: fixed;
     right: 0;
    top: 0;
    width: 380px;
    max-width: 100%;   /* verhindert Überlauf auf schmalen Screens */
    height: 100%;
    background: #ffffff;
    box-shadow: -4px 0px 10px rgba(0,0,0,0.2);
	transform: translateX(100%);
    transition: transform 0.4s ease;
    /*transition: right 0.4s ease;*/
    z-index: 1000;
    /*padding: 20px;*/
    overflow-y: auto;
	box-sizing: border-box;
}

#livePanel.open {
    /*right: 0;*/ 
transform: translateX(0);
}

#panelToggle.open {
	transform: translateX(-380px);
}

#webcamImage {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 8px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
}

.webcam-btn {
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

#nina-widget {
    font-family: Arial, sans-serif;
    max-width: 420px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: 100%;       /* schrumpft mit dem Container */
}

.nina-header {
    background: #c00000;
    color: white;
    padding: 10px;
    font-weight: bold;
}

#nina-content {
    padding: 10px;
}

.nina-card {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 14px;
}

/*
.sev-1 { background: #ffe066; }
.sev-2 { background: #ffb347; }
.sev-3 { background: #ff4d4d; color: #fff; }
.sev-4 { background: #990000; color: #fff; }
*/

.nina-ok {
    color: #2e7d32;
    font-weight: bold;
}

.nina-loading {
    color: #666;
}

.indicator {
    float: right;
    color: #e5007d;
	text-shadow: 2px 2px 10px #000;
	font-size: 0.8em;
}

/*.status-ok { background: #2e7d32; color: white; }*/
.status-minor { background: #f9a825; color: black; }
.status-moderate { background: #ef6c00; color: white; }
.status-severe { background: #c62828; color: white; }
.status-extreme { 
    background: #6a0000; 
    color: white; 
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(198,40,40,0.7); }
    70% { box-shadow: 0 0 0 20px rgba(198,40,40,0); }
    100% { box-shadow: 0 0 0 0 rgba(198,40,40,0); }
}

.luftbox{
  border:1px solid #ccc;
  border-radius:8px;
  padding:12px;
  max-width:280px;
  width: 100%;
  font-family:Arial, sans-serif;
}

.titel{
  font-weight:bold;
  margin-bottom:8px;
}

.indexbox{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.indexkreis{
  width:36px;
  height:36px;
  border-radius:50%;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
}

.st0{background:#50f0e6;}
.st1{background:#50cdaa;}
.st2{background:#f0e641;}
.st3{background:#ff5050;}
.st4{background:#960032;}

ul.lqi{
	list-style: unset;
	}

li.bullet0::marker{color:#50f0e6; font-size: 2em;}
li.bullet1::marker{color:#50cdaa; font-size: 2em;}
li.bullet2::marker{color:#f0e641; font-size: 2em;}
li.bullet3::marker{color:#ff5050; font-size: 2em;}
li.bullet4::marker{color:#960032; font-size: 2em;}

.wert{font-size:14px;}


.accordion-header {
    background: #58585a; //#922224; //#2c3e50;
    color: white;
    padding: 5px;
    cursor: pointer;
    margin-top: 5px;
}

.accordion-header:hover{
  background:#ddd;
}

.accordion-content {
    display: none;
    padding: 12px;
    background: #f4f4f4;
}

.accordion-content.open {
    display: block;
}

.accordion-item.active .accordion-content{
  display:block;
}

/* Panel und Inhalte responsiv machen */
@media (max-width: 480px) {
    #livePanel {
        width: 100%;          /* statt 380px volle Breite */
    }
    #panelToggle.open {
        transform: translateX(-100%);  /* statt -380px */
    }
    #nina-widget,
    .luftbox {
        max-width: 100%;      /* feste max-width aufheben */
    }
    #panelToggle {
        font-size: 22px;
        top: 150px;
    }
	#pls-name {
    font-size: 120%;
   }
}

@media (max-width: 768px) {
    #livePanel {
        width: 320px;
    }
    #panelToggle.open {
        transform: translateX(-320px);
    }
	#pls-name {
    font-size: 120%;
   }
}