@charset "UTF-8";
.canvas {
  height: 100vh;
  width: 100vw;
 
  position: fixed;
  overflow: hidden;
}
.bubble {
  display: block;
  border-radius: 100%;
  opacity: 0.1;
  position: absolute;
}
.bubble:nth-child(1) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 90px;
  height: 90px;
  left: 71vw;
  bottom: 40vh;
  -webkit-animation: move1 infinite 3s;
          animation: move1 infinite 3s;
}
@-webkit-keyframes move1 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 93vh;
    transform: translate(-7px, 0);
    opacity: 0;
  }
}
@keyframes move1 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 93vh;
    transform: translate(-7px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(2) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 25px;
  height: 25px;
  left: 22vw;
  bottom: 72vh;
  -webkit-animation: move2 infinite 6s;
          animation: move2 infinite 6s;
}
@-webkit-keyframes move2 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 5vh;
    transform: translate(183px, 0);
    opacity: 0;
  }
}
@keyframes move2 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 5vh;
    transform: translate(183px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(3) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 88px;
  height: 88px;
  left: 89vw;
  bottom: 2vh;
  -webkit-animation: move3 infinite 15s;
          animation: move3 infinite 15s;
}
@-webkit-keyframes move3 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 99vh;
    transform: translate(143px, 0);
    opacity: 0;
  }
}
@keyframes move3 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 99vh;
    transform: translate(143px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(4) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 11px;
  height: 11px;
  left: 98vw;
  bottom: 10vh;
  -webkit-animation: move4 infinite 11s;
          animation: move4 infinite 11s;
}
@-webkit-keyframes move4 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 43vh;
    transform: translate(3px, 0);
    opacity: 0;
  }
}
@keyframes move4 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 43vh;
    transform: translate(3px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(5) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 35px;
  height: 35px;
  left: 80vw;
  bottom: 4vh;
  -webkit-animation: move5 infinite 11s;
          animation: move5 infinite 11s;
}
@-webkit-keyframes move5 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 60vh;
    transform: translate(72px, 0);
    opacity: 0;
  }
}
@keyframes move5 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 60vh;
    transform: translate(72px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(6) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 21px;
  height: 21px;
  left: 60vw;
  bottom: 68vh;
  -webkit-animation: move6 infinite 8s;
          animation: move6 infinite 8s;
}
@-webkit-keyframes move6 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 56vh;
    transform: translate(77px, 0);
    opacity: 0;
  }
}
@keyframes move6 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 56vh;
    transform: translate(77px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(7) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 9px;
  height: 9px;
  left: 61vw;
  bottom: 88vh;
  -webkit-animation: move7 infinite 12s;
          animation: move7 infinite 12s;
}
@-webkit-keyframes move7 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 24vh;
    transform: translate(128px, 0);
    opacity: 0;
  }
}
@keyframes move7 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 24vh;
    transform: translate(128px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(8) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 34px;
  height: 34px;
  left: 40vw;
  bottom: 59vh;
  -webkit-animation: move8 infinite 14s;
          animation: move8 infinite 14s;
}
@-webkit-keyframes move8 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 96vh;
    transform: translate(-98px, 0);
    opacity: 0;
  }
}
@keyframes move8 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 96vh;
    transform: translate(-98px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(9) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 7px;
  height: 7px;
  left: 66vw;
  bottom: 33vh;
  -webkit-animation: move9 infinite 9s;
          animation: move9 infinite 9s;
}
@-webkit-keyframes move9 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 75vh;
    transform: translate(-74px, 0);
    opacity: 0;
  }
}
@keyframes move9 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 75vh;
    transform: translate(-74px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(10) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 57px;
  height: 57px;
  left: 12vw;
  bottom: 100vh;
  -webkit-animation: move10 infinite 9s;
          animation: move10 infinite 9s;
}
@-webkit-keyframes move10 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 63vh;
    transform: translate(-16px, 0);
    opacity: 0;
  }
}
@keyframes move10 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 63vh;
    transform: translate(-16px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(11) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 92px;
  height: 92px;
  left: 31vw;
  bottom: 30vh;
  -webkit-animation: move11 infinite 14s;
          animation: move11 infinite 14s;
}
@-webkit-keyframes move11 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 0vh;
    transform: translate(196px, 0);
    opacity: 0;
  }
}
@keyframes move11 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 0vh;
    transform: translate(196px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(12) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 91px;
  height: 91px;
  left: 42vw;
  bottom: 21vh;
  -webkit-animation: move12 infinite 8s;
          animation: move12 infinite 8s;
}
@-webkit-keyframes move12 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 22vh;
    transform: translate(-60px, 0);
    opacity: 0;
  }
}
@keyframes move12 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 22vh;
    transform: translate(-60px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(13) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 59px;
  height: 59px;
  left: 1vw;
  bottom: 40vh;
  -webkit-animation: move13 infinite 11s;
          animation: move13 infinite 11s;
}
@-webkit-keyframes move13 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 6vh;
    transform: translate(162px, 0);
    opacity: 0;
  }
}
@keyframes move13 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 6vh;
    transform: translate(162px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(14) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 56px;
  height: 56px;
  left: 38vw;
  bottom: 46vh;
  -webkit-animation: move14 infinite 13s;
          animation: move14 infinite 13s;
}
@-webkit-keyframes move14 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 26vh;
    transform: translate(172px, 0);
    opacity: 0;
  }
}
@keyframes move14 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 26vh;
    transform: translate(172px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(15) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 63px;
  height: 63px;
  left: 35vw;
  bottom: 56vh;
  -webkit-animation: move15 infinite 11s;
          animation: move15 infinite 11s;
}
@-webkit-keyframes move15 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 41vh;
    transform: translate(110px, 0);
    opacity: 0;
  }
}
@keyframes move15 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 41vh;
    transform: translate(110px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(16) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 15px;
  height: 15px;
  left: 43vw;
  bottom: 92vh;
  -webkit-animation: move16 infinite 6s;
          animation: move16 infinite 6s;
}
@-webkit-keyframes move16 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 62vh;
    transform: translate(106px, 0);
    opacity: 0;
  }
}
@keyframes move16 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 62vh;
    transform: translate(106px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(17) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 46px;
  height: 46px;
  left: 44vw;
  bottom: 37vh;
  -webkit-animation: move17 infinite 3s;
          animation: move17 infinite 3s;
}
@-webkit-keyframes move17 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 63vh;
    transform: translate(154px, 0);
    opacity: 0;
  }
}
@keyframes move17 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 63vh;
    transform: translate(154px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(18) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 25px;
  height: 25px;
  left: 78vw;
  bottom: 13vh;
  -webkit-animation: move18 infinite 13s;
          animation: move18 infinite 13s;
}
@-webkit-keyframes move18 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 24vh;
    transform: translate(39px, 0);
    opacity: 0;
  }
}
@keyframes move18 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 24vh;
    transform: translate(39px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(19) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 95px;
  height: 95px;
  left: 70vw;
  bottom: 45vh;
  -webkit-animation: move19 infinite 6s;
          animation: move19 infinite 6s;
}
@-webkit-keyframes move19 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 34vh;
    transform: translate(99px, 0);
    opacity: 0;
  }
}
@keyframes move19 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 34vh;
    transform: translate(99px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(20) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 86px;
  height: 86px;
  left: 16vw;
  bottom: 71vh;
  -webkit-animation: move20 infinite 12s;
          animation: move20 infinite 12s;
}
@-webkit-keyframes move20 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 95vh;
    transform: translate(118px, 0);
    opacity: 0;
  }
}
@keyframes move20 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 95vh;
    transform: translate(118px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(21) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 100px;
  height: 100px;
  left: 47vw;
  bottom: 43vh;
  -webkit-animation: move21 infinite 7s;
          animation: move21 infinite 7s;
}
@-webkit-keyframes move21 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 44vh;
    transform: translate(131px, 0);
    opacity: 0;
  }
}
@keyframes move21 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 44vh;
    transform: translate(131px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(22) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 82px;
  height: 82px;
  left: 29vw;
  bottom: 20vh;
  -webkit-animation: move22 infinite 14s;
          animation: move22 infinite 14s;
}
@-webkit-keyframes move22 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 54vh;
    transform: translate(18px, 0);
    opacity: 0;
  }
}
@keyframes move22 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 54vh;
    transform: translate(18px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(23) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 32px;
  height: 32px;
  left: 68vw;
  bottom: 28vh;
  -webkit-animation: move23 infinite 13s;
          animation: move23 infinite 13s;
}
@-webkit-keyframes move23 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 73vh;
    transform: translate(99px, 0);
    opacity: 0;
  }
}
@keyframes move23 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 73vh;
    transform: translate(99px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(24) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 55px;
  height: 55px;
  left: 67vw;
  bottom: 55vh;
  -webkit-animation: move24 infinite 14s;
          animation: move24 infinite 14s;
}
@-webkit-keyframes move24 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 28vh;
    transform: translate(-29px, 0);
    opacity: 0;
  }
}
@keyframes move24 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 28vh;
    transform: translate(-29px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(25) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 45px;
  height: 45px;
  left: 92vw;
  bottom: 41vh;
  -webkit-animation: move25 infinite 6s;
          animation: move25 infinite 6s;
}
@-webkit-keyframes move25 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 22vh;
    transform: translate(167px, 0);
    opacity: 0;
  }
}
@keyframes move25 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 22vh;
    transform: translate(167px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(26) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 51px;
  height: 51px;
  left: 94vw;
  bottom: 16vh;
  -webkit-animation: move26 infinite 7s;
          animation: move26 infinite 7s;
}
@-webkit-keyframes move26 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 76vh;
    transform: translate(164px, 0);
    opacity: 0;
  }
}
@keyframes move26 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 76vh;
    transform: translate(164px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(27) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 98px;
  height: 98px;
  left: 22vw;
  bottom: 90vh;
  -webkit-animation: move27 infinite 10s;
          animation: move27 infinite 10s;
}
@-webkit-keyframes move27 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 39vh;
    transform: translate(-85px, 0);
    opacity: 0;
  }
}
@keyframes move27 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 39vh;
    transform: translate(-85px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(28) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 68px;
  height: 68px;
  left: 48vw;
  bottom: 17vh;
  -webkit-animation: move28 infinite 9s;
          animation: move28 infinite 9s;
}
@-webkit-keyframes move28 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 67vh;
    transform: translate(-4px, 0);
    opacity: 0;
  }
}
@keyframes move28 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 67vh;
    transform: translate(-4px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(29) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 69px;
  height: 69px;
  left: 19vw;
  bottom: 82vh;
  -webkit-animation: move29 infinite 10s;
          animation: move29 infinite 10s;
}
@-webkit-keyframes move29 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 100vh;
    transform: translate(160px, 0);
    opacity: 0;
  }
}
@keyframes move29 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 100vh;
    transform: translate(160px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(30) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 64px;
  height: 64px;
  left: 12vw;
  bottom: 42vh;
  -webkit-animation: move30 infinite 15s;
          animation: move30 infinite 15s;
}
@-webkit-keyframes move30 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 67vh;
    transform: translate(96px, 0);
    opacity: 0;
  }
}
@keyframes move30 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 67vh;
    transform: translate(96px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(31) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 45px;
  height: 45px;
  left: 10vw;
  bottom: 83vh;
  -webkit-animation: move31 infinite 6s;
          animation: move31 infinite 6s;
}
@-webkit-keyframes move31 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 99vh;
    transform: translate(132px, 0);
    opacity: 0;
  }
}
@keyframes move31 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 99vh;
    transform: translate(132px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(32) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 24px;
  height: 24px;
  left: 72vw;
  bottom: 28vh;
  -webkit-animation: move32 infinite 9s;
          animation: move32 infinite 9s;
}
@-webkit-keyframes move32 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 90vh;
    transform: translate(79px, 0);
    opacity: 0;
  }
}
@keyframes move32 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 90vh;
    transform: translate(79px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(33) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 11px;
  height: 11px;
  left: 80vw;
  bottom: 82vh;
  -webkit-animation: move33 infinite 7s;
          animation: move33 infinite 7s;
}
@-webkit-keyframes move33 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 69vh;
    transform: translate(-83px, 0);
    opacity: 0;
  }
}
@keyframes move33 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 69vh;
    transform: translate(-83px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(34) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 5px;
  height: 5px;
  left: 26vw;
  bottom: 70vh;
  -webkit-animation: move34 infinite 5s;
          animation: move34 infinite 5s;
}
@-webkit-keyframes move34 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 18vh;
    transform: translate(113px, 0);
    opacity: 0;
  }
}
@keyframes move34 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 18vh;
    transform: translate(113px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(35) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 97px;
  height: 97px;
  left: 82vw;
  bottom: 45vh;
  -webkit-animation: move35 infinite 14s;
          animation: move35 infinite 14s;
}
@-webkit-keyframes move35 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 61vh;
    transform: translate(84px, 0);
    opacity: 0;
  }
}
@keyframes move35 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 61vh;
    transform: translate(84px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(36) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 100px;
  height: 100px;
  left: 33vw;
  bottom: 40vh;
  -webkit-animation: move36 infinite 7s;
          animation: move36 infinite 7s;
}
@-webkit-keyframes move36 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 22vh;
    transform: translate(-23px, 0);
    opacity: 0;
  }
}
@keyframes move36 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 22vh;
    transform: translate(-23px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(37) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 46px;
  height: 46px;
  left: 47vw;
  bottom: 63vh;
  -webkit-animation: move37 infinite 12s;
          animation: move37 infinite 12s;
}
@-webkit-keyframes move37 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 71vh;
    transform: translate(1px, 0);
    opacity: 0;
  }
}
@keyframes move37 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 71vh;
    transform: translate(1px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(38) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 96px;
  height: 96px;
  left: 29vw;
  bottom: 67vh;
  -webkit-animation: move38 infinite 4s;
          animation: move38 infinite 4s;
}
@-webkit-keyframes move38 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 5vh;
    transform: translate(81px, 0);
    opacity: 0;
  }
}
@keyframes move38 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 5vh;
    transform: translate(81px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(39) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 6px;
  height: 6px;
  left: 31vw;
  bottom: 72vh;
  -webkit-animation: move39 infinite 9s;
          animation: move39 infinite 9s;
}
@-webkit-keyframes move39 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 57vh;
    transform: translate(45px, 0);
    opacity: 0;
  }
}
@keyframes move39 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 57vh;
    transform: translate(45px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(40) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 60px;
  height: 60px;
  left: 2vw;
  bottom: 3vh;
  -webkit-animation: move40 infinite 8s;
          animation: move40 infinite 8s;
}
@-webkit-keyframes move40 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 100vh;
    transform: translate(39px, 0);
    opacity: 0;
  }
}
@keyframes move40 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 100vh;
    transform: translate(39px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(41) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 49px;
  height: 49px;
  left: 93vw;
  bottom: 77vh;
  -webkit-animation: move41 infinite 12s;
          animation: move41 infinite 12s;
}
@-webkit-keyframes move41 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 16vh;
    transform: translate(16px, 0);
    opacity: 0;
  }
}
@keyframes move41 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 16vh;
    transform: translate(16px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(42) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 68px;
  height: 68px;
  left: 50vw;
  bottom: 34vh;
  -webkit-animation: move42 infinite 9s;
          animation: move42 infinite 9s;
}
@-webkit-keyframes move42 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 83vh;
    transform: translate(-66px, 0);
    opacity: 0;
  }
}
@keyframes move42 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 83vh;
    transform: translate(-66px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(43) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 55px;
  height: 55px;
  left: 3vw;
  bottom: 52vh;
  -webkit-animation: move43 infinite 4s;
          animation: move43 infinite 4s;
}
@-webkit-keyframes move43 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 4vh;
    transform: translate(83px, 0);
    opacity: 0;
  }
}
@keyframes move43 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 4vh;
    transform: translate(83px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(44) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 9px;
  height: 9px;
  left: 54vw;
  bottom: 58vh;
  -webkit-animation: move44 infinite 4s;
          animation: move44 infinite 4s;
}
@-webkit-keyframes move44 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 26vh;
    transform: translate(195px, 0);
    opacity: 0;
  }
}
@keyframes move44 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 26vh;
    transform: translate(195px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(45) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 15px;
  height: 15px;
  left: 61vw;
  bottom: 54vh;
  -webkit-animation: move45 infinite 8s;
          animation: move45 infinite 8s;
}
@-webkit-keyframes move45 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 80vh;
    transform: translate(144px, 0);
    opacity: 0;
  }
}
@keyframes move45 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 80vh;
    transform: translate(144px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(46) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 67px;
  height: 67px;
  left: 96vw;
  bottom: 55vh;
  -webkit-animation: move46 infinite 12s;
          animation: move46 infinite 12s;
}
@-webkit-keyframes move46 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 6vh;
    transform: translate(6px, 0);
    opacity: 0;
  }
}
@keyframes move46 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 6vh;
    transform: translate(6px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(47) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 65px;
  height: 65px;
  left: 23vw;
  bottom: 64vh;
  -webkit-animation: move47 infinite 5s;
          animation: move47 infinite 5s;
}
@-webkit-keyframes move47 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 24vh;
    transform: translate(120px, 0);
    opacity: 0;
  }
}
@keyframes move47 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 24vh;
    transform: translate(120px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(48) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 78px;
  height: 78px;
  left: 70vw;
  bottom: 13vh;
  -webkit-animation: move48 infinite 5s;
          animation: move48 infinite 5s;
}
@-webkit-keyframes move48 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 55vh;
    transform: translate(-39px, 0);
    opacity: 0;
  }
}
@keyframes move48 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 55vh;
    transform: translate(-39px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(49) {
  background: radial-gradient(ellipse at center, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 89px;
  height: 89px;
  left: 19vw;
  bottom: 4vh;
  -webkit-animation: move49 infinite 3s;
          animation: move49 infinite 3s;
}
@-webkit-keyframes move49 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 100vh;
    transform: translate(99px, 0);
    opacity: 0;
  }
}
@keyframes move49 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 100vh;
    transform: translate(99px, 0);
    opacity: 0;
  }
}
.bubble:nth-child(50) {
  background: radial-gradient(ellipse at top right, #b8c6c6 0%, #30b3d3 46%, #20628c 100%);
  width: 62px;
  height: 62px;
  left: 34vw;
  bottom: 56vh;
  -webkit-animation: move50 infinite 5s;
          animation: move50 infinite 5s;
}
@-webkit-keyframes move50 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 59vh;
    transform: translate(135px, 0);
    opacity: 0;
  }
}
@keyframes move50 {
  0% {
    bottom: -100px;
  }
  100% {
    bottom: 59vh;
    transform: translate(135px, 0);
    opacity: 0;
  }
}



/* =============================================================================
   ANOXA CMS — ai.css
   Neu strukturiert März 2026
   Backup: lib/css/anoxa.css (5432 Zeilen, unveränderlich)
   ============================================================================= */

/* =============================================================================
   01 · FONTS & ROOT
   ============================================================================= */

@font-face {
    font-family: "header";
    src: url("../fonts/5425684/2f492448-3020-4083-8c57-ec31c2ded70a.eot?#iefix");
    src: url("../fonts/5425684/2f492448-3020-4083-8c57-ec31c2ded70a.eot?#iefix") format("eot"),
         url("../fonts/5425684/b9a688a9-6ccf-44cb-ab33-27a834dbfa07.woff2") format("woff2"),
         url("../fonts/5425684/2e0a29a6-8012-4e47-b42d-83e42cf3d7a4.woff") format("woff"),
         url("../fonts/5425684/1ef41b41-eb60-4485-a9a4-d8811a650902.ttf") format("truetype");
}
@font-face {
    font-family: "custom_font";
    src: url("../fonts/5425879/a5a7cb6e-9697-4538-8f05-892b87abd61d.eot?#iefix");
    src: url("../fonts/5425879/a5a7cb6e-9697-4538-8f05-892b87abd61d.eot?#iefix") format("eot"),
         url("../fonts/5425879/e2133593-cb9c-4085-99b7-b0c50aa66283.woff2") format("woff2"),
         url("../fonts/5425879/e31ae641-aaea-4185-bff3-56e6dd88e930.woff") format("woff"),
         url("../fonts/5425879/dfb8536d-632c-4664-b7bf-f26fcac79bb5.ttf") format("truetype");
}
@font-face {
    font-family: 'custom_fonts';
    src: url('../fonts/RobotoCondensed-Regular.woff2') format('woff2'),
         url('../fonts/RobotoCondensed-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'custom_fonts_bold';
    src: url('../fonts/RobotoCondensed-SemiBold.woff2') format('woff2'),
         url('../fonts/RobotoCondensed-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
}
html, body {
    height: auto;
    min-height: 100vh;
    margin: 0;
    font-family: custom_font;
    padding: 0;
    overflow: hidden; /* Body-Scroll gesperrt — scrollen via #wrapper */
    position: relative;
}
html {
    background: #000;
}
body {
    min-height: 100vh;
}
body.iktsbody {
    font-family: "custom_fonts";
}

/* =============================================================================
   02 · RESET & BASE
   ============================================================================= */

img {
    max-width: 100%;
}
a {
    color: #FFF;
    text-decoration: none;
    transition: all 0.6s linear;
}
a:hover  { color: #CCC; }
a:visited { color: #FFF; }

h1, h2, h3, h4 {
    font-family: custom_font;
    color: rgba(255,255,255,0.90);
}
select {
    font-family: custom_font;
}
h2 {
    font-size: 20px;
    text-align: center;
    line-height: 27px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
h6 {
    position: relative;
    float: left;
    margin-top: -13px;
    margin-left: -90px;
    width: 90px;
    font-weight: normal;
    color: #666;
    height: 13px;
    font-size: 12px;
    text-align: center;
    z-index: 4;
}
h6.small  { margin-left: -70px; width: 70px; }
h6.large  { margin-left: -120px; width: 120px; }
h6.xsmall { margin-left: -70px; width: 70px; font-size: 10px; }

body.mceContentBody {
    background: #ccc;
    color: #000;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
meter {
    width: 98%;
    top: 20px;
    margin: 1%;
    height: 10px;
    border-radius: 0;
    border: 0px solid transparent;
}
meter::-webkit-meter-bar {
    background: none;
    background-color: whiteSmoke;
    box-shadow: 0 5px 5px -5px #333 inset;
}
meter::-webkit-meter-optimum-value      { background: green; }
meter::-webkit-meter-suboptimum-value   { background: orange; }
meter::-webkit-meter-even-less-good-value { background: red; }

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.fade    { display: none;  opacity: 0; }
.fadeshow { display: block; opacity: 1; }
.fadein  { opacity: 1; }
.fadeout { opacity: 0; }
.hidden  { display: none; }
.fx {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.trenner { clear: both; }

/* =============================================================================
   03 · BACKGROUND & OVERLAYS
   ============================================================================= */

/* ── Haupt-Hintergrund ────────────────────────────────────────────────────── */
mybackground, assistent {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    /*background: #080c18;*/
    background: linear-gradient(175deg,
    rgba(3,  8,  42, 0.88)   0%,
    rgba(3, 22,  68, 0.84)  40%,
    rgba(2, 55,  90, 0.78)  70%,
    rgba(3, 110, 160, 0.70) 100%
    );
    overflow: hidden;
}
assistent {
    background: transparent !important;
}
/* Blob 1 — Cyan-Blau unten rechts, driftet langsam */
mybackground::before {
    content: '';
    position: absolute;
    top: -20%; left: -20%;
    width: 140%; height: 140%;
    background: radial-gradient(ellipse 45% 40% at 65% 75%,
        rgba(5,155,246,0.42) 0%,
        rgba(5,155,246,0.12) 38%,
        rgba(5,155,246,0.03) 58%,
        transparent 72%);
    animation: nebulaBlob1 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
/* Blob 2 — Teal unten links + Lila oben rechts, driften gegenläufig */
mybackground::after {
    content: '';
    position: absolute;
    top: -20%; left: -20%;
    width: 140%; height: 140%;
    background:
        radial-gradient(ellipse 38% 36% at 14% 78%,
            rgba(4,245,219,0.30) 0%,
            rgba(4,245,219,0.09) 38%,
            rgba(4,245,219,0.02) 56%,
            transparent 70%),
        radial-gradient(ellipse 32% 30% at 82% 10%,
            rgba(168,85,247,0.22) 0%,
            rgba(168,85,247,0.07) 40%,
            rgba(168,85,247,0.02) 58%,
            transparent 72%);
    animation: nebulaBlob2 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
#myconsole canvas {
    opacity: 1;
}

/* ── Sekundäre Hintergrund-Overlays ──────────────────────────────────────── */
#myconsole, #playoverlay, modul_assistent, #facebackground {
    position: fixed;
    background: transparent;
    z-index: 1;
    top: 0; left: 0; right: 0; bottom: 0;
}
#myconsole {
    position: fixed; /* Canvas-Kinder brauchen positioned parent */
}
#modul_assistent {
    opacity: 0;
    display: none;
}
#facebackground {
    display: none;
    opacity: 0;
    z-index: 3;
    background: radial-gradient(circle at 50% 50%, rgba(201, 56, 247, 1) 0%, rgba(29, 167, 250, 1) 100%);
}
#playoverlay {
    z-index: 2;
    height: 100%;
    bottom: 0;
    position: absolute;
    box-shadow: none;
}

/* ── Heygen / Anora Video-Layer ──────────────────────────────────────────── */
#heygen-avatar-ui {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    opacity: 1;
    display: none;
    transition: opacity 0.8s ease-in-out;
    z-index: 9999;
    pointer-events: none;
}
#heygen-avatar-ui video {
    position: absolute;
    top: 0; left: 0;
    z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
#heygen-avatar-ui button {
    position: fixed;
    z-index: 30;
}
#anoraVideoWrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 9998;
    opacity: 0;
    display: none;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}
#anoraProcessVideo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
logoelement {
    position: relative;
    display: block;
    margin: 80px auto;
    max-width: 280px;
    width: 280px;
    z-index: 20;
}
apiresult {
    position: relative;
    display: block;
    margin: 0 auto;
    z-index: 20;
    max-width: 280px;
    width: 280px;
    color: #FFF;
    text-align: center;
}

/* ── Assistent-Elemente ───────────────────────────────────────────────────── */
assistent #current_step, assistent #logo_preview, assistent input {
    position: absolute;
    top: 50%; left: 50%;
    text-align: center;
    color: white;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: 90%;
}
#svg_preview {
    position: absolute;
    top: 50%; left: 50%;
    text-align: center;
    color: white;
    padding: 20px;
    transform: translate(-50%, -50%);
    display: none;
    width: 320px;
    max-width: 90%;
    z-index: 1;
}
assistent input, assistent #logo_preview {
    width: 320px !important;
}
assistent #logo_preview, assistent input {
    display: none;
}
#shop_url_input_heygen {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 1;
    width: 320px !important;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    font-size: 20px !important;
    color: white;
    transition: opacity 400ms ease;
    display: none;
    pointer-events: auto;
}

/* ── Fullscreen Image Preview ─────────────────────────────────────────────── */
#fullscreen_kiimage_preview {
    display: none;
    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 500ms ease;
}
#fullscreen_kiimage_preview.show {
    display: flex;
    opacity: 1;
}
#fullscreen_kiimage_preview img {
    width: 100vw; height: 100vh;
    object-fit: cover;
    object-position: center center;
}

/* ── Preloader / Warten ───────────────────────────────────────────────────── */
#backlayer {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100000;
}
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
#progressbar {
    position: relative;
    width: 60%;
    height: 1px;
    background: #333;
    overflow: visible;
}
#bar {
    display: block;
    position: relative;
    height: 100%;
    background: #FFF;
    width: 0%;
    transition: width 0.3s ease;
}
#percent {
    position: absolute;
    top: -20px;
    right: 0;
    transform: translateX(50%);
    font-size: 10px;
    color: #666;
    transition: none;
}
#warten {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100001;
    transition: opacity 0.4s ease;
}
#warten img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
#kiprocess {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    background-size: 400% 400%;
    background-image: linear-gradient(45deg,
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5),
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5));
    animation: gradientAnimation 10s ease infinite, fadeInOut 3s ease-in-out infinite;
}

/* ── KI Debug-Fenster ─────────────────────────────────────────────────────── */
.fehlerfenster[data-agent-message] {
    display: none;
    margin: 20px;
    border: 1px solid #333;
    background: #333;
    color: #FFF;
    padding: 20px;
    animation: fehler-fallback 0s 3s forwards;
}

/* =============================================================================
   04 · FACEID
   ============================================================================= */

faceid {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}
faceid #video {
    position: absolute;
    top: -9999px; left: -9999px;
    width: 1px; height: 1px;
}
faceid #video.create {
    width: 100%; height: auto;
    position: relative;
    top: 0; left: 0;
    display: block;
}
#overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
}
#video-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
#face_id_status { display: none; }
button.startefaceid { display: none; }

/* ── FaceID Setup v2 — Overlay ────────────────────────────────────────────── */
#faceid-setup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: faceidOverlayIn 0.4s ease;
}
#faceid-setup-overlay.fadeout {
    animation: faceidOverlayOut 0.4s ease forwards;
}
.faceid-setup-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
}
.faceid-video-frame {
    position: relative;
    width: 260px; height: 260px;
    border-radius: 50%;
    overflow: hidden;
    background: #111;
}
.faceid-setup-video {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    display: block;
}
.faceid-setup-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: scaleX(-1);
    pointer-events: none;
}
.faceid-ring-svg {
    position: absolute;
    top: -4px; left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    z-index: 5;
    transform: rotate(-90deg);
    pointer-events: none;
}
.faceid-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 4;
}
.faceid-ring-progress {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke 0.3s ease, stroke-dashoffset 0.15s ease;
}
.faceid-video-frame.state-wrong   { box-shadow: 0 0 30px rgba(255, 149, 0, 0.2); }
.faceid-video-frame.state-holding { box-shadow: 0 0 40px rgba(4, 245, 219, 0.25); }
.faceid-video-frame.state-captured {
    box-shadow: 0 0 50px rgba(0, 230, 118, 0.35);
    animation: faceidCaptureFlash 0.5s ease;
}
.faceid-pose-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    user-select: none;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faceid-instruction {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-weight: 400;
    line-height: 1.4;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.faceid-dots { display: flex; gap: 10px; }
.faceid-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.faceid-dot.active {
    background: rgba(4, 245, 219, 0.5);
    box-shadow: 0 0 8px rgba(4, 245, 219, 0.3);
}
.faceid-dot.done {
    background: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.45);
}
.faceid-dot.captured {
    animation: faceidDotPop 0.4s ease;
}
.faceid-cancel-btn {
    margin-top: 8px;
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.faceid-cancel-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

/* =============================================================================
   05 · AGENT UI
   ============================================================================= */

/* ── Conversation-Element ─────────────────────────────────────────────────── */
conversation {
    position: absolute;
    top: 20%; left: 50%;
    transform: translateX(-50%);
    z-index: 105;
    width: 250px;
    transition: all 0.6s linear;
}
conversation.cmsai {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 60px;
    transform: none;
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow: visible;
    z-index: 100001;
    pointer-events: none;
}
conversation.cmsai .kilogobox,
conversation.cmsai .chat-toggle-btn,
conversation.cmsai .faceid-bar-btn {
    pointer-events: auto;
}

/* ── Sprach-Selektor ─────────────────────────────────────────────────────── */
.lang-selector {
    position: fixed;
    top: 16px; right: 16px;
    z-index: 1000;
    display: flex;
    gap: 6px;
    align-items: center;
    transition: opacity 0.3s ease;
}
body.flow-active .lang-selector {
    display: none !important;
}
.lang-btn {
    padding: 5px 12px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.06), rgba(5, 155, 246, 0.06));
    color: rgba(255, 255, 255, 0.50);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.08);
    backdrop-filter: blur(6px);
}
.lang-btn:hover {
    border-color: rgba(56, 189, 248, 0.65);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(5, 155, 246, 0.18));
    color: #fff;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.45), 0 0 24px rgba(5, 155, 246, 0.2);
    transform: scale(1.08);
}
.lang-btn.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(5, 155, 246, 0.18));
    border-color: rgba(56, 189, 248, 0.60);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.40), 0 0 22px rgba(5, 155, 246, 0.18);
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.50);
}

/* ── Logo + Atom ──────────────────────────────────────────────────────────── */
.kilogobox {
    position: relative;
    width: 230px;
    margin: 0 auto;
}
.kilogobox img {
    width: 100%; height: auto;
    display: block;
}
conversation.cmsai .kilogobox {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 105px;
    margin: 0;
}

/* ── Atom-Container ───────────────────────────────────────────────────────── */
.atom-wrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
conversation.cmsai .atom-wrap {
    width: 30px; height: 30px;
}
.atom-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(5, 155, 246, 0.45);
    box-shadow:
        0 0 15px rgba(5, 155, 246, 0.18),
        0 0 6px rgba(56, 189, 248, 0.12),
        inset 0 0 12px rgba(5, 155, 246, 0.06);
    transition: all 0.4s ease;
}
conversation.cmsai .atom-ring {
    border-width: 2px;
}
.atom-wrap.speaking .atom-ring {
    border-color: rgba(56, 189, 248, 0.70);
    border-width: 3.5px;
    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.35),
        0 0 50px rgba(5, 155, 246, 0.15),
        inset 0 0 20px rgba(56, 189, 248, 0.10);
}
conversation.cmsai .atom-wrap.speaking .atom-ring {
    border-width: 2.5px;
}
.atom-wrap.busy .atom-ring {
    border-color: rgba(56, 189, 248, 0.85);
    border-width: 3.5px;
    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.45),
        0 0 60px rgba(5, 155, 246, 0.20),
        inset 0 0 20px rgba(56, 189, 248, 0.12);
    animation: atom-busy-pulse 1.8s ease-in-out infinite;
}
conversation.cmsai .atom-wrap.busy .atom-ring {
    border-width: 2.5px;
    animation: atom-busy-pulse 1.8s ease-in-out infinite;
}
.atom-nucleus {
    position: absolute;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff, #a8e8ff 22%, #38bdf8 50%, #059bf6 78%, #1a5fff 100%);
    box-shadow:
        0 0 12px rgba(56, 189, 248, 0.65),
        0 0 28px rgba(5, 155, 246, 0.35),
        0 0 60px rgba(30, 100, 255, 0.12);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
conversation.cmsai .atom-nucleus {
    width: 8px; height: 8px;
}
.atom-wrap.busy .atom-nucleus {
    background: radial-gradient(circle at 40% 40%, rgba(56, 189, 248, 0.6), rgba(5, 155, 246, 0.35));
    animation: atom-busy-nucleus 1.8s ease-in-out infinite;
}
.atom-wrap.speaking .atom-nucleus {
    animation: atom-nucleus-pulse 0.6s cubic-bezier(0.36, 0, 0.66, 1) infinite;
}
.atom-glow {
    position: absolute;
    width: 85%; height: 85%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.10) 0%, rgba(30, 120, 255, 0.05) 50%, transparent 70%);
    transition: opacity 0.5s ease;
}
.atom-wrap.speaking .atom-glow {
    animation: atom-ambient 1.5s ease-in-out infinite;
}

/* ── Orbitale ─────────────────────────────────────────────────────────────── */
.atom-orbital {
    position: absolute;
    top: 50%; left: 50%;
    overflow: visible;
}
.atom-orbital ellipse {
    fill: none;
    stroke-width: 6;
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.50));
}
.atom-orbital-1 {
    width: 75%; height: 47%;
    margin-left: -37.5%; margin-top: -23.5%;
    animation: atom-spin-1 8s linear 0s infinite;
}
.atom-orbital-2 {
    width: 72%; height: 43%;
    margin-left: -36%; margin-top: -21.5%;
    animation: atom-spin-2 10s linear -3.3s infinite reverse;
}
.atom-orbital-3 {
    width: 70%; height: 50%;
    margin-left: -35%; margin-top: -25%;
    animation: atom-spin-3 12s linear -7.1s infinite;
}
.atom-orbital-1 ellipse { stroke: url(#atom-grad-1); }
.atom-orbital-2 ellipse { stroke: url(#atom-grad-2); }
.atom-orbital-3 ellipse { stroke: url(#atom-grad-3); }

.atom-wrap.speaking .atom-orbital-1 { animation: atom-spin-1 1.3s ease-in-out 0s infinite; }
.atom-wrap.speaking .atom-orbital-2 { animation: atom-spin-2 1.85s linear -0.7s infinite reverse; }
.atom-wrap.speaking .atom-orbital-3 { animation: atom-spin-3 2.6s cubic-bezier(0.4, 0, 0.6, 1) -1.3s infinite; }
.atom-wrap.speaking .atom-orbital ellipse {
    stroke-width: 7;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.65));
}

/* ── Electrons ────────────────────────────────────────────────────────────── */
.atom-electron {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #7dd3fc;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.90), 0 0 16px rgba(5, 155, 246, 0.45);
    z-index: 5;
}
conversation.cmsai .atom-electron { width: 3px; height: 3px; }
.atom-wrap.speaking .atom-electron {
    width: 6px; height: 6px;
    background: #bae6fd;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.95), 0 0 24px rgba(56, 189, 248, 0.55);
}
conversation.cmsai .atom-wrap.speaking .atom-electron { width: 4px; height: 4px; }

.atom-electron-1 { animation: atom-el-1 8s linear -1.2s infinite; }
.atom-electron-2 { animation: atom-el-2 10s linear -5.7s infinite reverse; }
.atom-electron-3 { animation: atom-el-3 12s linear -8.4s infinite; }

.atom-wrap.speaking .atom-electron-1 { animation: atom-el-1 1.3s ease-in-out 0s infinite; }
.atom-wrap.speaking .atom-electron-2 { animation: atom-el-2 1.85s linear -0.5s infinite reverse; }
.atom-wrap.speaking .atom-electron-3 { animation: atom-el-3 2.6s cubic-bezier(0.4, 0, 0.6, 1) -1.1s infinite; }

conversation.cmsai .atom-electron-1 { animation: atom-el-sm-1 8s linear -1.2s infinite; }
conversation.cmsai .atom-electron-2 { animation: atom-el-sm-2 10s linear -5.7s infinite reverse; }
conversation.cmsai .atom-electron-3 { animation: atom-el-sm-3 12s linear -8.4s infinite; }
conversation.cmsai .atom-wrap.speaking .atom-electron-1 { animation: atom-el-sm-1 1.3s ease-in-out 0s infinite; }
conversation.cmsai .atom-wrap.speaking .atom-electron-2 { animation: atom-el-sm-2 1.85s linear -0.5s infinite reverse; }
conversation.cmsai .atom-wrap.speaking .atom-electron-3 { animation: atom-el-sm-3 2.6s cubic-bezier(0.4, 0, 0.6, 1) -1.1s infinite; }

/* ── Chat Toggle Button ───────────────────────────────────────────────────── */
.chat-toggle-btn { display: none; }
conversation.cmsai .chat-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    padding: 0;
    z-index: 106;
}
conversation.cmsai .chat-toggle-btn:hover {
    background: rgba(56, 189, 248, 0.12);
    color: rgba(56, 189, 248, 0.85);
    border-color: rgba(56, 189, 248, 0.28);
}
conversation.cmsai .chat-toggle-btn.hidden { display: none; }

/* ── Mic-Toggle Button (Safari-Fallback Audio-Modus) ─────────────────────── */
.mic-toggle-btn { display: none; }
conversation.cmsai .mic-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    position: absolute;
    left: 110px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    padding: 0;
    z-index: 106;
}
/* listening — teal pulsierend */
conversation.cmsai .mic-toggle-btn.mic-state-listening {
    color: rgba(4, 245, 219, 0.9);
    border-color: rgba(4, 245, 219, 0.35);
    background: rgba(4, 245, 219, 0.10);
    animation: micPulse 1.4s ease-in-out infinite;
}
/* busy — blau/lila, kein Klick */
conversation.cmsai .mic-toggle-btn.mic-state-busy {
    color: rgba(5, 155, 246, 0.8);
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(5, 155, 246, 0.08);
    cursor: not-allowed;
    opacity: 0.7;
}
conversation.cmsai .mic-toggle-btn:not(.mic-state-busy):hover {
    background: rgba(4, 245, 219, 0.10);
    color: rgba(4, 245, 219, 0.85);
    border-color: rgba(4, 245, 219, 0.30);
}
@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(4, 245, 219, 0.3); }
    50%       { box-shadow: 0 0 0 6px rgba(4, 245, 219, 0); }
}

/* ── FaceID Bar-Button ────────────────────────────────────────────────────── */
.faceid-bar-btn { display: none; }
conversation.cmsai .faceid-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 65px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(56, 189, 248, 0.75);
    font-size: 15px;
    cursor: pointer;
    z-index: 106;
    transition: all 0.2s ease;
    padding: 0;
    animation: faceidPulse 3s ease-in-out infinite;
}
conversation.cmsai .faceid-bar-btn:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.45);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
body.chat-panel-open conversation.cmsai .faceid-bar-btn {
    left: 20px;
}

/* ── Chat Panel ───────────────────────────────────────────────────────────── */
.chat-panel {
    position: fixed;
    top: 85px; right: 0;
    width: 380px;
    max-width: 90vw;
    height: calc(100vh - 85px);
    background: rgba(4, 14, 28, 0.60);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(56, 189, 248, 0.14);
    border-top-left-radius: 4px;
    border-left: 1px solid rgba(56, 189, 248, 0.14);
    box-shadow: -4px 0 30px rgba(2, 8, 18, 0.7), -1px 0 0 rgba(56, 189, 248, 0.06);
    z-index: 100003;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.25s ease;
    pointer-events: none;
}
.chat-panel.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
#chat-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
#agent-mode-toggle { display: flex; gap: 6px; }
.chat-panel-header-right { display: flex; gap: 6px; }

/* ── Chat Messages ────────────────────────────────────────────────────────── */
#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#chat-messages::-webkit-scrollbar { width: 4px; }
#chat-messages::-webkit-scrollbar-track { background: transparent; }
#chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.chat-bubble {
    max-width: 90%;
    padding: 8px 12px;
    border-radius: 12px;
    font-family: custom_font;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
    animation: bubbleFadeIn 0.2s ease;
}
.chat-bubble.agent {
    align-self: flex-start;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.14);
    color: rgba(255, 255, 255, 0.9);
}
.chat-bubble.user {
    align-self: flex-end;
    background: rgba(5, 155, 246, 0.12);
    border: 1px solid rgba(5, 155, 246, 0.18);
    color: rgba(255, 255, 255, 0.9);
}
.chat-bubble.system {
    align-self: center;
    background: none; border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-style: italic;
    padding: 4px 0;
}
.chat-bubble-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}
.chat-bubble-wrapper.agent,
.chat-bubble-wrapper.ki { flex-direction: row; }
.chat-bubble-wrapper.user { flex-direction: row-reverse; }

/* ── Typing Indicator (iMessage-Stil) ───────────────────────────────────────── */
.chat-bubble.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    min-width: 48px;
}
.chat-bubble.typing-indicator span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.6);
    animation: typingBounce 1.2s infinite ease-in-out;
}
.chat-bubble.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.chat-bubble.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%            { transform: translateY(-5px); opacity: 1; }
}

.chat-bubble.faceid-prompt {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(56, 189, 248, 0.05);
}
.faceid-prompt-text { font-size: 13px; line-height: 1.5; }

/* ── Chat Input ───────────────────────────────────────────────────────────── */
#chat-input-bar {
    display: flex;
    gap: 8px;
    padding: 10px 15px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
#chat-input-bar.hidden { display: none; }
#chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: white;
    font-family: custom_font;
    font-size: 13px;
    padding: 8px 16px;
    outline: none;
    transition: border-color 0.2s ease;
}
#chat-input:focus { border-color: rgba(56, 189, 248, 0.45); }
#chat-input::placeholder { color: rgba(255, 255, 255, 0.3); }
#chat-send {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.20);
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(56, 189, 248, 0.75);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    padding: 0;
    flex-shrink: 0;
}
#chat-send:hover {
    background: rgba(56, 189, 248, 0.22);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.30);
}

/* ── DeepSearch Preview ───────────────────────────────────────────────────── */
#deepsearch-preview {
    position: fixed;
    top: 50%;
    left: calc(50% - 190px);
    transform: translate(-50%, -50%);
    z-index: 100010;
    width: 420px;
    max-width: calc(95vw - 380px);
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(10, 20, 35, 0.97);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.12), 0 20px 60px rgba(0,0,0,0.6);
    color: #fff;
    font-family: custom_fonts;
}
#deepsearch-preview h3 {
    margin: 0 0 16px;
    font-size: 15px;
    color: rgba(56, 189, 248, 0.92);
    letter-spacing: 0.05em;
}
.deepsearch-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.deepsearch-field-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.04);
    border: 1px solid rgba(56, 189, 248, 0.10);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}
.deepsearch-field-row:hover { background: rgba(56, 189, 248, 0.09); }
.deepsearch-field-row input[type=checkbox] {
    margin-top: 2px; flex-shrink: 0;
    accent-color: #38bdf8;
}
.deepsearch-field-row strong { color: rgba(56, 189, 248, 0.75); white-space: nowrap; }
.deepsearch-field-row span  { color: rgba(255,255,255,0.8); word-break: break-word; }
.deepsearch-btn-row {
    display: flex; gap: 10px; justify-content: flex-end;
}
.deepsearch-btn-row .chat-action-btn.cancel {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}
.deepsearch-btn-row .chat-action-btn.cancel:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: none;
}

/* ── Start Choice / Mode Toggle ───────────────────────────────────────────── */
.start-choice, #agent-start-choice, .login-start-choice {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}
.mode-toggle {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(5, 155, 246, 0.05));
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 30px;
    padding: 4px;
    position: relative;
    width: 290px; height: 40px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.08);
    transition: box-shadow 0.3s ease;
}
.mode-toggle:hover {
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.28), 0 0 28px rgba(5, 155, 246, 0.12);
    border-color: rgba(56, 189, 248, 0.42);
}
.mode-toggle-slider {
    position: absolute;
    top: 4px; left: 4px;
    width: calc(33.333% - 2.667px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(5, 155, 246, 0.28));
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 26px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25), 0 0 20px rgba(5, 155, 246, 0.12);
}
.mode-toggle.audio .mode-toggle-slider {
    transform: translateX(100%);
}
.mode-toggle-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    border: none; background: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-family: custom_fonts;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    border-radius: 26px;
    position: relative;
}
.mode-toggle-option:hover {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}
.mode-toggle-option i { font-size: 12px; }
.mode-toggle-option.active {
    color: #fff;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.55);
}
/* ── Avatar Coming-Soon Option ── */
.mode-toggle-option.coming-soon {
    cursor: default;
    pointer-events: none;
}

/* ── Content-Push bei offenem Panel ───────────────────────────────────────── */
#wrapper {
    transition: margin-right 0.35s ease;
}
.editorclass {
    transition: margin-right 0.35s ease;
}
body.chat-panel-open #wrapper {
    margin-right: 380px;
}
body.chat-panel-open .editorclass {
    max-width: calc(100vw - 380px);
    margin-right: 380px;
}
body.chat-panel-open #moduliconcontainer {
    left: calc(50%) !important;
    max-width: calc(100vw - 380px);
    transition: left 0.35s ease, max-width 0.35s ease;
}
body.chat-panel-open #kundencenter {
    max-width: calc(100% - 380px);
    margin-right: 380px;
}
body.chat-panel-open container.cmsiconcontainer {
    max-width: calc(100vw - 380px);
    transition: max-width 0.35s ease;
    overflow-y: auto !important;
}
body.chat-panel-open .upload-progress-overlay {
    padding-right: 380px;
}
/* Drag&Drop Einzelspalte wenn Panel offen */
body.chat-panel-open .draganddrop ul {
    width: calc(100% - 10px) !important;
    float: none;
    height: auto !important;
    min-height: 150px;
}
body.chat-panel-open .draganddrop ul li {
    height: auto !important;
    min-height: 40px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
}
/* Panel-responsive: frühere Breakpoints */
body.chat-panel-open .underlabel > label { width: 25%; }
body.chat-panel-open .cms_eingabe_style_container:not(.full) { width: 50% !important; }

@media (max-width: 1580px) {
    body.chat-panel-open .meineliste li { width: calc(33.33% - 20px); }
    body.chat-panel-open .vertraege_container,
    body.chat-panel-open .benutzer_container,
    body.chat-panel-open .cms_container,
    body.chat-panel-open .file_container,
    body.chat-panel-open .mo_container,
    body.chat-panel-open #kategorieLeft li,
    body.chat-panel-open #gruppenLeft li { width: calc(33.3% - 20px); }
    body.chat-panel-open .gruppe-card { width: calc(33.333% - 20px) !important; }
    body.chat-panel-open .myfiles.vier li { width: calc(33.3% - 20px) !important; }
    body.chat-panel-open #newsLeft li.news-jahr-trenner { width: 100% !important; }
    body.chat-panel-open #gewinnContainerLeft li,
    body.chat-panel-open #newsletterLeft li,
    body.chat-panel-open #immosubLeft li,
    body.chat-panel-open #wikisubLeft li,
    body.chat-panel-open #acontainerLeft li,
    body.chat-panel-open #angebotContainerLeft li {
        width: calc(33.333% - 20px);
        margin: 10px;
    }
    body.chat-panel-open .underlabel > label { width: 33.333%; }
    body.chat-panel-open .usertab { width: calc(33.333% - 5px) !important; }
}
@media (max-width: 1404px) {
    body.chat-panel-open .cms_eingabe_style_container:not(.full) { width: 100% !important; }
    body.chat-panel-open .gruppe-card { width: calc(50% - 20px) !important; }
    body.chat-panel-open .myfiles.vier li { width: calc(50% - 20px) !important; }
    body.chat-panel-open .usertab { width: calc(50% - 5px) !important; }
    body.chat-panel-open .meineliste li { width: calc(50% - 20px); }
    body.chat-panel-open .vertraege_container,
    body.chat-panel-open .benutzer_container,
    body.chat-panel-open .cms_container,
    body.chat-panel-open .file_container,
    body.chat-panel-open .mo_container,
    body.chat-panel-open #kategorieLeft li,
    body.chat-panel-open #gruppenLeft li { width: calc(50% - 20px); }
    body.chat-panel-open #newsletteroverviewLeft li,
    body.chat-panel-open #newsletterLeft li,
    body.chat-panel-open #immosubLeft li,
    body.chat-panel-open #wikisubLeft li,
    body.chat-panel-open #acontainerLeft li,
    body.chat-panel-open #angebotContainerLeft li { width: calc(50% - 20px); margin: 10px; }
}
@media (max-width: 1147px) {
    body.chat-panel-open .gruppe-card { width: calc(100% - 20px) !important; }
    body.chat-panel-open .myfiles.vier li { width: calc(100% - 20px) !important; }
    body.chat-panel-open .usertab { width: calc(100%) !important; margin-right: 0; }
    body.chat-panel-open .meineliste li { width: calc(100%); margin: 10px 0; }
    body.chat-panel-open .vertraege_container,
    body.chat-panel-open .benutzer_container,
    body.chat-panel-open .cms_container,
    body.chat-panel-open .file_container,
    body.chat-panel-open .mo_container,
    body.chat-panel-open #kategorieLeft li,
    body.chat-panel-open #gruppenLeft li { width: calc(100% - 20px); }
    body.chat-panel-open #newsletteroverviewLeft li,
    body.chat-panel-open #newsletterLeft li,
    body.chat-panel-open #immosubLeft li,
    body.chat-panel-open #wikisubLeft li,
    body.chat-panel-open #acontainerLeft li,
    body.chat-panel-open #angebotContainerLeft li { width: calc(100%); margin: 10px 0; }
}
@media (max-width: 768px) {
    .chat-panel { width: 100vw; max-width: 100vw; }
    body.chat-panel-open #wrapper,
    body.chat-panel-open .editorclass { margin-right: 0; }
}

/* =============================================================================
   06 · CMS LAYOUT
   ============================================================================= */

/* ── Wrapper ──────────────────────────────────────────────────────────────── */
#wrapper {
    position: relative;
    height: calc(100vh);
    overflow-y: scroll;
    opacity: 1;
    z-index: 2;
    display: block;
}
#kundencenter {
    position: relative;
    z-index: 3;
    height: 0;
    overflow-y: auto;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: height 0.8s ease, opacity 0.8s ease, visibility 0s linear 0.8s;
}
#kundencenter.active {
    opacity: 1;
    height: calc(100vh);
    visibility: visible;
    transition: opacity 0.8s ease;
}

/* ── Editorclass ──────────────────────────────────────────────────────────── */
.editorclass {
    position: relative;
    width: 100%;
    overflow-y: scroll;
    height: calc(100vh);
    display: none;
    opacity: 0;
}
.editorclass.active {
    display: block !important;
    opacity: 1 !important;
}

/* ── myeditorwindow (merged: base + modern styling) ──────────────────────── */
myeditorwindow {
    position: relative;
    display: block;
    border-radius: 15px;
    width: calc(100% - 40px) !important;
    padding-bottom: 100px;
    margin: 85px 20px 50px 20px !important;
    height: auto !important;
    min-height: calc(100vh - 100px);
    overflow: hidden !important;
    background: rgba(8, 16, 30, 0.70) !important;
    background-image: none !important;
    border: 1px solid rgba(56, 189, 248, 0.10);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.04), 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.8s linear;
}
myeditorwindow #hinweis_box {
    margin: 20px;
    border: 1px solid #333;
    background: #333;
    color: #FFF;
    padding: 20px;
}
myeditorwindow h2 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.2;
    margin: 0 0 4px 0;
    padding: 0;
    background: none !important;
    background-image: none !important;
}

/* ── myhead (merged: base + modern styling) ───────────────────────────────── */
myhead {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    height: auto;
    overflow: hidden;
    margin-bottom: 0 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88) !important;
    background: rgba(56, 189, 248, 0.04) !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}
/* Blau-Akzentbalken links */
myhead::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 8px;
    background: linear-gradient(to bottom, #38bdf8, rgba(5, 155, 246, 0.5));
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.30);
}
/* Scan-Shimmer */
myhead::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -60%;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.035), transparent);
    animation: moduleHeadScan 4.5s ease-in-out infinite;
    pointer-events: none;
}
myhead i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px;
    min-width: 34px;
    height: 34px;
    line-height: 1 !important;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: #38bdf8 !important;
    font-size: 16px !important;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.10);
    vertical-align: middle;
    margin: 0 !important;
}

/* ── containersave ────────────────────────────────────────────────────────── */
containersave {
    position: fixed !important;
    right: 0; top: 0;
    z-index: 110 !important;
    display: flex;
    align-items: center;
    height: auto;
    padding: 0;
    background: rgba(8, 16, 30, 0.96) !important;
    background-image: none !important;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(56, 189, 248, 0.12);
    border-bottom-left-radius: 0;
    color: rgba(255, 255, 255, 0.88) !important;
}
#buttoncontroller {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(56, 189, 248, 0.05);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    border-left: 1px solid rgba(56, 189, 248, 0.25);
    border-bottom-left-radius: 6px;
    position: relative;
}
#buttoncontroller::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 24px; height: 24px;
    border-bottom: 2px solid rgba(56, 189, 248, 0.12);
    border-left: 2px solid rgba(56, 189, 248, 0.12);
    border-bottom-left-radius: 6px;
    pointer-events: none;
}

/* ── Module-Icons Container ───────────────────────────────────────────────── */
#moduliconcontainer {
    display: none;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: 1620px;
    padding: 20px;
    height: auto;
    overflow: hidden;
    margin: auto;
}
#moduliconcontainer.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}
container {
    max-width: 100%;
    width: 1620px;
    padding: 20px;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}
container.cmsiconcontainer {
    position: relative;
    margin-top: 85px;
    display: none;
    opacity: 0;
    transition: all 0.6s linear;
}
container.cmsiconcontainer.active {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    min-height: calc(100vh - 85px);
    height: auto !important;
    overflow: visible !important;
    padding: 20px 20px 80px;
    box-sizing: border-box;
    opacity: 1 !important;
}

/* ── Service Icons ────────────────────────────────────────────────────────── */
.service_container {
    float: none;
    position: relative;
    flex: 0 1 130px;
    min-width: 100px;
    max-width: 200px;
    margin: 20px;
}
.service_container:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.service_content {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}
.service_container:hover, .service_container.hover_effect {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.0);
}
.service_icon, .modul_icon {
    border-radius: 20px;
    position: relative;
    width: 100%; height: 100%;
    overflow: visible;
    color: #FFF;
    cursor: pointer;
    transition: all 0.3s linear;
    box-shadow: inset 0px 0px 12px 0px rgba(255, 255, 255, 0.2), 0px 1px 12px 0px rgba(0, 0, 0, 0.5);
}
.service_icon::after {
    content: '';
    position: absolute;
    top: 0px; left: 0px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: calc(100%);
    height: 50%;
    transition: all 0.3s linear;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
}
.modul_icon {
    margin: 70px auto 30px;
    width: 120px; height: 120px;
}
.service_text {
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
    bottom: 10px;
    font-family: custom_font;
    font-size: 16px;
    color: #FFF;
    height: 30px;
}
/* ── Service Icon Glow-Variante (neues Layout) ────────────────────────────── */
.service_icon--glow {
    transition: all 0.35s ease;
}
.service_icon--glow::after {
    display: none !important;
}
.service_icon--glow i {
    font-size: 34px !important;
    transform: translate(-50%, -80%) !important;
    color: rgba(255, 255, 255, 0.68) !important;
    text-shadow: none !important;
}
.service_icon--glow .service_text {
    bottom: 12px !important;
    font-size: 11px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38) !important;
    text-shadow: none !important;
    font-family: custom_fonts;
    font-weight: 400;
}
.service_icon--glow:hover {
    border-radius: 50% !important;
    transform: scale(1.06);
    filter: brightness(1.1);
}
.service_icon--glow:hover i {
    color: rgba(255, 255, 255, 0.90) !important;
}
.service_icon i, .modul_icon i, .service_icon .fa-brands {
    position: absolute;
    top: 50% !important;
    left: 50%;
    transform: translate(-50%, -70%);
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
    transition: all 0.3s linear;
    font-size: 50px;
}
.service_icon:hover, .modul_icon:hover {
    border-radius: 50%;
    box-shadow: inset 0px 0px 12px 0px rgba(255, 255, 255, 0.2), 0px 1px 17px 0px rgba(0, 0, 0, 0.7);
}
.service_icon:hover::after {
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
}
/* ── Admin Module Icon — service_icon Vorschau in myfiles.vier Karten ──────── */
#adminmoduleleft .adm-modul-icon,
#kundenseitenLeft .adm-modul-icon {
    width: 100%; display: flex; justify-content: center;
    padding: 14px 0 6px;
}
#adminmoduleleft .adm-modul-icon .service_icon,
#kundenseitenLeft .adm-modul-icon .service_icon {
    width: 90px; height: 90px;
    pointer-events: none;
}
#adminmoduleleft .adm-modul-icon .service_icon .service_text,
#kundenseitenLeft .adm-modul-icon .service_icon .service_text {
    display: none;
}
#adminmoduleleft .file-preview,
#kundenseitenLeft .file-preview {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding-bottom: 8px;
}
#adminmoduleleft .file-preview .file-name,
#kundenseitenLeft .file-preview .file-name {
    font-size: 10px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: rgba(255,255,255,0.8); text-align: center;
    padding: 0 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 100%;
}

/* ── serviceLeft ────────────────────────────────────────────────────────── */
#serviceLeft li > i { margin-top: 20px; font-size: 100px; }

/* ── Logo (CMS-interne Navigation) ───────────────────────────────────────── */
#logoimg {
    z-index: 22;
    height: auto;
    position: fixed;
    width: 90px;
    top: 16px; left: 20px;
}
#logoimg img { width: 100%; height: auto; }


/* ── Editor-Window / Suchfenster ──────────────────────────────────────────── */
.editor-window {
    position: relative;
    width: 100%;
    padding: 20px;
    height: auto;
    overflow: hidden;
    min-height: 100px;
}
.editor-window h2 > div {
    position: relative;
    width: 50%;
    float: left;
}
.editor-window h2 > .dreiteiler {
    position: relative;
    width: 33.333%;
    float: left;
}
.display-header {
    position: relative;
    width: 100%;
    font-size: 24px;
    padding: 15px;
    height: auto;
    overflow: hidden;
}
suchfenster {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: rgba(8, 16, 30, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 44px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* ── Vorschau-Checker ─────────────────────────────────────────────────────── */
.preview-checkerboard {
    background-color: #ccc !important;
    background-image:
        linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
        linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%) !important;
    background-size: 20px 20px !important;
    background-position: 0 0, 10px 10px !important;
    display: flex; align-items: center; justify-content: center;
}

/* =============================================================================
   07 · FORMS & INPUTS
   ============================================================================= */

/* ── Login ────────────────────────────────────────────────────────────────── */
#login {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
#login.visible { opacity: 1; pointer-events: auto; }
#login_modul {
    position: absolute;
    top: 50%; left: 50%;
    width: calc(100% - 40px);
    max-width: 400px;
    min-height: 420px;
    transform: translate(-50%, -50%);
    z-index: 3;
    padding: 20px;
}
@media (max-height: 780px) {
    #login_modul {
        top: 60%;
    }
}
@media (max-height: 620px) {
    #login_modul {
        top: 65%;
        min-height: auto;
    }
}
#login_content { transition: opacity 0.3s ease; }
#login a { cursor: pointer; }

.cmslogin {
    position: relative;
    text-align: center;
    padding: 20px;
    margin: auto;
    font-size: 20px;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: none;
}
.cmslogin.fadein  { display: block; opacity: 1; }
.cmslogin.fadeout { opacity: 0; }

.login_eingabe {
    position: relative;
    width: 100%; color: #FFF; height: auto;
}
.login_result {
    position: relative;
    width: 100%; color: rgba(255,255,255,.4); height: auto;
    text-align: center; padding: 12px 20px 16px; margin: auto;
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.login_felder {
    background: rgba(5, 155, 246, 0.08);
    font-family: custom_font;
    font-size: 15px;
    color: rgba(255,255,255,.75);
    border: none;
    padding: 15px 16px;
    width: 100%; height: auto;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-appearance: none;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    flex: 1;
}
.login_felder:-webkit-autofill,
.login_felder:-webkit-autofill:hover,
.login_felder:-webkit-autofill:focus,
.login_felder:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px rgb(9,27,60) inset !important;
    -webkit-text-fill-color: rgba(255,255,255,.75) !important;
    caret-color: rgba(255,255,255,.75);
    font-size: 15px !important;
    transition: background-color 9999s ease-in-out 0s;
}
.login_felder::-webkit-input-placeholder,
.login_felder::-moz-placeholder,
.login_felder:-ms-input-placeholder,
.login_felder:-moz-placeholder { color: rgba(255,255,255,.35); }
.login_felder:hover { background: rgba(5,155,246,.13); color: #FFF; }

/* ── Unified Ghost-Box: Email oben, Passwort+Button unten ── */
#login1 {
    border: 1px solid rgba(5,155,246,.3);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
#login1 + .login_eingabe {
    display: flex;
    border: 1px solid rgba(5,155,246,.3);
    border-top: 1px solid rgba(5,155,246,.18);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}
.login_eingabe_row {
    display: flex;
    border: 1px solid rgba(5,155,246,.3);
    border-radius: 12px;
    overflow: hidden;
}
#login_email { border-radius: 0; }
#login_passwort {
    border: none;
    border-radius: 0;
    padding-right: 16px;
    margin-bottom: 0;
}
#passwort_reset_box {
    border: 1px solid rgba(5,155,246,.3);
    border-radius: 12px;
    overflow: hidden;
}
#passwort_reset_box .login_eingabe_row {
    border-radius: 0;
    border: none;
    overflow: visible;
    align-items: stretch;
}
#passwort_reset_box .login_button {
    border-radius: 0 0 12px 0;
    align-self: stretch;
    height: auto;
}
#passwort_reset_box #user_passwort {
    border-radius: 0;
}
#get_my_email, #sms_code {
    border-radius: 0;
    padding-right: 16px;
    margin-bottom: 0;
}
#verification_submit,
#passwort_submit { margin-top: 0; }
.input-error { border-color: red !important; outline: none; }

/* ── CMS Eingabe ──────────────────────────────────────────────────────────── */
.cms_eingabe_style_container {
    position: relative;
    width: 50%;
    padding: 10px 5px;
    float: left;
    height: auto;
    overflow: hidden;
}
.cms_eingabe_style_container.full,
.cms_eingabe_style_container.fullwidth { width: 100% !important; }
.cms_eingabe_style_container.third    { width: 33.333%; }
.cms_eingabe_style_container.quarter  { width: 25%; }
.cms_eingabe_style_container.dreivier { width: 75%; }
.cms_eingabe_style_container.five     { width: 20%; }
.cms_eingabe_style_container.auto     { width: auto; }
.cms_eingabe_style_container.einsechstel,
.cms_eingabe_style_container.thirdhalf { width: 16.666%; }
.cms_eingabe_style_container.half     { width: 25%; }
.cms_eingabe_style_container.zehntel  { width: 10%; }
.cms_eingabe_style_container.funfzehn { width: 15%; }
.cms_eingabe_style_container.funfunddreizig { width: 35%; }

.cms_eingabe_icon {
    width: 70px;
    padding: 15px 20px;
    color: #38bdf8;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cms_eingabe_icon i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px; min-width: 34px; height: 34px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.07);
    border: 1px solid rgba(56, 189, 248, 0.18);
    color: #38bdf8 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.10);
    margin: 0 !important;
}
.cms_eingabe_icon.small {
    width: 20px; padding: 15px 5px; margin: 0 5px;
    color: #38bdf8; float: left;
}
.cms_eingabe_icon.small i {
    font-size: 14px !important;
    width: 26px; min-width: 26px; height: 26px;
}
.smalllabel  { float: left; padding: 20px 5px; }
.tinylabel   { float: left; padding: 5px 5px; }
.smallerlabel { float: left; padding: 20px 5px; font-size: 15px !important; }

.cms_eingabe {
    background: rgba(255, 255, 255, 0.06);
    font-family: custom_font;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    padding: 20px;
    width: calc(100% - 90px);
    margin: 2px 20px 0 0;
    float: left;
    transition: all 0.3s linear;
}
.cms_eingabe:not(.nohover):hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}
.cms_eingabe:focus {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    box-shadow: none;
}
.cms_eingabe::placeholder { color: rgba(255, 255, 255, 0.25); }
/* Browser-Autofill Überschreibung (Chrome/Safari setzen weißen Hintergrund) */
.cms_eingabe:-webkit-autofill,
.cms_eingabe:-webkit-autofill:hover,
.cms_eingabe:-webkit-autofill:focus,
.cms_eingabe:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(8, 16, 30, 0.95) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
    caret-color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.12) !important;
    transition: background-color 5000s ease-in-out 0s;
}
/* Datum/Zeit-Icons (Kalender, Uhr) im ANOXA-Teal färben */
.cms_eingabe[type="date"]::-webkit-calendar-picker-indicator,
.cms_eingabe[type="datetime-local"]::-webkit-calendar-picker-indicator,
.cms_eingabe[type="time"]::-webkit-calendar-picker-indicator,
.cms_eingabe[type="month"]::-webkit-calendar-picker-indicator,
.cms_eingabe[type="week"]::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(155deg) brightness(1.1);
    cursor: pointer;
    opacity: 0.75;
}
.cms_eingabe[type="date"]::-webkit-calendar-picker-indicator:hover,
.cms_eingabe[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
.cms_eingabe[type="time"]::-webkit-calendar-picker-indicator:hover,
.cms_eingabe[type="month"]::-webkit-calendar-picker-indicator:hover,
.cms_eingabe[type="week"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.cms_eingabe.white  { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.88); }
.cms_eingabe.ind    { width: auto; }
.cms-filter-select  { font-size: 13px !important; padding: 4px 8px !important; height: auto !important; }
.cms_eingabe_style_container:has(.cms-filter-select) { display: flex !important; align-items: center !important; float: left; }
.cms_eingabe.datum  { width: 130px; }
.cms_eingabe.datumneu { width: 200px; }
.cms_eingabe.datei  { width: 200px; }
.cms_eingabe.achtzig { width: 80px; }
.cms_eingabe.zeit   { width: 80px; margin: 2px 10px 0 0; margin-left: 10px; }
.cms_eingabe.width  { width: 100px; margin-right: 10px; }
.cms_eingabe.widths { width: 80px; margin-right: 10px; }
.cms_eingabe.small  { width: 50px; }
.cms_eingabe.color  { border: 0px !important; color: transparent; background: transparent; margin: 0; padding: 0; width: 50px !important; height: 68px !important; }
.cms_eingabe.solaris { margin: 2px 0 0 0; width: calc(100%); }
.cms_eingabe.new_color { border: 2px solid #ccc; color: transparent; margin: 0; padding: 0; width: 50px !important; height: 68px !important; }
.cms_eingabe.w15  { width: calc(15% - 90px) !important; }
.cms_eingabe.w25  { width: calc(25% - 90px) !important; }
.cms_eingabe.w50  { width: calc(50% - 90px) !important; }
.cms_eingabe.w33  { width: calc(33.333% - 90px) !important; }
.changed-field    { border-left: 3px solid #e67e22 !important; }
.change-indicator {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
}
.cms_eingabe_style_container > label, .cms_eingabe > label {
    position: relative;
    float: left;
    padding: 20px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.55);
}
.underlabel > label {
    width: 20%;
    display: block;
    float: left !important;
}

/* Color picker */
input[type="color"i], .gradient-preview {
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 70px; width: 70px;
    padding: 5px;
    margin: 2px 20px 0 0;
    float: left;
    transition: all 0.3s linear;
}
/* gradientColor — native color swatch ohne hässlichen weißen Browser-Rahmen */
input.gradientColor {
    -webkit-appearance: none;
    appearance: none;
    width: 44px; height: 44px;
    padding: 2px;
    border: 1px solid rgba(56,189,248,0.45) !important;
    border-radius: 6px;
    background: none;
    cursor: pointer;
    margin: 10px 8px 0 0;
    float: left;
    flex-shrink: 0;
}
input.gradientColor::-webkit-color-swatch-wrapper { padding: 2px; border-radius: 4px; }
input.gradientColor::-webkit-color-swatch         { border: none; border-radius: 3px; }
input.gradientColor::-moz-color-swatch            { border: none; border-radius: 3px; }
.clr-field { width: calc(100% - 90px); }
.clr-field button {
    margin: 2px 0 !important;
    width: 50px !important;
    height: calc(100% - 4px) !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}
.picker-launcher {
    margin: 12px 20px 0 0;
    float: left;
    width: 40px; height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}
.picker_wrapper { z-index: 200 !important; max-width: 150px !important; }
.color-preview   { width: 100%; height: 100%; border-radius: 2px; }
.color-button {
    float: left;
    background: transparent;
    border: 1px solid #ccc;
    max-height: 50px;
    margin: 8px 0 0 -50px;
    width: auto;
}

/* ── Suche (Legacy-Block ersetzt durch Abschnitt 12) ─────────────────────── */

/* ── SAP / YARDI ──────────────────────────────────────────────────────────── */
.SAP .cms_eingabe::-webkit-input-placeholder,
.YARDI .cms_eingabe::-webkit-input-placeholder,
.cms_eingabe.SAP::-webkit-input-placeholder,
.cms_eingabe.YARDI::-webkit-input-placeholder { color: #CCC; }
.SAP  { background: #014185 !important; color: #FFF !important; border-radius: 4px; }
.YARDI { background: #007dde !important; color: #FFF !important; border-radius: 4px; }
.SAP i, .YARDI i { color: #FFF !important; }
.SAP .cms_eingabe, .YARDI .cms_eingabe {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.40) !important;
    color: #FFF !important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.20);
}
.SAP .cms_eingabe:focus, .YARDI .cms_eingabe:focus {
    border-color: rgba(255, 255, 255, 0.80) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    outline: none;
}

/* ── KI Usage Checkbox ────────────────────────────────────────────────────── */
.ki_usage input {
    z-index: 20;
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    background: #000;
}

/* =============================================================================
   08 · BUTTONS
   ============================================================================= */

/* ── assistent + HeyGen Buttons ───────────────────────────────────────────── */
assistent button, #heygen-avatar-ui button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translateX(-50%);
    background-size: 200% 200%;
    background-image: linear-gradient(45deg,
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5), rgba(4, 245, 219, 0.5));
    animation: gradientAnimation 10s ease infinite;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 8px rgba(4, 245, 219, 0.6), 0 0 20px rgba(5, 155, 246, 0.4);
    transition: all 0.3s ease;
    font-size: 20px;
    font-family: custom_fonts_bold;
    padding: 10px 20px;
    z-index: 3;
}
assistent button:hover, #heygen-avatar-ui button:hover {
    box-shadow: 0 0 12px rgba(4, 245, 219, 0.8), 0 0 25px rgba(5, 155, 246, 0.6);
    transform: translateX(-50%) scale(1.2);
}
assistent button:not(:hover) { top: auto; bottom: 20px; }

/* ── CMS Buttons ──────────────────────────────────────────────────────────── */
.cmsbutton,
.cms-action-btn {
    position: relative;
    float: right;
    margin: 10px 10px 10px 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px; width: 38px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.05));
    color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.12);
    cursor: pointer;
    transition: all 0.2s ease;
}
.cmsbutton i,
.cms-action-btn i {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #38bdf8;
    font-size: 14px;
}
.cmsbutton:hover,
.cms-action-btn:hover {
    border-color: rgba(56, 189, 248, 0.80);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.40);
    transform: scale(1.07);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(56, 189, 248, 0.10));
}
.cmsbutton.ki {
    margin: 0;
    width: auto; height: auto;
    padding: 10px 18px;
    border-radius: 20px;
    float: left;
    background-size: 400% 400%;
    background-image: linear-gradient(45deg,
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5),
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5));
    animation: gradientAnimation 10s ease infinite;
}
.cmsbutton.ki:hover { border-radius: 15px; transform: none; }

.videoeditbutton i { transition: all 0.2s linear; }
.videoeditbutton i:hover { color: #000; }

/* ── cms-action-btn Danger (Delete) ───────────────────────────────────────── */
.cms-action-btn.danger {
    float: none;
    border-color: rgba(255, 80, 80, 0.45);
    background: linear-gradient(135deg, rgba(255,80,80,0.12), rgba(255,80,80,0.05));
    color: rgba(255, 80, 80, 0.9);
    box-shadow: 0 0 8px rgba(255, 80, 80, 0.12);
}
.cms-action-btn.danger i { color: rgba(255, 80, 80, 0.9); }
.cms-action-btn.danger:hover {
    border-color: rgba(255, 80, 80, 0.80);
    box-shadow: 0 0 18px rgba(255, 80, 80, 0.40);
    background: linear-gradient(135deg, rgba(255,80,80,0.22), rgba(255,80,80,0.10));
}

/* ── Font Upload Row (Dropzone + Delete nebeneinander) ────────────────────── */
.font-upload-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.font-upload-row .drop-fontarea {
    flex: 1;
    min-width: 0;
}
.font-upload-row .cms-action-btn.danger {
    flex-shrink: 0;
    float: none;
    margin: 0;
}

/* ── drop-fontarea p ──────────────────────────────────────────────────────── */
.drop-fontarea p {
    z-index: 10; position: absolute;
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* ── containersave Buttons ────────────────────────────────────────────────── */
containersave button, suchfenster button,
containersave .cms-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 4px !important;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.16s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    float: none !important;
    margin: 0 !important; padding: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.70);
}
containersave button i, suchfenster button i, containersave icon i {
    position: static; transform: none;
    color: inherit; font-size: 14px;
    top: auto; left: auto;
}
containersave button:hover, suchfenster button:hover,
containersave .cms-action-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 1);
}
containersave button.mysave,
containersave button.myspecialsave {
    background: linear-gradient(90deg, rgba(4,245,219,0.85) 0%, rgba(5,155,246,0.85) 100%);
    border: none;
    color: #08101e;
    font-weight: 700;
}
containersave button.mysave:hover,
containersave button.myspecialsave:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 24px rgba(4,245,219,0.5), 0 0 48px rgba(5,155,246,0.25);
}
containersave button.myaddbutton {
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: rgba(56, 189, 248, 0.85);
}
containersave button.myaddbutton:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.60);
    color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.30);
}
containersave button.mysearch {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.50);
}
containersave button.mysearch:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.88);
}
containersave button.myspecialclose {
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: rgba(56, 189, 248, 0.70);
}
containersave button.myspecialclose:hover {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.50);
    color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.22);
}
containersave button.myclose {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.40);
    margin-left: 6px;
}
containersave button.myclose:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
}
suchfenster button { margin: 0; float: none; }

/* ── KI Usage Icon ────────────────────────────────────────────────────────── */
containersave icon.ki_usage {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px; padding: 0 12px;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.60);
    color: #d8b4fe;
    font-size: 15px;
    cursor: default;
    transition: all 0.16s ease;
    flex-shrink: 0; float: none; margin: 0;
}
containersave icon.ki_usage i {
    font-size: 15px;
    color: #d8b4fe;
    line-height: 1;
}
containersave icon.ki_usage:hover {
    background: rgba(168, 85, 247, 0.28);
    border-color: #a855f7;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.30);
    color: #f3e8ff;
}
containersave icon.ki_usage:hover i { color: #f3e8ff; }
containersave icon.ki_usage .inlinecheckbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    height: 100%;
}
containersave icon.ki_usage .inlinecheckbox input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    display: block;
    width: 15px; height: 15px;
    border: 1.5px solid rgba(168, 85, 247, 0.70);
    border-radius: 3px;
    background: rgba(168, 85, 247, 0.10);
    cursor: pointer;
    position: relative;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
containersave icon.ki_usage .inlinecheckbox input[type="checkbox"]:checked {
    background: rgba(168, 85, 247, 0.50);
    border-color: #a855f7;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.40);
}
containersave icon.ki_usage .inlinecheckbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px; left: 4px;
    width: 5px; height: 8px;
    border: 2px solid #f3e8ff;
    border-top: none; border-left: none;
    transform: rotate(40deg);
}

/* ── Agent Control Buttons ────────────────────────────────────────────────── */
.agent-ctrl-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px; padding: 0;
}
.agent-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}
.agent-ctrl-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.32);
    color: rgba(56, 189, 248, 0.92);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.22);
}
#agent-pin.pinned {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.32);
    color: rgba(56, 189, 248, 0.92);
}
#chat-close:hover {
    background: rgba(255, 80, 80, 0.15);
    border-color: rgba(255, 80, 80, 0.3);
    color: rgba(255, 80, 80, 0.9);
}

/* ── Chat Action Buttons ──────────────────────────────────────────────────── */
.chat-action-btn,
.faceid-prompt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(5, 155, 246, 0.12));
    color: #fff;
    font-size: 13px;
    font-family: custom_fonts;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}
.chat-action-btn:hover,
.faceid-prompt-btn:hover {
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.32);
    transform: scale(1.03);
}
.chat-action-btn i,
.faceid-prompt-btn i {
    display: inline-block;
    color: rgba(56, 189, 248, 0.80);
    font-size: 14px;
    line-height: 1;
}
.chat-action-btn.loading { opacity: 0.6; pointer-events: none; }
.chat-action-btn.secondary {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
}
.chat-action-btn.secondary:hover {
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
}

/* Adress-Lookup Widget im Chat */
.chat-address-lookup {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(56,189,248,0.06);
    border: 1px solid rgba(56,189,248,0.18);
    border-radius: 12px;
    max-width: 90%;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-family: custom_fonts;
}
.chat-address-lookup select.cms_eingabe {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(56,189,248,0.22);
    color: rgba(255,255,255,0.88);
    border-radius: 8px;
    padding: 5px 8px;
}
.chat-address-lookup > div { color: rgba(255,255,255,0.88); }
.chat-address-lookup .chat-action-btn { margin-top: 2px; }
.chat-address-lookup .btn-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}

/* Shop-Name-Eingabe im Chat — kompaktes Inline-Widget */
#chat-messages .chat-shop-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px 5px 12px;
    background: rgba(56,189,248,0.06);
    border: 1px solid rgba(56,189,248,0.28);
    border-radius: 20px;
    max-width: 260px;
}
#chat-messages .chat-shop-input input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-family: custom_fonts;
    padding: 0;
    caret-color: #04f5db;
}
#chat-messages .chat-shop-input button {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #04f5db, #059bf6);
    color: #0a1628;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: opacity 0.2s;
}
#chat-messages .chat-shop-input button:hover { opacity: 0.82; }

/* ── Start Button ─────────────────────────────────────────────────────────── */
.start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 44px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(5, 155, 246, 0.15));
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 17px;
    font-family: custom_fonts_bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.22), 0 0 20px rgba(5, 155, 246, 0.1);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}
.start-btn:hover {
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.50), 0 0 30px rgba(5, 155, 246, 0.3);
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(5, 155, 246, 0.25));
}
.start-btn:active { transform: scale(0.98); }
.start-btn i { font-size: 16px; color: rgba(56, 189, 248, 0.85); }

/* ── Diverse Buttons ──────────────────────────────────────────────────────── */
.login_button {
    position: static;
    background: rgba(5, 155, 246, 0.85);
    border: none;
    cursor: pointer;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.login_button:hover { background: #059bf6; }
.login_button i {
    font-size: 18px; color: #FFF;
    pointer-events: none;
}
.link_button {
    border: none; background: transparent;
    color: rgba(255,255,255,.3);
    cursor: pointer;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 0;
    transition: color 0.2s ease;
}
.link_button:hover { color: #059bf6; }
button.cms_input {
    background-size: 400% 400%;
    background-image: linear-gradient(45deg,
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5),
        rgba(4, 245, 219, 0.5), rgba(5, 155, 246, 0.5));
    animation: gradientAnimation 10s ease infinite;
    font-family: custom_font;
    font-size: 20px; color: #FFF;
    border: 0px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    max-width: calc(100% - 90px);
    margin: 2px 20px 0 0;
    float: left; cursor: pointer;
    transition: all 0.3s linear;
}
button.cms_input:hover {
    box-shadow: 0px 0px 9px 4px rgba(0, 0, 0, 0.67);
}
button.downloader {
    padding: 12px 28px;
    background: linear-gradient(90deg, rgba(4,245,219,0.75) 0%, rgba(5,155,246,0.75) 100%);
    border: none;
    border-radius: 8px;
    color: #08101e;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
button.downloader:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 24px rgba(4,245,219,0.5), 0 0 48px rgba(5,155,246,0.25);
}
button.screen { padding: 1% !important; }
.bezeichner button {
    float: right; cursor: pointer;
    font-size: 18px; width: auto;
    background: transparent; border: none;
    padding: 8px; color: #333;
}
.bezeichner button.cms-action-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(5, 155, 246, 0.10)) !important;
    color: rgba(56, 189, 248, 0.85) !important;
}
.socialbutton {
    background: transparent;
    font-family: custom_font;
    font-size: 30px; color: #FFF;
    cursor: pointer; border: none;
    width: 40px; margin: 0 10px;
    float: right;
    transition: all 0.3s linear;
}
.socialbutton:hover { color: #f0fff0; }
.mo_container button {
    background: transparent;
    font-size: 30px; color: #000;
    border: 1px solid #ccc;
    border-radius: 2px; padding: 10px;
    float: left;
    transition: all 0.6s linear;
}
.video_edit button {
    border: none; background: transparent;
    margin-top: 10px; padding: 5px;
}

/* =============================================================================
   09 · CONFIG-BOX & EDITOR
   ============================================================================= */

.config-box {
    position: relative;
    height: auto; overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.04), inset 0 0 20px rgba(56, 189, 248, 0.02);
}
.config-box.auswahl .cms_eingabe {
    background: #fff;
}

/* FontAwesome Picker */
#awesomeresult {
    position: relative; width: 100%;
    display: none; height: auto; overflow: hidden;
}
.mypreview-awesome i {
    float: left; color: #666; padding: 20px;
    cursor: pointer; transition: all 0.6s linear;
}
.mypreview-awesome i:hover { color: #000; }
#meineki { width: 90px; padding: 5px; }
#meineki img { width: 80px !important; height: auto; }

/* =============================================================================
   10 · MEDIA
   ============================================================================= */

/* ── Video ────────────────────────────────────────────────────────────────── */
.cms_video { position: relative; width: 100%; }
.cms_video:before { content: ""; display: block; padding-top: 56.25%; }
.cms_video iframe, .cms_video video {
    position: absolute; top: 0; left: 0; bottom: 0; right: 0;
    width: 100%; height: 100%;
}

/* ── Drop Areas ───────────────────────────────────────────────────────────── */
.drop-area, .dropping-area, .drops-area, .dropf-area,
.file-drop-area, .xml-drop-area, .drop-fontarea,
.drop-svg-area, .drop-etagenplan-svg-area {
    width: 100%; height: 250px;
    border: none; position: relative;
    display: flex; justify-content: center; align-items: center;
    text-align: center; overflow: hidden;
    cursor: grab; border-radius: 6px;
    background-color: rgba(56, 189, 248, 0.02);
    background-image:
        repeating-linear-gradient(90deg, rgba(56,189,248,0.4) 0, rgba(56,189,248,0.4) 8px, transparent 8px, transparent 16px),
        repeating-linear-gradient(90deg, rgba(56,189,248,0.4) 0, rgba(56,189,248,0.4) 8px, transparent 8px, transparent 16px),
        repeating-linear-gradient(0deg,  rgba(56,189,248,0.4) 0, rgba(56,189,248,0.4) 8px, transparent 8px, transparent 16px),
        repeating-linear-gradient(0deg,  rgba(56,189,248,0.4) 0, rgba(56,189,248,0.4) 8px, transparent 8px, transparent 16px);
    background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%;
    background-position: 0 0, 0 100%, 0 0, 100% 0;
    background-repeat: no-repeat;
    animation: dropAreaDash 1.2s linear infinite;
    color: rgba(255, 255, 255, 0.35);
    transition: background-color 0.2s ease;
}
.drop-area:hover, .dropping-area:hover, .drops-area:hover, .dropf-area:hover,
.file-drop-area:hover, .xml-drop-area:hover, .drop-svg-area:hover,
.drop-etagenplan-svg-area:hover {
    background-color: rgba(56, 189, 248, 0.06);
    color: rgba(255, 255, 255, 0.6);
}
.drop-area:active, .dropping-area:active, .drops-area:active,
.dropf-are:active, .file-drop-area:active, .xml-drop-area:active,
.userfile-drop-area:active { cursor: grabbing; }

.userfile-drop-area, .drop-fontarea {
    width: 100%; height: 80px;
    position: relative;
    display: flex; justify-content: center; align-items: center;
    text-align: center; overflow: hidden; cursor: grab;
}
.drops-area { height: 400px; }
.file-drop-area, .xml-drop-area { height: 150px; }

.drop-area p, .dropping-area p, .drops-area p, .dropf-are p,
.file-drop-area p, .xml-drop-area p, .userfile-drop-area p, #kiprocess p {
    z-index: 10; position: absolute;
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
}

.videowaiting {
    z-index: 10; position: absolute;
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    background: rgba(0, 0, 0, 0.3);
}
.sortable-end-gap { opacity: 0; }

/* ── Upload Progress Overlay (authoritative version) ─────────────────────── */
.upload-progress-overlay {
    position: fixed;
    inset: 0;
    z-index: 100002;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    transition: padding-right 0.35s ease;
}
/* Alten Balken-Fortschritt verbergen */
.upload-progress-track,
.upload-progress-bar { display: none !important; }

/* ── Custom Confirm Dialog ───────────────────────────────────────────────── */
#customConfirm.modal-confirm {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    padding: 0;
    transform: none;
}
.confirm-card {
    background: rgba(8, 16, 30, 0.98);
    border: 1px solid rgba(5, 155, 246, 0.2);
    border-radius: 14px;
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.confirm-card #confirmTitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 24px 28px 10px;
}
.confirm-card #confirmText {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    padding: 0 28px 20px;
    margin: 0;
    display: block;
}
.confirm-buttons {
    border-top: 1px solid rgba(5, 155, 246, 0.15);
    display: flex;
    flex-direction: column;
}
.confirm-buttons button {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(5, 155, 246, 0.08);
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    width: 100%;
    letter-spacing: 0.02em;
}
.confirm-buttons button:last-child { border-bottom: none; }
.btn-confirm-close  { color: rgba(255,255,255,0.8); }
.btn-confirm-close:hover  { background: rgba(5,155,246,0.1) !important; color: #fff; }
.btn-confirm-delete { color: rgba(255,80,80,0.9); }
.btn-confirm-delete:hover { background: rgba(255,80,80,0.1) !important; color: rgb(255,80,80); }
.btn-confirm-abbrechen { color: rgba(255,255,255,0.4); }
.btn-confirm-abbrechen:hover { background: rgba(255,255,255,0.05) !important; color: rgba(255,255,255,0.7); }
/* ───────────────────────────────────────────────────────────────────────── */

/* ── Upload Progress Ring (authoritative version) ────────────────────────── */
.upload-progress-ring {
    position: relative;
    width: 140px; height: 140px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.5));
}
.upload-progress-ring svg {
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.upload-progress-ring__track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}
.upload-progress-ring__fill {
    fill: none;
    stroke: url(#uploadRingGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.7;
    stroke-dashoffset: 326.7;
    transition: stroke-dashoffset 0.4s ease;
}
/* Pulsieren im KI-Verarbeitungs-Modus */
.upload-progress-ring.is-processing .upload-progress-ring__fill {
    animation: ringPulse 1.8s ease-in-out infinite;
}
/* Spinning im KI-Verarbeitungs-Modus */
.upload-progress-ring.is-processing svg {
    animation: ringSpin 2.4s linear infinite;
}
#uploadProgressText {
    margin-top: 16px;
    color: #38bdf8;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-align: center;
    max-width: 200px;
    opacity: 0.9;
    min-height: 18px;
}

/* Legacy progress bars (nicht für Upload-Ring) */
#progressBar, #progressesBar {
    position: absolute; top: 0; left: 0;
    background-color: #4CAF50;
    text-align: center; color: white;
}
#progressesBar { height: 20px !important; }
#processingMessage { animation: fadeInOut 3s ease-in-out infinite; }

/* ── File Lists ───────────────────────────────────────────────────────────── */
.file_name {
    position: absolute;
    top: 10px; left: 0;
    width: 100%; height: 30px;
    text-align: center !important;
    color: grey;
    font-size: 16px !important;
    font-weight: bold;
}
.file_name i {
    line-height: normal !important;
    font-size: 20px !important;
    margin-left: 5px;
    width: 30px !important; padding: 0 !important;
}
.filepreviewicon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.filepreviewicon i { font-size: 50px; color: #666; }
/* ── file-name in allen anderen myfiles.vier Karten (kein absolutes Overlay) */
.myfiles.vier .file-preview .file-name {
    display: block;
    padding: 6px 10px 4px;
    color: rgba(255,255,255,0.85);
    font-size: 10px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase;
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.myfiles.vier .file-preview .file-meta {
    display: block;
    padding: 0 10px 8px;
    color: rgba(255,255,255,0.45);
    font-size: 9px;
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.myfiles.vier .file-preview img {
    width: 100%;
    display: block;
}



/* ── Video Provider Logos ────────────────────────────────────────────────── */
.video-provider-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; padding: 8px 0 12px;
    flex-wrap: wrap;
}
.video-provider-logo {
    height: 20px; width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
    filter: brightness(0) invert(1);
}
.video-provider-logo:hover { opacity: 1; }

/* ── Videos: video_edit Top-Bar (wie filesLeft/bilderLeft) ───────────────── */
#videoLeft .video_edit {
    position: relative !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    width: 100% !important;
    background: rgba(5, 155, 246, 0.07) !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(5, 155, 246, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 6px 10px !important;
    box-sizing: border-box;
    flex-shrink: 0;
    order: -1;
}
#videoLeft .file-bar-left  { display: flex; align-items: center; gap: 7px; }
#videoLeft .file-bar-right { display: flex; align-items: center; gap: 4px; }
#videoLeft .file-status-active,
#videoLeft .file-status-inactive { display: flex; align-items: center; font-size: 15px; }
#videoLeft .file-preview {
    flex: 1; position: relative; min-height: 130px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(4,10,24,0.9); overflow: hidden;
}
#videoLeft li img { width: 100% !important; height: auto; display: block; }
#videoLeft .file-name {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
}
#videoLeft .cms_video {
    width: 100%; aspect-ratio: 16/9;
}
#videoLeft .cms_video iframe {
    width: 100%; height: 100%; border: none;
}
.draganddrop ul {
    background: rgba(56, 189, 248, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.07), inset 0 0 24px rgba(56, 189, 248, 0.03);
    width: calc(50% - 10px) !important;
    margin: 5px; padding: 10px;
    height: 300px !important;
    overflow: auto !important;
    list-style: none; float: left; cursor: move;
}
.draganddrop ul:first-child {
    border-color: rgba(56, 189, 248, 0.30);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.10), inset 0 0 24px rgba(56, 189, 248, 0.04);
}
.draganddrop ul:last-child {
    border-color: rgba(5, 155, 246, 0.30);
    box-shadow: 0 0 24px rgba(5, 155, 246, 0.10), inset 0 0 24px rgba(5, 155, 246, 0.04);
    background: rgba(5, 155, 246, 0.03);
}
.draganddrop ul li {
    height: 70px !important;
    padding: 6px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    background: color-mix(in srgb, var(--mc, #059bf6) 12%, transparent) !important;
    border-left: 3px solid var(--mc, #059bf6) !important;
    color: rgba(255,255,255,0.85);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 0 8px color-mix(in srgb, var(--mc, #059bf6) 15%, transparent) !important;
    opacity: 1;
    transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.draganddrop ul li:hover {
    transform: translateX(3px) scale(1.01);
    background: color-mix(in srgb, var(--mc, #059bf6) 20%, transparent) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 14px color-mix(in srgb, var(--mc, #059bf6) 25%, transparent) !important;
}
.draganddrop ul li i { margin-right: 10px; color: var(--mc, #059bf6); }
#backgrounds li { min-height: 200px !important; }

.draganddrop li {
    cursor: grab; padding: 6px; margin: 4px 0;
    border-radius: 4px; transition: opacity 0.2s;
}
.dragging { opacity: 0.5; }

/* ── Basisnomove / Language Lists ─────────────────────────────────────────── */
.basisnomove ul, #languageLeft ul {
    list-style: none; position: relative;
    cursor: move; height: auto; overflow: hidden;
}

/* ── Move Container / My Files ────────────────────────────────────────────── */
.move_container ul, .myfiles ul {
    list-style: none !important;
    position: relative; width: 100%;
    cursor: move; height: auto; overflow: hidden;
    display: flex; flex-wrap: wrap;
}
.basismove li {
    padding: 20px; font-size: 18px;
    height: auto !important; text-align: left;
    width: calc(33.333% - 10px); margin: 5px;
    float: left;
    background: rgba(150, 150, 150, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.75);
}
/* Filegruppen-Koppeltabelle: Orange-Akzent */
[id^="filegruppen_module"] ul li,
[id^="filegruppenselect_module"] ul li,
[id^="file_module"] ul li,
[id^="fileselect_module"] ul li {
    --mc: #fa9304 !important;
}

/* Modul-Koppeltabelle: Farbe als Akzent statt Vollhintergrund */
.basismove.modul-koppel li {
    background: rgba(8, 16, 30, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-left: 3px solid var(--mc, rgba(56, 189, 248, 0.6)) !important;
    color: rgba(220, 235, 232, 0.85) !important;
    border-radius: 4px;
    transition: background 0.15s, border-color 0.15s;
}
.basismove.modul-koppel li:hover {
    background: rgba(56, 189, 248, 0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    border-left-color: var(--mc, #38bdf8) !important;
}
.basismove.modul-koppel li i {
    margin-right: 8px;
    opacity: 0.75;
}
.basismove.filecolor li {
    --mc: #059bf6;
}
.basismove.galeriecolor li {
    --mc: #c301bb;
}
.basismove.videocolor li {
    --mc: #de0101;
    background: rgba(222, 1, 1, 0.88); border-color: rgba(222, 1, 1, 0.6);
    box-shadow: 0 2px 10px rgba(222, 1, 1, 0.30) !important; color: #FFF;
}
.myfiles li {
    position: relative; padding: 20px;
    font-size: 18px; text-align: left;
    width: calc(33.333% - 10px); margin: 5px;
    float: left;
    background: rgba(250, 147, 4, 0.75);
    border: 1px solid rgba(250, 147, 4, 0.4);
    border-radius: 4px; color: #FFF;
}
.myfiles.vier li {
    padding: 0;
    width: calc(25% - 20px); margin: 10px;
    background: rgba(8, 16, 30, 0.82);
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.80);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    transition: border-color 0.22s, box-shadow 0.22s;
}
.myfiles.vier li:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.12);
}
/* video_edit in modernisierten Karten-Modulen: relative, volle Breite, flex */
.myfiles.vier .video_edit,
#newsletteroverviewLeft .video_edit,
#newsletterLeft .video_edit,
#immoLeft .video_edit,
#immosubLeft .video_edit {
    position: relative !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    line-height: normal !important;
    font-size: inherit !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 16, 30, 0.92);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding: 4px 6px;
    min-height: 36px;
    flex-shrink: 0;
    z-index: 2;
    border-radius: 0;
}
#jobContainerLeft li,
#skillLeft li,
#sprachenLeft li,
#dokumentsLeft li,
#mieterSchreibenleft li,
#serviceLeft li {
    background: rgba(20, 35, 58, 0.88);
    border-color: rgba(56, 189, 248, 0.22);
}
/* Schachbrett nur für _service.php (mit Bildern) */
#serviceLeft:not(.no-image) li .file-preview {
    flex: 1;
    background-color: #a0a0a0;
    background-image:
        linear-gradient(45deg, #707070 25%, transparent 25%),
        linear-gradient(-45deg, #707070 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #707070 75%),
        linear-gradient(-45deg, transparent 75%, #707070 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#serviceLeft:not(.no-image) li .file-preview .file-name {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
/* Einfarbig für _services.php (ohne Bilder) */
#serviceLeft.no-image li .file-preview {
    flex: 1;
    background: linear-gradient(160deg, rgba(4,245,219,0.06) 0%, rgba(5,155,246,0.10) 100%);
    border-top: 1px solid rgba(4,245,219,0.10);
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
}
/* video_edit Bar in .myfiles.vier — gilt für alle Karten-Grids */
#backgrounds .video_edit,
.myfiles.vier .video_edit,
.admincms_container .video_edit {
    position: relative;
    width: 100%;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(4, 10, 20, 0.82);
    border-bottom: 1px solid rgba(56, 189, 248, 0.10);
    box-sizing: border-box;
    flex-shrink: 0;
}
/* ── file-bar-left/right global in allen .video_edit Bars ─────────────────── */
.video_edit .file-bar-left,
.video_edit .file-bar-right {
    display: flex; align-items: center; gap: 4px;
}
/* ── Globaler Button-Kreis-Stil für alle .video_edit Bars ─────────────────── */
/* Gilt für .cms-action-btn UND .videoeditbutton in jeder .video_edit Bar     */
.video_edit .cms-action-btn,
.video_edit .videoeditbutton {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 26px !important; width: 26px !important;
    padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(56,189,248,0.45) !important;
    background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(56,189,248,0.05)) !important;
    box-shadow: 0 0 8px rgba(56,189,248,0.12) !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    float: none !important; transform: none !important;
    flex-shrink: 0;
}
.video_edit .cms-action-btn:hover,
.video_edit .videoeditbutton:hover {
    border-color: rgba(56,189,248,0.80) !important;
    box-shadow: 0 0 18px rgba(56,189,248,0.40) !important;
    transform: scale(1.07) !important;
    background: linear-gradient(135deg, rgba(56,189,248,0.22), rgba(56,189,248,0.10)) !important;
}
.video_edit .cms-action-btn svg,
.video_edit .cms-action-btn i,
.video_edit .videoeditbutton svg,
.video_edit .videoeditbutton i {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 13px; height: 13px; font-size: 13px;
    pointer-events: none;
}

/* Wird in .video_edit Bars verwendet: Backgrounds, Files, und alle weiteren Karten-Grids */
.bg-type-badge,
.file-type-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 10px;
    font-family: custom_font;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1;
    box-sizing: border-box;
    flex-shrink: 0;
    text-decoration: none;
    cursor: default;
    transition: background 0.15s;
}
.file-type-badge { cursor: pointer; }
.file-type-badge:hover { filter: brightness(1.2); }

/* Backgrounds-Typen */
.bg-type-bild      { color: #38bdf8; border: 1px solid rgba(56,189,248,0.35); background: rgba(56,189,248,0.08); }
.bg-type-farbe     { color: rgba(200,160,255,0.9); border: 1px solid rgba(200,160,255,0.3); background: rgba(200,160,255,0.07); }
.bg-type-verlauf   { color: rgba(255,200,80,0.9); border: 1px solid rgba(255,200,80,0.3); background: rgba(255,200,80,0.07); }
.bg-type-unbekannt { color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.15); background: transparent; }

/* File-Typen */
.file-type-badge { color: #38bdf8; border: 1px solid rgba(56,189,248,0.35); background: rgba(56,189,248,0.08); }

/* ── video_edit Bar: Files + Bilder — Buttons wie Backgrounds ────────────── */
#filesLeft .video_edit .videoeditbutton,
#bilderLeft .video_edit .videoeditbutton {
    position: relative !important;
    float: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 26px !important; width: 26px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(56,189,248,0.45) !important;
    background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(56,189,248,0.05)) !important;
    box-shadow: 0 0 8px rgba(56,189,248,0.12) !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    transform: none !important;
}
#filesLeft .video_edit .videoeditbutton svg,
#filesLeft .video_edit .videoeditbutton i,
#bilderLeft .video_edit .videoeditbutton svg,
#bilderLeft .video_edit .videoeditbutton i {
    width: 14px; height: 14px; font-size: 14px;
}
#filesLeft .video_edit .videoeditbutton:hover,
#bilderLeft .video_edit .videoeditbutton:hover {
    border-color: rgba(56,189,248,0.80) !important;
    box-shadow: 0 0 18px rgba(56,189,248,0.40) !important;
    transform: scale(1.07) !important;
    background: linear-gradient(135deg, rgba(56,189,248,0.22), rgba(56,189,248,0.10)) !important;
}
/* Vorschau-Fläche */
.bg-preview {
    flex: 1;
    min-height: 130px;
    display: flex; align-items: flex-end; justify-content: flex-start;
    padding: 10px 12px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.bg-name {
    font-size: 11px; font-family: custom_font;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 0 12px rgba(0,0,0,0.6);
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* File-Entry Karte */
.file-entry .file-preview {
    flex: 1;
    min-height: 130px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: rgba(4,10,20,0.5);
}
.file-entry .file-preview img {
    width: 100%; height: 130px;
    object-fit: cover; display: block;
}
.file-entry .filepreviewicon {
    font-size: 48px;
    color: rgba(4,245,219,0.5);
    display: flex; align-items: center; justify-content: center;
    height: 130px;
}
.file-entry h2 {
    font-size: 11px; font-family: custom_font;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding: 6px 10px 0;
    margin: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-entry .file-link {
    color: rgba(4,245,219,0.7);
    transition: color 0.2s ease;
    display: flex; align-items: center;
}
.file-entry .file-link:hover { color: #04f5db; }
.file-entry .file-checkbox input { accent-color: #04f5db; }
/* file-status Farben */
.file-status-active   { color: #04f5db; }
.file-status-partial  { color: rgba(251,146,60,0.9); }
.file-status-inactive { color: rgba(255,80,80,0.85); }
.file-status-unknown  { color: rgba(255,255,255,0.35); }

.move_container li { font-size: 12px; text-align: center; padding: 20px; }
/* .move_container li i — font-size/line-height entfernt, kollidiert mit video_edit Icons */
.move_container li.nohover button,
.mybilder .file_container.nohover button,
.file_container.etagenplan.nohover button,
.file_container.nohover button {
    border: none; width: 30%; margin: 0; padding: 0;
    background: transparent; text-align: center; cursor: pointer;
    transition: all 0.6s linear;
}
.file_container.nohover { text-align: center; }
.move_container li.nohover button i,
.mybilder .file_container.nohover button i,
.file_container.etagenplan.nohover button i {
    line-height: 170px; font-size: 50px; cursor: pointer;
    transition: all 0.6s linear;
}
.file_container.nohover button,
.file_container.nohover button i { line-height: 170px; font-size: 50px; }
.move_container .nohover i > .fa { display: block; height: 100%; width: 100%; margin: auto !important; padding: 0; }
.move_container .nohover i:hover { color: #333 !important; }
.move_container li:not(.nohover):hover { background: #CCC; }

/* =============================================================================
   11 · PAGINATION & NAVIGATION
   ============================================================================= */

#pagination-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 18px;
}
#pagination-box a { text-decoration: none; }

.nichtgewaehlt {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 34px; height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(56, 189, 248, 0.15);
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
    user-select: none;
}
a.pagination-link:hover .nichtgewaehlt {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(56, 189, 248, 0.08);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.22);
}
.gewaehlt {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 34px; height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.55);
    color: #38bdf8 !important;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.22);
    user-select: none;
}
.seiten-trenner {
    color: rgba(255, 255, 255, 0.22);
    font-size: 14px; padding: 0 2px;
    user-select: none;
}
.legende {
    position: relative;
    width: auto; font-size: 16px;
    padding: 1%; float: left;
    height: auto; overflow: hidden;
}
.legende i { margin: 0 10px 0 2px; }

/* legende als Action-Button → Kreis erzwingen */
.legende.cms-action-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    float: right !important;
    font-size: inherit !important;
    overflow: visible !important;
}
.legende.cms-action-btn i { margin: 0 !important; }

/* =============================================================================
   12 · MODULES
   ============================================================================= */

/* ── Benutzer / Container ─────────────────────────────────────────────────── */
.vertraege_container, .benutzer_container, .cms_container, .file_container,
.mo_container, #kategorieLeft li, #gruppenLeft li, .mybilder li {
    position: relative;
    width: calc(25% - 20px); margin: 10px;
    float: left; padding: 20px;
    font-size: 20px; cursor: pointer;
    height: auto; border-radius: 0;
    overflow: hidden;
    border: 1px solid #999;
    transition: all 0.2s linear;
}
.cms_container {
    background: rgba(8,16,30,0.92);
    border: 1px solid rgba(5,155,246,0.25) !important;
    border-radius: 8px !important;
    overflow: hidden;
    padding: 0 !important;
    float: none !important;
    display: inline-block;
    vertical-align: top;
    width: 300px !important;
    margin: 8px !important;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.cms_container:hover, .cms_container_focus {
    border-color: #059bf6 !important;
    box-shadow: 0 0 22px rgba(5,155,246,0.35) !important;
    transform: translateY(-2px);
    border-radius: 8px !important;
}
.admincms_container {
    position: relative;
    width: calc(25% - 20px); margin: 10px;
    float: left;
    background: rgba(8,16,30,0.85);
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 8px;
    overflow: hidden;
    display: flex; flex-direction: column;
    cursor: pointer;
    transition: all 0.2s linear;
}
.admincms_container:hover {
    border-color: rgba(56,189,248,0.30);
    box-shadow: 0 0 14px rgba(56,189,248,0.15);
}
.admincms_preview {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 0 10px;
}
.admincms_preview img {
    width: 100%; height: auto;
    display: block;
    border-bottom: 1px solid rgba(56,189,248,0.08);
    margin-bottom: 8px;
}
.admincms_preview .file-name {
    font-size: 10px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: rgba(255,255,255,0.8); text-align: center;
    padding: 0 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 100%;
}
.cms_container figcaption {
    position: static;
    transform: none;
    left: auto;
    padding: 10px 14px;
    background: rgba(5,155,246,0.12);
    border-top: 1px solid rgba(5,155,246,0.22);
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.04em;
}
.admincms_container figcaption {
    position: absolute; bottom: 0; left: 50%;
    text-align: center; transform: translateX(-50%);
    padding: 2px 5px; background: #000;
}
.cms_container img { width: 100% !important; height: 185px !important; object-fit: cover; object-position: top; display: block; }
#cms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 8px;
    background: transparent;
    border: none;
}
.vertraege_container:not(.nohover):hover {
    background: #ddd;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.65);
}
.vertraege_container i { transition: all 0.4s linear; }
.vertraege_container i:hover { color: #ccc !important; }
.vertraege_container i > .fa-sharp { display: block; height: 100%; width: 100%; margin: auto !important; padding: 0; }

/* ── Benutzer ─────────────────────────────────────────────────────────────── */
#benutzer_table {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 8px;
}
.user-add, .user-row {
    float: none !important;
    width: 240px !important;
    min-height: 180px !important;
    height: auto !important;
    padding: 0 !important;
    margin: 8px !important;
    background: rgba(8,16,30,0.92) !important;
    border: 1px solid rgba(5,155,246,0.25) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s !important;
    position: relative !important;
}
.user-add { justify-content: center !important; }
.user-add:hover, .user-row:hover {
    border-color: rgba(5,155,246,0.6) !important;
    box-shadow: 0 0 16px rgba(5,155,246,0.22) !important;
    transform: translateY(-2px) !important;
}
#adduser i {
    font-size: 42px !important;
    line-height: normal !important;
    color: rgba(5,155,246,0.65) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.benutzer_name {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.82) !important;
    padding: 9px 12px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(5,155,246,0.1) !important;
    border-top: 1px solid rgba(5,155,246,0.18) !important;
    margin-top: auto !important;
    letter-spacing: 0.03em !important;
    position: static !important;
    height: auto !important;
}
#edituser .user-edit, #edituser .user-delete {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: -18px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    z-index: 2 !important;
}
#edituser .user-edit { left: calc(50% - 38px) !important; right: auto !important; color: rgba(5,155,246,0.85) !important; background: rgba(5,155,246,0.12) !important; }
#edituser .user-delete { left: calc(50% + 6px) !important; right: auto !important; color: rgba(255,80,80,0.85) !important; background: rgba(255,80,80,0.12) !important; }
#edituser .user-edit:hover { background: rgba(5,155,246,0.25) !important; color: #059bf6 !important; }
#edituser .user-delete:hover { background: rgba(255,80,80,0.25) !important; color: rgba(255,80,80,1) !important; }
#edituser .user-edit i, #edituser .user-delete i {
    font-size: 13px !important;
    line-height: 1 !important;
    color: inherit !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
#edituser i > div, .savebutton i > div, .fa-laptop > div, .fa-hdd > div { display: none; }
.saveme > div { display: none; }

/* ── Admin ────────────────────────────────────────────────────────────────── */
#adminmoduleleft li, #kundenseitenLeft li {
    position: relative; overflow: hidden;
    height: 220px; margin: 5px;
    background: rgba(8,16,30,0.85);
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 8px;
    width: 200px; float: left;
    display: flex; flex-direction: column;
}
#languageLeft ul li {
    width: 100% !important; float: none;
    height: auto; overflow: hidden;
}

/* ── Angebote ─────────────────────────────────────────────────────────────── */
#angebotContainerLeft ul {
    list-style: none;
    display: flex; flex-wrap: wrap;
    gap: 0;
}
#angebotContainerLeft li {
    position: relative;
    width: calc(25% - 20px); margin: 10px;
    overflow: hidden;
    background: rgba(20, 35, 58, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 4px;
    display: flex; flex-direction: column;
}

/* ── News & Events — Jahres-Trenner ──────────────────────────────────────── */
#newsLeft li.news-jahr-trenner {
    width: 100% !important;
    float: none !important;
    min-height: unset !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--news-accent, rgba(4,245,219,0.25)) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important; align-items: center; justify-content: center;
    padding: 10px 0 !important;
    margin: 12px 0 !important;
}
#newsLeft li.news-jahr-trenner:hover {
    border-color: var(--news-accent, rgba(4,245,219,0.25)) !important;
    box-shadow: none !important;
    background: none !important;
}
#newsLeft li.news-jahr-trenner span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--news-accent, rgba(4,245,219,0.7));
    padding: 0 10px;
    background: rgba(8,16,30,0.96);
}

/* ── Mieter-Rundschreiben ─────────────────────────────────────────────────── */
#mieterSchreibenleft ul { list-style: none; }
#mieterSchreibenleft li img { width: 100% !important; display: block; }

/* ── Etagenpläne / Immobilien ─────────────────────────────────────────────── */
#immoLeft ul, #statusartenLeft ul {
    list-style: none; position: relative;
    cursor: move; height: auto; overflow: hidden;
}
/* ── Etagen (Parent-Ebene, volle Breite) ──────────────────────────────────── */
#immoLeft li {
    position: relative; margin: 10px; padding: 0;
    height: 80px;
    background: rgba(20,35,58,0.88);
    border: 1px solid rgba(56,189,248,0.22);
    border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}
#immoLeft li:hover {
    border-color: rgba(56,189,248,0.5);
    background: rgba(20,45,75,0.95);
    box-shadow: 0 0 12px rgba(56,189,248,0.14);
}
#immoLeft li .file-preview { flex: 1; padding: 6px 12px; display: flex; align-items: center; }
#immoLeft li .file-name { font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Bauteile (Child-Ebene, 25%-Kacheln) ─────────────────────────────────── */
#immosubLeft li {
    position: relative; padding: 0;
    width: calc(25% - 20px); margin: 10px;
    float: left; overflow: hidden;
    height: 80px;
    background: rgba(20,35,58,0.88);
    border: 1px solid rgba(56,189,248,0.22);
    border-radius: 8px; display: flex; flex-direction: column;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s ease;
}
#immosubLeft li:hover {
    border-color: rgba(56,189,248,0.5);
    background: rgba(20,45,75,0.95);
    box-shadow: 0 0 12px rgba(56,189,248,0.14);
}
#immosubLeft li .file-preview { flex: 1; padding: 6px 10px; display: flex; align-items: center; }
#immosubLeft li .file-name { font-size: 0.78rem; color: rgba(255,255,255,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Statusicon Farben */
#immoLeft .file-bar-left i, #immosubLeft .file-bar-left i { color: #04f5db; }

/* ── CRM-Koppeltabelle (#interne > .mo_container) ────────────────────────── */
#interne .mo_container {
    width: 100%; float: none; margin: 0 0 6px 0;
    padding: 6px 10px;
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    background: rgba(20,35,58,0.7);
    border: 1px solid rgba(56,189,248,0.18);
    border-radius: 6px;
    font-size: 14px;
    overflow: visible;
}
#interne .mo_container:last-child { margin-bottom: 0; }
#interne .mo_container input.cms_eingabe {
    flex: 0 0 90px; width: 90px;
    padding: 4px 8px; font-size: 13px;
    background: rgba(8,16,30,0.8);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 4px; color: rgba(255,255,255,0.9);
}
#interne .mo_container button {
    flex: none; float: none;
    background: rgba(8,16,30,0.6);
    border: 1px solid rgba(56,189,248,0.25);
    border-radius: 4px; padding: 4px 8px;
    font-size: 14px; color: rgba(56,189,248,0.85);
    cursor: pointer; transition: all 0.2s ease;
}
#interne .mo_container button:hover {
    background: rgba(56,189,248,0.12);
    border-color: rgba(56,189,248,0.5);
    color: #fff;
}
#interne .mo_container .trenner {
    width: 1px; height: 20px; flex: none;
    background: rgba(56,189,248,0.2);
    margin: 0 4px;
}
#interne .mo_container h2 {
    flex: 1; margin: 0; padding: 0;
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,0.7);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#immoLeft .file-bar-left .unpaid i, #immosubLeft .file-bar-left .unpaid i,
#immoLeft .file-bar-left [class*="unpaid"], #immosubLeft .file-bar-left [class*="unpaid"] { color: rgba(255,80,80,0.85); }

/* ── Shops / Mieter-Liste ─────────────────────────────────────────────────── */

/* Grid-Container: float/width der Kinder irrelevant — Grid regiert */
#mieter.mieter-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 4px 0;
}

/* Modernes shoppingcontainer-Design (Grid-kompatibel, kein float/width) */
.shoppingcontainer {
    position: relative;
    background: rgba(8, 16, 30, 0.82);
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.18s;
    cursor: pointer;
    float: none;
    width: auto;
    min-height: 300px;
}
.shoppingcontainer:hover {
    border-color: rgba(56, 189, 248, 0.50);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.14);
    transform: translateY(-2px);
}
/* video_edit oben — kein absolute, überlagert Logo nicht */
.shoppingcontainer .video_edit {
    position: relative;
    width: 100%;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(4, 10, 20, 0.82);
    border-bottom: 1px solid rgba(56, 189, 248, 0.10);
    box-sizing: border-box;
    flex-shrink: 0;
}
/* Status-Badge: aktiv / inaktiv */
.shoppingcontainer .shop-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    box-sizing: border-box;
}
.shoppingcontainer .shop-status--aktiv {
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.40);
    background: rgba(56, 189, 248, 0.08);
}
.shoppingcontainer .shop-status--inaktiv {
    color: rgba(255, 80, 80, 0.85);
    border: 1px solid rgba(255, 80, 80, 0.35);
    background: rgba(255, 80, 80, 0.08);
}
.shoppingcontainer .shop-status i {
    font-size: 11px;
    line-height: 1;
    display: block;
}
/* Buttons im chat-action-btn Stil — Icon-only, rund */
.shoppingcontainer .video_edit .btn-group,
#backgrounds .video_edit .btn-group {
    display: flex;
    align-items: center;
    gap: 4px;
}
.shoppingcontainer .video_edit button,
#backgrounds .video_edit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    padding: 0;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(5, 155, 246, 0.10));
    color: rgba(56, 189, 248, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    margin: 0;
    flex-shrink: 0;
}
.shoppingcontainer .video_edit button:hover,
#backgrounds .video_edit button:hover {
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(5, 155, 246, 0.18));
}
.shoppingcontainer .video_edit button i,
#backgrounds .video_edit button i {
    font-size: 11px;
    line-height: 1;
    display: block;
    color: inherit;
}
/* Schachbrettmuster — neutral für weiße UND schwarze SVG-Logos */
.shoppingcontainer .logo-wrap {
    width: 100%; flex: 1;
    display: flex; align-items: center; justify-content: center;
    background-color: #c0c0c0;
    background-image:
        linear-gradient(45deg, #a8a8a8 25%, transparent 25%),
        linear-gradient(-45deg, #a8a8a8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #a8a8a8 75%),
        linear-gradient(-45deg, transparent 75%, #a8a8a8 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    padding: 22px 18px; min-height: 195px;
    box-sizing: border-box;
}
.shoppingcontainer img {
    max-width: 100%; max-height: 160px;
    width: auto; height: auto;
    object-fit: contain; display: block;
}
.shoppingcontainer h3 {
    margin: 0; padding: 12px 10px;
    font-size: 11px; font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-align: center; letter-spacing: 0.04em;
    text-transform: uppercase; width: 100%;
    background: rgba(56, 189, 248, 0.05);
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* ── Newsletter ───────────────────────────────────────────────────────────── */
#newsletteroverviewLeft ul li > .video_edit i { width: 25px; }
#umfrageLeft ul li > .video_edit i { width: 25px; }
/* legacy override entfernt — siehe .myfiles.vier .video_edit */
#newsletteroverviewLeft ul { list-style: none; display: flex; flex-wrap: wrap; }
#newsletterLeft ul { list-style: none; display: flex; flex-wrap: wrap; }
#newsletterLeft li, #newsletteroverviewLeft li {
    position: relative;
    width: calc(33.333% - 20px); margin: 10px;
    overflow: hidden;
    background: rgba(20, 35, 58, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 4px;
    display: flex; flex-direction: column;
    min-height: unset;
}
#newsletterLeft li {
    width: calc(25% - 20px);
    min-height: 180px;
}
#newsletterLeft li .video_edit {
    background: rgba(8,16,30,0.85) !important;
}
#newsletterLeft .file-preview {
    flex: 1;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 140px;
    position: relative;
}
#newsletterLeft .file-preview .file-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff !important;
}
/* TODO: redundant? globale .video_edit .cms-action-btn greift bereits — prüfen */
#newsletteroverviewLeft .video_edit .cms-action-btn {
    width: 26px; height: 26px; font-size: 13px;
}
#newsletteroverviewLeft .video_edit .file-meta-inline {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 140px;
}
/* Screenshot — volle Höhe */
#newsletteroverviewLeft li .nl-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    flex-shrink: 0;
}
/* Info-Bereich — heller */
#newsletteroverviewLeft li .nloverview {
    padding: 10px 14px;
    overflow: hidden;
    flex: 1;
}
#newsletteroverviewLeft .nloverview div {
    color: rgba(255,255,255,0.85);
    display: inline-block;
    float: none;
    font-size: 11px;
    padding: 2px 6px 2px 0;
    min-width: 70px;
}
#newsletteroverviewLeft .nloverview .trenner {
    display: block; width: 100%;
    height: 1px; margin: 5px 0;
    border-bottom: 1px solid rgba(56,189,248,0.15);
    background: none; min-width: unset;
}

/* ── Shop Mix ─────────────────────────────────────────────────────────────── */
.shopmix-kategorie-header {
    width: 100%;
    padding: 10px 16px;
    color: #059bf6;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(5,155,246,0.06);
    border-left: 3px solid #059bf6;
    border-bottom: 1px solid rgba(5,155,246,0.15);
    margin-bottom: 4px;
}
#mixLeft li {
    display: flex;
    flex-direction: column;
    width: calc(25% - 20px) !important;
    min-height: 250px !important; height: 250px;
    margin: 10px; float: left; overflow: hidden;
    background: rgba(8,16,30,0.96);
    border: 1px solid rgba(4,245,219,0.12);
    padding: 0 !important;
}
#mixLeft .video_edit {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    z-index: 2;
    background: rgba(0,0,0,0.78) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    min-height: 34px;
}
#mixLeft .file-preview {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
#mixLeft .file-preview .file-name {
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    padding: 5px 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Gruppe Card — wiederverwendbare Kachel für Gruppen/Verzeichnis-Listen ── */
/* Verwendung: class="gruppe-card" auf <li>, Farben via set_glow_bg() inline  */
/* Unterstützte Unterelemente: .file_name (oben), .file_buttons (mittig)      */
.gruppe-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: calc(25% - 20px) !important;
    min-height: 170px;
    margin: 10px;
    float: left;
    padding: 14px 10px 12px 16px;
    border-radius: 6px !important;
    background: rgba(20,40,70,0.95) !important;
    border: 1px solid rgba(5,155,246,0.15) !important;
    border-left: 4px solid var(--accent, #059bf6) !important;
    padding: 14px 10px 12px 16px !important;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    overflow: hidden;
    font-size: unset !important;
}
.gruppe-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    border-left-color: var(--accent, #059bf6) !important;
    background: rgba(25,50,88,0.98) !important;
}
.gruppe-card .file_name {
    width: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 6px 8px 0;
    margin-bottom: 38px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.gruppe-card .file_name i {
    font-size: 13px !important;
    position: static !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    color: rgba(255,80,80,0.9);
    flex-shrink: 0;
}
.gruppe-card .file_name i.fa-check { color: #04f5db; }
.gruppe-card .file_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 1;
    padding: 8px 0 6px;
}
.gruppe-card .file_buttons .cms-action-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important; width: 36px !important;
    padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(5,155,246,0.35) !important;
    background: rgba(5,155,246,0.10) !important;
    color: rgba(5,155,246,0.85) !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    flex-shrink: 0;
}
.gruppe-card .file_buttons .cms-action-btn i {
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 14px !important;
    color: inherit !important;
    pointer-events: none;
}
.gruppe-card .file_buttons .cms-action-btn:hover {
    border-color: #059bf6 !important;
    background: rgba(5,155,246,0.22) !important;
    color: #059bf6 !important;
    box-shadow: 0 0 14px rgba(5,155,246,0.30) !important;
    transform: scale(1.08) !important;
}

/* ── Daten-Tabellen ───────────────────────────────────────────────────────── */
.datentabelle {
    width: 100%; height: auto; overflow: hidden;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}
.datentabelle a { color: rgba(56, 189, 248, 0.85); }
.daten_tabelle.kopf {
    background: rgba(56, 189, 248, 0.06);
    font-size: 18px !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
}
/* ── Add-Row Highlight ────────────────────────────────────────────────────── */
.daten_tabelle.add-row,
.datentabelle.add-row {
    background: rgba(5, 155, 246, 0.05);
    border-left: 2px solid rgba(5, 155, 246, 0.40);
    border-bottom: 1px solid rgba(5, 155, 246, 0.12);
}
.daten_tabelle.add-row:hover,
.datentabelle.add-row:hover { background: rgba(5, 155, 246, 0.08) !important; }
.datentabelle > .bezeichner, .daten_tabelle > .bezeichner {
    float: left; position: relative; padding: 1%;
    font-size: 14px; width: 40%;
    color: rgba(255, 255, 255, 0.82);
}
.datentabelle > .bezeichner i, .datentabelle .bezeichner a i { font-size: 22px; }
.daten_tabelle > .bezeichner { line-height: 30px; }
.daten_tabelle { width: 100%; height: auto; overflow: hidden; display: flex; align-items: center; }
.daten_tabelle > .bezeichner { float: none; }
.datentabelle > .bezeichner a { color: rgba(56, 189, 248, 0.85); }
.daten_tabelle .bezeichner a { color: rgba(56, 189, 248, 0.75); text-decoration: none; transition: color 0.2s ease, text-shadow 0.2s ease; }
.bezeichner a:hover { color: #38bdf8 !important; text-shadow: 0 0 10px rgba(56, 189, 248, 0.40); }
.user-info-link { color: rgba(56, 189, 248, 0.70); text-decoration: none; transition: color 0.2s ease, text-shadow 0.2s ease; }
.user-info-link:hover { color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.45); }
.cms-sort-btn { font-size: inherit !important; font-family: inherit !important; padding: 0 !important; float: left !important; color: #fff !important; background: none !important; border: none !important; cursor: pointer !important; }
/* Quicklook Unterreiter Toggle */
.quicklook-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(5,155,246,0.18);
    border-left: 3px solid rgba(5,155,246,0.5);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    margin: 4px 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    user-select: none;
}
.quicklook-toggle:hover {
    background: rgba(5,155,246,0.10);
    border-color: rgba(5,155,246,0.45);
    border-left-color: #059bf6;
    color: rgba(255,255,255,0.95);
}
.quicklook-toggle .ql-count {
    font-size: 11px; font-weight: 600;
    background: rgba(5,155,246,0.18);
    color: #38bdf8;
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 8px;
}
.quicklook-toggle .ql-chevron {
    font-size: 11px;
    color: rgba(5,155,246,0.6);
    margin-left: auto;
    padding: 0;
    margin-right: 2px;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
    transform-origin: 50% 50%;
}
.quicklook-toggle.open .ql-chevron { transform: rotate(180deg); }
/* Tel/Email Action Icons */
.ql-contact-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(5,155,246,0.12);
    border: 1px solid rgba(5,155,246,0.25);
    color: #38bdf8 !important;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
    margin: 0 2px;
    flex-shrink: 0;
}
.ql-contact-btn:hover {
    background: rgba(5,155,246,0.25);
    border-color: #059bf6;
    box-shadow: 0 0 8px rgba(5,155,246,0.45);
    color: #fff !important;
}
.daten_tabelle:hover { background: rgba(56, 189, 248, 0.05) !important; }
.daten_tabelle > form { width: 100%; }
/* Tabellenkopf-Zeile (.datentabelle als Header-Wrapper) */
.datentabelle[aria-label] {
    background: rgba(56, 189, 248, 0.06);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}
.datentabelle[aria-label] .bezeichner,
.datentabelle[aria-label] .cms-sort-btn {
    color: rgba(56, 189, 248, 0.80) !important;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 11px !important;
}
/* "Gefundene Touren" Info-Zeile */
.tours-count-info {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    padding: 2px 0;
}
/* Aktionszellen in Tourlisten: genug Platz, keine Zeilenumbrüche */
.daten_tabelle .bezeichner[style*="text-align:right"],
.daten_tabelle .bezeichner[style*="text-align: right"] {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 2px;
    min-width: 120px;
    flex-shrink: 0;
}
.daten_tabelle .bezeichner[style*="text-align:right"] button,
.daten_tabelle .bezeichner[style*="text-align: right"] button {
    float: none !important;
    flex-shrink: 0;
}
a .contact-icon-link {
    display: inline-block;
    color: #38bdf8;
    margin-left: 5px;
    font-size: 12px;
    width: 22px; height: 22px;
    line-height: 22px;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.38);
    border-radius: 3px;
    transition: border-color 0.15s, background 0.15s;
    vertical-align: middle;
}
a:hover .contact-icon-link {
    border-color: rgba(56, 189, 248, 0.65);
    background: rgba(56, 189, 248, 0.10);
}
/* Delete-Buttons rot */
.cms-action-btn[data-action="tour-loeschen"] i,
.cms-action-btn[data-action="buchungseintrag-loeschen"] i {
    color: #ef4444 !important;
}
.cms-action-btn[data-action="tour-loeschen"]:hover i,
.cms-action-btn[data-action="buchungseintrag-loeschen"]:hover i {
    color: #f87171 !important;
}
.daten_tabelle.orangeflag { color: rgba(255, 160, 60, 0.9); }
.darkgrey  { background: rgba(255, 255, 255, 0.07); border-left: 3px solid; border-image: linear-gradient(to bottom, #38bdf8, rgba(5, 155, 246, 0.5)) 1; }
.darkgreynoborder { background: rgba(255, 255, 255, 0.07); }
.mediumgrey { background: rgba(255, 255, 255, 0.02); }
.red       { background: rgba(255, 50, 50, 0.15); }
.grey      { background: rgba(255, 255, 255, 0.02); }
.lightgrey  { background: rgba(255, 255, 255, 0.03); }

/* ── Website Hierarchie (ul/li Drag&Drop Struktur) ───────────────────────── */
/* ul/li Reset — Sortier-Funktion bleibt erhalten */
#webseitenLeft ul.sortable-list,
#webseitenContainerLeft ul.sortable-list,
#webSeitensubseiteLeft ul.sortable-list,
#webseitenSubContainerLeft ul.sortable-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
#webseitenLeft ul.sortable-list > li,
#webseitenContainerLeft ul.sortable-list > li,
#webSeitensubseiteLeft ul.sortable-list > li,
#webseitenSubContainerLeft ul.sortable-list > li {
    display: block;
    margin: 0;
    padding: 0;
}
/* Level 0: Hauptseiten */
#webseitenLeft {
    width: 100%;
}
#webseitenLeft > ul.sortable-list > li > .daten_tabelle {
    background: rgba(56, 189, 248, 0.05);
    border-left: 3px solid rgba(56, 189, 248, 0.45);
    margin-bottom: 2px;
}
/* Level 1a: Container unter Hauptseite */
#webseitenContainerLeft {
    margin-left: 24px;
    margin-bottom: 4px;
}
#webseitenContainerLeft > ul.sortable-list > li > .daten_tabelle {
    background: rgba(5, 155, 246, 0.04);
    border-left: 2px solid rgba(5, 155, 246, 0.30);
}
/* Level 1b: Unterseiten */
#webSeitensubseiteLeft {
    margin-left: 24px;
    margin-bottom: 4px;
}
#webSeitensubseiteLeft > ul.sortable-list > li > .daten_tabelle {
    background: rgba(168, 85, 247, 0.04);
    border-left: 2px solid rgba(168, 85, 247, 0.30);
}
/* Level 2: Sub-Container unter Unterseiten */
#webseitenSubContainerLeft {
    margin-left: 48px;
    margin-bottom: 4px;
}
#webseitenSubContainerLeft > ul.sortable-list > li > .daten_tabelle {
    background: rgba(5, 155, 246, 0.03);
    border-left: 2px solid rgba(5, 155, 246, 0.20);
}



/* ── KI-Kosten Dashboard ─────────────────────────────────────────────────── */
.ki-stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
}
.ki-stat-card {
    flex: 0 1 180px;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ki-stat-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.12);
}
.ki-stat-month {
    font-size: 11px;
    font-family: custom_font;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(56, 189, 248, 0.7);
    margin-bottom: 6px;
}
.ki-stat-cost {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.ki-stat-requests {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}
.ki-stat-empty {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    padding: 12px 0;
}

/* ── Video Edit / Angebot Edit ────────────────────────────────────────────── */
.video_edit, .angebot_edit {
    position: absolute;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: 0 auto;
    width: 80%; text-align: center;
    height: 50px; line-height: 50px;
    font-size: 25px;
    background: rgba(8, 16, 30, 0.88);
    top: 0; left: 50%; z-index: 5;
    transform: translateX(-50%);
}
.video_edit i, .angebot_edit i {
    width: 25px; font-size: 25px;
    text-align: center; cursor: pointer;
    transition: all 0.6s linear;
}
/* ── video_edit in Listen (nicht Karten) — wie backgrounds ────────────────── */
.meineliste .video_edit {
    position: relative;
    width: 100%; left: auto; transform: none;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(4, 10, 20, 0.82);
    border-bottom: 1px solid rgba(56, 189, 248, 0.10);
    border-radius: 6px 6px 0 0;
    box-sizing: border-box;
    flex-shrink: 0;
}
.meineliste .video_edit .file-bar-left {
    display: flex; align-items: center; gap: 6px;
}
.meineliste .video_edit .file-bar-right {
    display: flex; align-items: center; gap: 4px;
}
.meineliste .video_edit .videoeditbutton {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    height: 26px; width: 26px; padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(56,189,248,0.45);
    background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(56,189,248,0.05));
    box-shadow: 0 0 8px rgba(56,189,248,0.12);
    cursor: pointer; transition: background 0.2s, box-shadow 0.2s;
}
.meineliste .video_edit .videoeditbutton:hover {
    background: linear-gradient(135deg, rgba(56,189,248,0.28), rgba(56,189,248,0.12));
    box-shadow: 0 0 14px rgba(56,189,248,0.35);
}
.meineliste .video_edit .videoeditbutton svg,
.meineliste .video_edit .videoeditbutton i {
    width: 13px; height: 13px; font-size: 13px; pointer-events: none;
}
/* ── Special Modules ──────────────────────────────────────────────────────── */
#mieterdash .video_edit button,
#immoLeft .video_edit button,
#immosubLeft .video_edit button,
#newsletter-overview-list .video_edit button,
.gewinn-entry .video_edit button,
#umfragenLeft .video_edit button,
.meineliste li.fuller > .video_edit button { float: right; }
/* Dashboard Logo — Schachbrett für weiße/schwarze Logos */
#mieterdash .mieterdash-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    background-color: #a0a0a0;
    background-image:
        linear-gradient(45deg, #707070 25%, transparent 25%),
        linear-gradient(-45deg, #707070 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #707070 75%),
        linear-gradient(-45deg, transparent 75%, #707070 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}
#mieterdash .mieterdash-preview img {
    max-width: 80%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
#umfragenLeft .video_edit .cms-action-btn {
    width: 22px; height: 22px;
    font-size: 11px;
}
#umfragenLeft .video_edit .cms-action-btn svg,
#umfragenLeft .video_edit .cms-action-btn i {
    font-size: 11px;
}
#umfragenLeft li {
    background: rgba(20, 35, 58, 0.88) !important;
    border-color: var(--badge-color, rgba(56, 189, 248, 0.22)) !important;
}
#umfragenLeft .file-bar-right {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 3px;
}
#umfragenLeft .file-preview {
    padding-top: 8px;
}
#umfragenLeft .file-type-badge {
    height: 18px;
    padding: 0 6px;
    font-size: 12px;
    color: var(--badge-color, rgba(4,245,219,0.7)) !important;
    background: transparent !important;
    border-color: var(--badge-color, rgba(56,189,248,0.3)) !important;
}
#umfragenLeft .file-type-badge i {
    font-size: 11px;
}

/* ── meineliste — ul / li / fuller / mover ───────────────────────────────── */
.meineliste ul { list-style: none; }
.meineliste.email ul {
    position: relative; width: 100%; height: auto;
    background: transparent; overflow: hidden;
}
.meineliste li {
    position: relative; padding: 10px;
    width: calc(25% - 20px); margin: 10px;
    float: left; overflow: hidden;
    background: rgba(8,16,30,0.85); border: 1px solid rgba(56,189,248,0.12);
    height: 80px; transition: all 0.6s linear;
    border-radius: 8px;
}
.meineliste.email li { padding: 0; height: 110px; background: rgba(20,35,58,0.88); border: 1px solid rgba(56,189,248,0.22); overflow: hidden; display: flex; flex-direction: column; }
.meineliste.email .file-preview {
    flex: 1;
    padding: 14px 12px;
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.meineliste.email .file-preview .file-name {
    font-size: 0.82rem; font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.meineliste.email .file-preview .file-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.meineliste li:hover { background: rgba(56,189,248,0.06); border-color: rgba(56,189,248,0.30); box-shadow: 0 0 10px rgba(56,189,248,0.10); }
.meineliste.email li:hover { background: rgba(20,35,58,0.88); border-color: rgba(5,155,246,0.35); box-shadow: 0 4px 18px rgba(5,155,246,0.08); }
.meineliste li.fuller {
    padding: 10px; width: calc(100% - 20px); margin: 0 10px;
    float: none; overflow: hidden;
    border: 0px; background: transparent;
    height: 80px; line-height: 60px; text-align: center;
}
/* ── fuller.full — immer 100%, kein Chat-Override ─────────────────────────── */
.meineliste li.fuller.full {
    width: 100% !important; margin: 20px 0 6px 0 !important; box-sizing: border-box;
    padding: 0 14px; height: 44px; line-height: 44px;
    border-radius: 6px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
    border-left: 3px solid var(--fuller-accent, rgba(4,245,219,0.6));
    background: var(--fuller-bg, rgba(4,245,219,0.07)) !important;
    color: #fff; display: flex; align-items: center; gap: 8px;
}
.meineliste li.fuller > .video_edit {
    width: 100%; color: #FFF; height: 60px;
    background: rgba(0, 0, 0, 0.8) !important;
}
.meineliste li.mover {
    position: relative; width: calc(25% - 22px); cursor: move;
    height: 200px; overflow: hidden; list-style: none;
    float: left; padding: 0; margin: 10px;
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 8px;
    background: rgba(8,16,30,0.85);
    display: flex; flex-direction: column;
}

/* ── Wiki ──────────────────────────────────────────────────────────────────── */
#wikisubLeft li .file-preview {
    flex: 1; padding: 12px 16px; display: flex; flex-direction: column;
    justify-content: center; gap: 4px;
}
#wikisubLeft li .file-name {
    font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#wikisubLeft li:hover {
    box-shadow: 0 0 14px rgba(56,189,248,0.25), 0 0 4px rgba(56,189,248,0.15);
    border-color: rgba(56,189,248,0.35) !important;
    transition: box-shadow 0.25s, border-color 0.25s;
}
/* fuller-Buttons in wiki als Kreis */
#wikiLeft .meineliste li.fuller .cms-action-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    height: 26px; width: 26px; padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.12);
    cursor: pointer; transition: background 0.2s;
    flex-shrink: 0;
}
#wikiLeft .meineliste li.fuller .cms-action-btn:hover {
    background: rgba(255,255,255,0.25);
}
#wikiLeft .meineliste li.fuller .cms-action-btn svg,
#wikiLeft .meineliste li.fuller .cms-action-btn i {
    pointer-events: none;
}

/* ── Übersetzung ───────────────────────────────────────────────────────────── */
#uebersetzungtab.meineliste li:not(.fuller) {
    padding: 0; height: 90px;
    background: rgba(20,35,58,0.88); border: 1px solid rgba(56,189,248,0.22);
    border-radius: 6px;
    display: flex; flex-direction: column;
}
#uebersetzungtab.meineliste .file-preview {
    flex: 1; padding: 10px 14px;
    display: flex; align-items: center;
}
#uebersetzungtab.meineliste .file-preview .file-name {
    font-size: 0.85rem; color: rgba(255,255,255,0.85); font-weight: 500;
}

/* ── wikisubLeft li (Kachel-Layout) ──────────────────────────────────────── */
#wikisubLeft li {
    position: relative; padding: 0;
    width: calc(25% - 20px); margin: 10px;
    float: left; overflow: hidden;
    background: rgba(20,35,58,0.88); border: 1px solid rgba(56,189,248,0.22);
    border-radius: 8px;
    display: flex; flex-direction: column;
}
#wikisubLeft li:hover {
    border-color: rgba(5,155,246,0.35);
    box-shadow: 0 4px 18px rgba(5,155,246,0.08);
}

/* ── Soziale Netzwerke ────────────────────────────────────────────────────── */
#socialmedia_module ul, #socialmediaselect_module ul { height: 600px !important; }
#socialmedia_module li, #socialmediaselect_module li,
#tag_module li, #tagselect_module li {
    background: #1141bf; color: #FFF;
    padding: 20px; float: left; font-size: 18px;
    text-align: center; width: calc(25% - 10px); margin: 5px;
}
#socialmedia_module li {
    width: 100%; margin: 10px 0;
    height: 110px !important; text-align: left; float: none; font-size: 34px;
}
#socialmediaselect_module li > .cms_eingabe { display: none; width: calc(100% - 230px); }
#socialmedia_module li > .cms_eingabe { display: block; width: calc(100% - 230px); float: left; margin: 0; }
#socialmedia_module li > .cms_eingabe.special { display: block; width: 70px; float: left; margin: 0 0 0 10px; }
#socialmediaselect_module li > .cms_eingabe.special { display: none; }
#socialmediaselect_module li > .socialbutton { display: none; }
#socialmedia_module li > .socialbutton { display: block; }
#socialmedia_module li i { float: left; line-height: 60px; margin: 5px 20px 5px 5px; }
.url-invalid { border-color: red; background-color: #fff0f0; }
.url-saved   { border-color: green; background-color: #f0fff0; }
.instagram-feed { display: flex; flex-wrap: wrap; gap: 10px; }
.insta-post { display: block; width: 150px; height: 150px; overflow: hidden; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; }
facebook { position: fixed; z-index: 100010; width: 100%; height: 100%; top: 0; background: rgba(0,0,0,0.6); left: 0; backdrop-filter: blur(4px); }

/* ── Agent Confirm ────────────────────────────────────────────────────────── */
.agent-confirm-area {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--panel, rgba(8,16,30,0.98));
    border: 1px solid rgba(255,255,255,0.12);
    padding: 40px; color: #fff;
    text-align: center; border-radius: 12px;
    min-width: 320px; max-width: 480px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.agent-confirm-text { color: rgba(255,255,255,0.85); text-align: center; margin: 0 auto 30px auto; line-height: 1.6; }
.agent-confirm-text ul { list-style: none; }
.agent-confirm-area button {
    padding: 10px 28px; font-size: 14px;
    border: none; margin: 0 6px; border-radius: 8px;
    cursor: pointer; transition: opacity 0.2s;
    font-weight: 600; letter-spacing: 0.02em;
}
.agent-confirm-area button.yes { background: transparent; border: 1px solid rgba(5,155,246,0.4); color: rgba(255,255,255,0.9); }
.agent-confirm-area button.yes:hover { background: rgba(5,155,246,0.1); border-color: rgba(5,155,246,0.7); color: #fff; }
.agent-confirm-area button.no  { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); }
.agent-confirm-area button.no:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); }
.agent-confirm-area button:hover { opacity: 0.85; }

/* ── Gewinnspiel ──────────────────────────────────────────────────────────── */
#gewinnContainerLeft ul {
    list-style: none;
    display: flex; flex-wrap: wrap;
    gap: 0;
}
#gewinnContainerLeft li {
    position: relative;
    width: calc(25% - 20px); margin: 10px;
    overflow: hidden;
    background: rgba(20, 35, 58, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 4px;
    display: flex; flex-direction: column;
    min-height: unset;
}
#gewinnContainerLeft .file-preview {
    flex: 1;
    overflow: hidden;
}
#gewinnContainerLeft .file-preview img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
#userteilnehmer ul, #fragenLeft ul {
    list-style: none; position: relative; cursor: move; height: auto; overflow: hidden;
}
#userteilnehmer li {
    position: relative; padding: 10px;
    width: calc(25% - 20px); margin: 10px;
    float: left; overflow: hidden;
    background: #efefef; border: 1px solid #999;
    height: 80px;
}

/* ── Umfragen ─────────────────────────────────────────────────────────────── */
#qcontainerLeft ul,
#qcontainerLeft ul li { list-style: none; }
#qcontainerLeft > ul > li > .daten_tabelle.grey,
#qcontainerLeft > ul > li > .daten_tabelle.darkgrey {
    border-left: 3px solid rgba(56,189,248,0.6) !important;
    border-image: none !important;
    background: rgba(20,35,58,0.88) !important;
}

#acontainerLeft ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
#acontainerLeft li {
    position: relative;
    width: calc(25% - 20px); margin: 10px;
    float: left; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 100px;
    background: rgba(20,35,58,0.88);
    border: 1px solid rgba(56,189,248,0.22);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#acontainerLeft li:hover {
    border-color: rgba(56,189,248,0.5);
    box-shadow: 0 0 12px rgba(56,189,248,0.1);
}
#acontainerLeft .video_edit {
    position: relative;
    display: flex; flex-direction: row;
    align-items: center; justify-content: flex-end;
    width: 100%; padding: 6px 8px;
    background: rgba(8,16,30,0.5);
    border-bottom: 1px solid rgba(56,189,248,0.1);
    flex-shrink: 0; gap: 4px;
}
#acontainerLeft .video_edit button {
    background: transparent; border: none;
    padding: 4px 6px; cursor: pointer;
    color: rgba(4,245,219,0.7);
    transition: color 0.2s;
}
#acontainerLeft .video_edit button:hover { color: #fff; }
#acontainerLeft .file-preview {
    flex: 1; padding: 10px 12px;
    display: flex; align-items: center;
}
#acontainerLeft .file-name {
    font-size: 0.84rem; font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Statistiken ──────────────────────────────────────────────────────────── */
h3.boxheader { position: relative; margin: 20px 5px; padding: 10px 20px; text-align: center; color: rgba(4,245,219,0.75); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.statbox { position: relative; margin: 20px 5px; border: 1px solid rgba(4,245,219,0.15); border-radius: 8px; padding: 20px; background: rgba(4,245,219,0.03); }
.config-box.statbox-filter { background: transparent; border-color: transparent; box-shadow: none; margin-bottom: 0; }
.statbox.half, h3.boxheader.half { float: left !important; width: calc(50% - 10px); }
.statbox.four, h3.boxheader.four { float: left !important; width: calc(33.33% - 10px); }
.statistica { width: 100%; font-size: 14px; font-weight: 400; height: auto; overflow: hidden; border: 1px solid #333; padding: 1%; list-style: none; }
.statistica li { float: left; width: 20%; padding: 0; font-size: 12px; font-weight: 100; list-style: none; }

/* ── Google / Maps ────────────────────────────────────────────────────────── */
.google { position: relative; margin-top: 20px; width: 100%; height: auto; overflow: hidden; }
#map_canvas, #ymap { position: relative; width: 100%; height: 300px; }
#ymap { margin: 20px auto; }
.my-marker { width: 45px; height: 45px; padding: 2.5px; background: #fff; }
.my-marker img { width: 100%; height: auto; }

/* ── Kalender ─────────────────────────────────────────────────────────────── */
.calendar { display: flex; flex-flow: column; }
.calendar .header .month-year {
    font-size: 16px; font-weight: 700;
    color: rgba(255,255,255,0.85); padding: 14px 0;
    letter-spacing: 0.05em;
}
.calendar .days { display: flex; flex-flow: wrap; }
.calendar .days .day_name {
    width: calc(100% / 7);
    border-right: 1px solid rgba(56,189,248,0.12);
    padding: 10px 6px; text-transform: uppercase;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    color: rgba(4,245,219,0.8);
    background: rgba(8,16,30,0.9);
    text-align: center;
}
.calendar .days .day_name:nth-child(7) { border-right: none; }
.calendar .days .day_num {
    display: flex; flex-flow: column;
    width: calc(100% / 7);
    border-right: 1px solid rgba(56,189,248,0.08);
    border-bottom: 1px solid rgba(56,189,248,0.08);
    padding: 8px; font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(8,16,30,0.6);
    cursor: pointer; min-height: 80px;
    transition: background 0.15s ease;
}
.calendar .days .day_num span {
    display: inline-flex; width: 26px; height: 26px;
    font-size: 13px; align-items: center; justify-content: center;
    border-radius: 50%;
}
/* Erster Tag des Monats — hervorgehoben */
.calendar .days .day_num.first-day span,
.calendar .days .day_num span.first-day {
    background: rgba(4,245,219,0.15);
    color: #04f5db;
}
.calendar .days .day_num .event {
    margin-top: 6px; font-weight: 500; font-size: 12px;
    padding: 2px 5px; border-radius: 4px;
    background: rgba(5,155,246,0.25);
    color: rgba(255,255,255,0.9);
    word-wrap: break-word;
    border-left: 2px solid rgba(5,155,246,0.6);
}
/* Linke Kante (erste Spalte) */
.calendar .days .day_num:nth-child(7n+1) {
    border-left: 1px solid rgba(56,189,248,0.08);
}
/* Wochenende — Sa (7n) + So (7n+1 nach Sonntag) */
.calendar .days .day_num:nth-child(7n),
.calendar .days .day_num:nth-child(7n+1) {
    background: rgba(56,189,248,0.05);
    color: rgba(56,189,248,0.75);
}
.calendar .days .day_num:hover {
    background: rgba(4,245,219,0.07);
}
.calendar .days .day_num.ignore {
    background: rgba(8,16,30,0.4);
    color: rgba(255,255,255,0.2);
    cursor: inherit;
}
.calendar .days .day_num.selected {
    background: rgba(4,245,219,0.1);
    border-color: rgba(4,245,219,0.3);
    cursor: inherit;
}
#kalender {
    position: relative; width: 100%;
    display: flex; flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 8px; overflow: hidden;
}

/* ── Webseiten ────────────────────────────────────────────────────────────── */
#webseitenLeft ul, #containerLeft ul, #openLeft ul, #newsandeventsconfigLeft ul {
    list-style: none; position: relative; cursor: move; height: auto; overflow: hidden;
}
/* Level 0 — Hauptseiten: 1-spaltig, volle Breite */
#webseitenLeft ul { display: block; width: 100%; }
#webseitenLeft > ul > li {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    border: none;
    height: auto;
}
/* sortable-end-gap: kein ::before, keine Höhe (verhindert sichtbaren parent border-left) */
#webseitenLeft li.sortable-end-gap::before,
#webseitenContainerLeft li.sortable-end-gap::before,
#webSeitensubseiteLeft li.sortable-end-gap::before,
#webseitenSubContainerLeft li.sortable-end-gap::before { display: none !important; }
/* Level 1+ — Container / Unterseiten / Sub-Container */
#webseitenContainerLeft li,
#webSeitensubseiteLeft li,
#webseitenSubContainerLeft li,
#webseitenLeft ul ul li {
    width: 100%;
    float: none;
    background: transparent;
    border: none;
    height: auto;
}

/* ── Referenzen ───────────────────────────────────────────────────────────── */
#referenzLeft li {
    position: relative; overflow: hidden;
    height: 220px;
    display: flex; flex-direction: column;
}
#referenzLeft .file-bar-left .fa-check { color: #04f5db; }
#referenzLeft .file-bar-left .fa-triangle-exclamation { color: rgba(255,80,80,0.9); }
#newsLeft .file-bar-left .fa-check { color: #04f5db; }
#newsLeft .file-bar-left .fa-triangle-exclamation { color: rgba(255,80,80,0.9); }
#screenLeft .file-bar-left .fa-check { color: #04f5db; }
#screenLeft .file-bar-left .fa-triangle-exclamation { color: rgba(255,80,80,0.9); }
#mixLeft .file-bar-left .fa-check { color: #04f5db; }
#mixLeft .file-bar-left .fa-triangle-exclamation { color: rgba(255,80,80,0.9); }
#referenzLeft li .file-preview {
    flex: 1;
    overflow: hidden;
    background-color: #a0a0a0;
    background-image:
        linear-gradient(45deg, #707070 25%, transparent 25%),
        linear-gradient(-45deg, #707070 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #707070 75%),
        linear-gradient(-45deg, transparent 75%, #707070 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
#referenzLeft li .file-preview img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Files & Bilder Overview (shared pattern) ────────────────────────────── */
#bilderLeft ul,
#filesLeft ul,
ul.gruppe-card-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; align-content: flex-start;
}
#filesLeft li,
#bilderLeft li {
    position: relative;
    display: flex; flex-direction: column;
    min-height: 230px; height: 230px;
    margin: 10px; float: left;
    overflow: hidden;
    background: rgba(20,40,70,0.95);
    border: 1px solid rgba(5,155,246,0.15);
    border-radius: 6px;
    padding: 0 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#filesLeft li:hover,
#bilderLeft li:hover {
    border-color: rgba(5,155,246,0.35);
    box-shadow: 0 4px 18px rgba(5,155,246,0.08);
}
#filesLeft .video_edit,
#bilderLeft .video_edit {
    position: relative !important;
    flex-shrink: 0;
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 6px; min-height: 34px;
    background: rgba(0,0,0,0.72);
    z-index: 2;
}
#filesLeft .file-bar-left,
#bilderLeft .file-bar-left {
    display: flex; align-items: center; gap: 5px;
    min-width: 0; overflow: hidden;
}
#filesLeft .file-bar-right,
#bilderLeft .file-bar-right {
    display: flex; align-items: center; gap: 3px;
    flex-shrink: 0;
}
#filesLeft .file-bar-left .fa-check,
#bilderLeft .file-bar-left .fa-check { color: #04f5db; }
#filesLeft .file-bar-left .fa-triangle-exclamation,
#bilderLeft .file-bar-left .fa-triangle-exclamation { color: rgba(255,80,80,0.9); }

/* File-type badges */
.file-type-badge {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
    padding: 2px 5px; border-radius: 3px;
    text-decoration: none; cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    transition: opacity 0.2s;
}
.file-type-badge:hover { opacity: 0.82; }
.file-type-pdf  { background: rgba(220,38,38,0.18);  color: #f87171; border: 1px solid rgba(220,38,38,0.4); }
.file-type-img  { background: rgba(4,245,219,0.12);  color: #04f5db; border: 1px solid rgba(4,245,219,0.35); }
.file-type-doc  { background: rgba(5,155,246,0.15);  color: #059bf6; border: 1px solid rgba(5,155,246,0.4); }
.file-type-xls  { background: rgba(34,197,94,0.14);  color: #4ade80; border: 1px solid rgba(34,197,94,0.4); }
.file-type-mov  { background: rgba(168,85,247,0.15); color: #c084fc; border: 1px solid rgba(168,85,247,0.4); }
.file-type-mp3  { background: rgba(251,146,60,0.15); color: #fb923c; border: 1px solid rgba(251,146,60,0.4); }
.file-type-zip  { background: rgba(250,204,21,0.12); color: #fbbf24; border: 1px solid rgba(250,204,21,0.35); }
.file-type-ppt  { background: rgba(249,115,22,0.15); color: #f97316; border: 1px solid rgba(249,115,22,0.4); }

/* File status indicators */
.file-status { display: flex; align-items: center; font-size: 13px; }
.file-status-active   i { color: #04f5db !important; }
.file-status-inactive i { color: rgba(255,80,80,0.9) !important; }
.file-status-partial  i { color: rgba(251,146,60,0.9) !important; }
.file-status-unknown  i { color: rgba(255,255,255,0.3) !important; }

/* Custom checkbox */
.file-checkbox-custom {
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
}
.file-checkbox-custom input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.file-checkbox-box {
    width: 18px; height: 18px;
    border: 1px solid rgba(5,155,246,0.45);
    border-radius: 3px;
    background: rgba(5,155,246,0.07);
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}
.file-checkbox-box svg { opacity: 0; transition: opacity 0.15s; }
.file-checkbox-custom input[type="checkbox"]:checked ~ .file-checkbox-box {
    background: rgba(5,155,246,0.22);
    border-color: #059bf6;
}
.file-checkbox-custom input[type="checkbox"]:checked ~ .file-checkbox-box svg { opacity: 1; }

/* File preview area */
#filesLeft .file-preview,
#bilderLeft .file-preview {
    flex: 1;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background-color: rgba(8,16,30,0.6);
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 14px 14px;
    background-position: 0 0, 0 7px, 7px -7px, -7px 0;
}
#filesLeft .file-preview img,
#bilderLeft .file-preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
#filesLeft .filepreviewicon,
#bilderLeft .filepreviewicon {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
}
#filesLeft .filepreviewicon i,
#bilderLeft .filepreviewicon i {
    font-size: 52px !important;
    line-height: 1 !important;
    position: static !important;
    transform: none !important;
    color: rgba(255,255,255,0.18);
}
#filesLeft .file-preview .file-name,
#bilderLeft .file-preview .file-name {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.68);
    color: rgba(255,255,255,0.9);
    font-size: 11px; font-weight: 500;
    padding: 5px 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    backdrop-filter: blur(4px);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* ── User Tabs / Formulare ────────────────────────────────────────────────── */
.usertab {
    width: calc(20% - 5px); margin-right: 5px;
    padding: 25px; font-size: 20px; float: left;
    border-top-left-radius: 10px; border-top-right-radius: 10px;
    text-align: left; cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(56, 189, 248, 0.20);
    border-bottom: 1px solid rgba(56, 189, 248, 0.20);
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}
.usertab.aktiv, .usertab:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.40);
    border-bottom-color: transparent;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}
#formulare {
    position: relative; width: 100%;
    clear: left; padding: 15px;
    background: rgba(56, 189, 248, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.30);
    border-radius: 4px;
}
#formulare > .config-box > h2,
#formulare h2:first-child {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
    font-size: 13px;
    text-transform: uppercase;
}
#formulare h3 {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    letter-spacing: 0.04em;
}
.user_akte {
    position: relative; width: 100%;
    padding: 1%; cursor: pointer;
    font-size: 14px; height: auto; overflow: hidden; display: none;
}

/* ── Status-Buttons (Vertrag / Delegation / Rates / Tourliste) ───────────── */
.status-red {
    background: rgba(220, 38, 38, 0.15) !important;
    border: 1px solid rgba(220, 38, 38, 0.45) !important;
    color: rgba(255, 130, 130, 0.95) !important;
}
.status-green {
    background: rgba(56, 189, 248, 0.10) !important;
    border: 1px solid rgba(56, 189, 248, 0.40) !important;
    color: #38bdf8 !important;
}
.status-orange {
    background: rgba(251, 146, 60, 0.12) !important;
    border: 1px solid rgba(251, 146, 60, 0.45) !important;
    color: rgba(251, 146, 60, 0.95) !important;
}
.status-grey {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ── Autoren ──────────────────────────────────────────────────────────────── */
.autorenliste li { background: #137e2a; color: #FFF; }
#oeffnungszeitenM li, #oeffnungszeitenM_select li { background: #06da3e; color: #FFF; }

/* ── Modul-Suche Overlay ──────────────────────────────────────────────────── */
/* Container: #suche (fixed fullscreen overlay) > #suchdetails.such-ui (card) */

#suche {
    display: none;
    position: fixed !important;
    top: 0; left: 0;
    /* Chat-Panel (380px) abziehen → justify-content:center zentriert im sichtbaren Bereich */
    width: calc(100vw - 380px);
    height: 100vh;
    z-index: 100000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 18vh;
    background: rgba(4, 8, 18, 0.55);
    backdrop-filter: blur(3px);
}
/* Chat geschlossen: volle Breite */
#suche.chat-closed {
    width: 100vw;
}
#suche.fx { display: none !important; }
/* Wenn sichtbar → flex */
#suche[style*="block"],
#suche[style*="flex"] {
    display: flex !important;
}

#suchdetails.such-ui {
    background: rgba(8, 16, 30, 0.98);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 8px;
    padding: 18px 20px 20px;
    position: relative;
    width: 500px;
    max-width: calc(100vw - 420px - 40px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(56, 189, 248, 0.06);
}

#suchdetails.such-ui h2 {
    font-size: 0.67rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.14em !important;
    color: rgba(56, 189, 248, 0.55) !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.suchfeld-wrapper {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

input.such_felder {
    flex: 1;
    background: rgba(56, 189, 248, 0.05) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 5px !important;
    color: #e8f4f3 !important;
    padding: 9px 14px !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.2s, background 0.2s;
    height: auto !important;
    min-height: 0 !important;
}
input.such_felder:focus {
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(56, 189, 248, 0.08) !important;
}
input.such_felder::placeholder {
    color: rgba(255, 255, 255, 0.28) !important;
}

/* Submit-Button: teal */
button.submit_suche {
    flex-shrink: 0;
    background: rgba(56, 189, 248, 0.10) !important;
    border: 1px solid rgba(56, 189, 248, 0.30) !important;
    border-radius: 5px !important;
    color: #38bdf8 !important;
    padding: 0 14px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center;
}
button.submit_suche:hover {
    background: rgba(56, 189, 248, 0.2) !important;
    border-color: rgba(56, 189, 248, 0.55) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

/* Close-Button: gedimmt */
button.close_suche {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 5px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    padding: 0 12px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    transition: background 0.2s, color 0.2s;
    display: flex; align-items: center; justify-content: center;
}
button.close_suche:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
}

/* Live-Ergebnis — innerhalb der Card */
#suchergebnis {
    display: none;
    margin-top: 10px;
    background: rgba(2, 8, 20, 0.98);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 5px;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.18) transparent;
}
#suchergebnis::-webkit-scrollbar { width: 4px; }
#suchergebnis::-webkit-scrollbar-track { background: transparent; }
#suchergebnis::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.18); border-radius: 2px; }

#suchergebnis ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
#suchergebnis ul li {
    border-bottom: 1px solid rgba(56, 189, 248, 0.05);
}
#suchergebnis ul li:last-child { border-bottom: none; }
#suchergebnis ul li a {
    display: block;
    padding: 9px 14px;
    color: rgba(200, 235, 230, 0.75) !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#suchergebnis ul li a:hover {
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8 !important;
}

/* Kein-Ergebnis-Text direkt in #suchergebnis */
#suchergebnis > *:not(ul):not(:empty) {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ── `suchfenster` Custom-Element (Legacy / ServerSide rendered) ─────────── */
suchfenster {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 16, 30, 0.97);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: rgba(200, 240, 235, 0.75);
    margin-bottom: 10px;
}
suchfenster .searchclose {
    margin-left: auto;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}
suchfenster .searchclose:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* =============================================================================
   13 · ANIMATIONS & KEYFRAMES
   ============================================================================= */

@keyframes nebulaDrift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    35%      { transform: translate(2%, -4%) scale(1.08); opacity: 0.82; }
    70%      { transform: translate(-3%, 2%) scale(0.97); opacity: 0.92; }
}
@keyframes nebulaBlob1 {
    0%, 100% { transform: translate(0%,   0%)   scale(1.00); opacity: 1; }
    25%      { transform: translate(-8%,  -6%)  scale(1.12); opacity: 0.80; }
    55%      { transform: translate(5%,  -10%)  scale(0.95); opacity: 0.90; }
    80%      { transform: translate(-4%,   4%)  scale(1.06); opacity: 0.85; }
}
@keyframes nebulaBlob2 {
    0%, 100% { transform: translate(0%,   0%)   scale(1.00); opacity: 1; }
    20%      { transform: translate(6%,  -5%)   scale(1.10); opacity: 0.85; }
    50%      { transform: translate(-4%,  8%)   scale(0.93); opacity: 0.92; }
    75%      { transform: translate(8%,   3%)   scale(1.08); opacity: 0.78; }
}
@keyframes backgroundShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes gradientAnimation {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes bg {
    0%   { background-position-x: 0; }
    100% { background-position-x: 10000px; }
}
@keyframes pulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeInOut {
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes fehler-fallback {
    to { display: block; }
}
@keyframes bubbleFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* FaceID */
@keyframes faceidOverlayIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes faceidOverlayOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes faceidCaptureFlash {
    0%   { box-shadow: 0 0 60px rgba(0, 230, 118, 0.7); }
    100% { box-shadow: 0 0 50px rgba(0, 230, 118, 0.35); }
}
@keyframes faceidDotPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.5); background: #00e676; }
    100% { transform: scale(1); }
}
@keyframes faceidPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(4, 245, 219, 0.1); }
    50%      { box-shadow: 0 0 12px rgba(4, 245, 219, 0.25); }
}

/* Atom */
@keyframes atom-busy-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(4, 245, 219, 0.4), 0 0 60px rgba(4, 245, 219, 0.15), inset 0 0 20px rgba(4, 245, 219, 0.1); }
    50%      { box-shadow: 0 0 50px rgba(4, 245, 219, 0.7), 0 0 90px rgba(4, 245, 219, 0.3), inset 0 0 30px rgba(4, 245, 219, 0.2); }
}
@keyframes atom-busy-nucleus {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.15); }
}
@keyframes atom-nucleus-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(4,245,219,0.55), 0 0 28px rgba(30,120,255,0.3), 0 0 60px rgba(30,100,255,0.1);
    }
    35% {
        transform: scale(1.45);
        box-shadow: 0 0 22px rgba(4,245,219,0.95), 0 0 50px rgba(30,120,255,0.5), 0 0 85px rgba(30,100,255,0.2);
    }
    65% {
        transform: scale(1.15);
        box-shadow: 0 0 16px rgba(4,245,219,0.75), 0 0 38px rgba(30,120,255,0.35), 0 0 70px rgba(30,100,255,0.15);
    }
}
@keyframes atom-ambient {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.15); opacity: 1; }
}
@keyframes atom-spin-1 { from { transform: rotate(-35deg); } to { transform: rotate(325deg); } }
@keyframes atom-spin-2 { from { transform: rotate(35deg); }  to { transform: rotate(395deg); } }
@keyframes atom-spin-3 { from { transform: rotate(85deg); }  to { transform: rotate(445deg); } }
@keyframes atom-el-1 {
    0%   { top:50%;left:50%; transform: translate(-50%,-50%) rotate(-35deg)  translateX(25px); }
    25%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(55deg)   translateX(25px); }
    50%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(145deg)  translateX(25px); }
    75%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(235deg)  translateX(25px); }
    100% { top:50%;left:50%; transform: translate(-50%,-50%) rotate(325deg)  translateX(25px); }
}
@keyframes atom-el-2 {
    0%   { top:50%;left:50%; transform: translate(-50%,-50%) rotate(35deg)   translateX(24px); }
    25%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(125deg)  translateX(24px); }
    50%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(215deg)  translateX(24px); }
    75%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(305deg)  translateX(24px); }
    100% { top:50%;left:50%; transform: translate(-50%,-50%) rotate(395deg)  translateX(24px); }
}
@keyframes atom-el-3 {
    0%   { top:50%;left:50%; transform: translate(-50%,-50%) rotate(85deg)   translateX(23px); }
    25%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(175deg)  translateX(23px); }
    50%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(265deg)  translateX(23px); }
    75%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(355deg)  translateX(23px); }
    100% { top:50%;left:50%; transform: translate(-50%,-50%) rotate(445deg)  translateX(23px); }
}
@keyframes atom-el-sm-1 {
    0%   { top:50%;left:50%; transform: translate(-50%,-50%) rotate(-35deg)  translateX(13px); }
    25%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(55deg)   translateX(13px); }
    50%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(145deg)  translateX(13px); }
    75%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(235deg)  translateX(13px); }
    100% { top:50%;left:50%; transform: translate(-50%,-50%) rotate(325deg)  translateX(13px); }
}
@keyframes atom-el-sm-2 {
    0%   { top:50%;left:50%; transform: translate(-50%,-50%) rotate(35deg)   translateX(12px); }
    25%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(125deg)  translateX(12px); }
    50%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(215deg)  translateX(12px); }
    75%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(305deg)  translateX(12px); }
    100% { top:50%;left:50%; transform: translate(-50%,-50%) rotate(395deg)  translateX(12px); }
}
@keyframes atom-el-sm-3 {
    0%   { top:50%;left:50%; transform: translate(-50%,-50%) rotate(85deg)   translateX(11px); }
    25%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(175deg)  translateX(11px); }
    50%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(265deg)  translateX(11px); }
    75%  { top:50%;left:50%; transform: translate(-50%,-50%) rotate(355deg)  translateX(11px); }
    100% { top:50%;left:50%; transform: translate(-50%,-50%) rotate(445deg)  translateX(11px); }
}

/* Module Head Scan */
@keyframes moduleHeadScan {
    0%  { left: -60%; }
    65% { left: 110%; }
    100%{ left: 110%; }
}

/* Drop Area Dash */
@keyframes dropAreaDash {
    0%   { background-position: 0 0,    0 100%,   0 0,     100% 0; }
    100% { background-position: 32px 0, -32px 100%, 0 -32px, 100% 32px; }
}

/* Upload Ring */
@keyframes uploadRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes uploadPulse {
    0%   { opacity: 0.4; }
    50%  { opacity: 1; }
    100% { opacity: 0.4; }
}
@keyframes ringPulse {
    0%   { opacity: 0.4; }
    50%  { opacity: 1; }
    100% { opacity: 0.4; }
}
@keyframes ringSpin {
    from { transform: rotate(-90deg); }
    to   { transform: rotate(270deg); }
}

/* =============================================================================
   14 · LEGACY & UTILITIES
   ============================================================================= */

/* ── Responsive Media Queries ─────────────────────────────────────────────── */

@media (max-width: 1600px) {
    .underlabel > label { width: 25%; }
    #umfragenLeft li { width: calc(33.33% - 20px) !important; }
}

@media (max-width: 1400px) {
    myeditorwindow {
        margin: 50px 20px 20px 20px;
        width: calc(100% - 40px);
    }
    .service_icon:hover::after {
        border-top-left-radius: 90px;
        border-top-right-radius: 90px;
    }
    .cms_eingabe_style_container { width: 50% !important; }
    #umfragenLeft li { width: calc(50% - 20px) !important; }
}

@media (max-width: 1200px) {
    .meineliste li { width: calc(33.33% - 20px); }
    .vertraege_container, .benutzer_container, .cms_container,
    .file_container, .mo_container, #kategorieLeft li, #gruppenLeft li {
        width: calc(33.3% - 20px);
    }
    .gruppe-card { width: calc(33.333% - 20px) !important; }
    ul.gruppe-card-list { }
    .service_container { margin: 20px; }
    .service_icon i { font-size: 30px; }
    .myfiles.vier li { width: calc(33.3% - 20px) !important; }
    #gewinnContainerLeft li, #newsletterLeft li, #immosubLeft li,
    #wikisubLeft li, #acontainerLeft li, #angebotContainerLeft li {
        width: calc(33.333% - 20px); margin: 10px;
    }
    /* Grid-Fix: Mieter-Grid anpassen statt float/width auf shoppingcontainer */
    #mieter.mieter-liste {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    .underlabel > label { width: 33.333%; }
}

@media (max-width: 1024px) {
    #configdsvgo .cms_eingabe_style_container label:nth-of-type(2) { display: none; }
    #umfragenLeft li { width: calc(100% - 20px) !important; }
    .cms_eingabe_style_container { width: 100% !important; }
    #socialmedia_module li, #socialmediaselect_module li,
    #tag_module li, #tagselect_module li {
        padding: 10px; font-size: 14px;
        width: calc(50% - 5px); margin: 2.5px;
    }
    #socialmedia_module li {
        width: 100%; margin: 2.5px 0;
        height: 55px !important; font-size: 18px;
    }
    #socialmedia_module li i { float: left; font-size: 14px; line-height: 40px; margin: 2.5px 5px 2.5px 0; }
    .socialbutton { font-size: 18px; width: 20px; margin: 0 5px; float: right !important; }
    #socialmedia_module li .cms_eingabe {
        font-size: 14px; padding: 5px;
        width: calc(100% - 150px); margin: 2px 0 0 0;
    }
    #socialmedia_module li > .cms_eingabe.special {
        display: block; width: 50px; float: left; margin: 0 0 0 5px;
    }
    .meineliste li { width: calc(50% - 20px); }
    .usertab {
        width: calc(50% - 5px) !important; margin-right: 5px;
        padding: 15px; font-size: 15px;
        border-top-left-radius: 10px; border-top-right-radius: 10px;
    }
    #webseitenLeft li { width: calc(50% - 10px); }
    .vertraege_container, .benutzer_container, .cms_container,
    .file_container, .mo_container, #kategorieLeft li, #gruppenLeft li {
        width: calc(50% - 20px);
    }
    .gruppe-card { width: calc(50% - 20px) !important; }
    .basismove li { width: calc(50% - 10px); padding: 10px; font-size: 16px; }
    .draganddrop ul li { height: 50px !important; }
    .myfiles.vier li { padding: 0; width: calc(50% - 20px) !important; margin: 10px; }
    .myfiles li { width: calc(50% - 10px); }
    #gewinnContainerLeft li { width: calc(50% - 20px); margin: 10px; }
    #newsletteroverviewLeft li, #newsletterLeft li, #immosubLeft li,
    #wikisubLeft li, #acontainerLeft li, #angebotContainerLeft li {
        width: calc(50% - 20px); margin: 10px;
    }
    /* Grid-Fix: kleinere Spalten */
    #mieter.mieter-liste {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .statbox.four, .statbox.half { float: none !important; width: calc(100%); }
    h3.boxheader.four, h3.boxheader, h3.boxheader.half { display: none; }
    .datentabelle > .bezeichner, .daten_tabelle > .bezeichner { font-size: 12px; }
    .datentabelle > .bezeichner i, .datentabelle .bezeichner a i { font-size: 15px; }
    .daten_tabelle > .bezeichner { line-height: 20px; }
    .legende { font-size: 12px; }
    .legende i { margin: 0 5px 0 2px; }
    .gewaehlt, .nichtgewaehlt { padding: 4px; font-size: 15px; border-radius: 2px; }
    .config-box.kalender > div { width: calc(49%) !important; }
    .underlabel > label { width: 50%; }
}

@media (max-width: 767px) {
    .usertab {
        width: 100% !important; margin-right: 0;
        padding: 15px; font-size: 15px;
        border-top-left-radius: 0; border-top-right-radius: 0;
    }
    .mygroup .usertab:first-of-type {
        border-top-left-radius: 10px; border-top-right-radius: 10px;
    }
    .myfiles.vier li { padding: 5px; width: calc(100%) !important; margin: 5px 0; }
    .myfiles li { width: 100% !important; margin: 5px 0 !important; }
    .myfiles ul { display: block; flex-wrap: nowrap; }
    .draganddrop ul { padding: 4px; }
    .vertraege_container, .benutzer_container, .cms_container,
    .file_container, .mo_container, #kategorieLeft li, #gruppenLeft li {
        width: calc(100% - 20px);
    }
    .gruppe-card { width: calc(100% - 20px) !important; }
    .meineliste li { width: calc(100%); margin: 10px 0; }
    #gewinnContainerLeft li { width: calc(100%); margin: 10px 0; }
    #newsletteroverviewLeft li, #newsletterLeft li, #immosubLeft li,
    #wikisubLeft li, #acontainerLeft li, #angebotContainerLeft li {
        width: calc(100%); margin: 10px 0;
    }
    /* Grid-Fix: 2-spaltig auf mobil */
    #mieter.mieter-liste {
        grid-template-columns: repeat(2, 1fr);
    }
    .config-box.auswahl .cms_eingabe {
        width: 100% !important; margin: 5px 0;
        font-size: 12px; padding: 5px;
    }
    .basismove li { width: 100%; margin: 3px 0; padding: 10px; font-size: 16px; }
    .config-box.kalender > div { width: calc(100%) !important; margin: 0 0 1% 0 !important; }
    .service_container { margin: 10px; }
    #moduliconcontainer {
        position: relative; top: 0 !important; left: 0 !important;
        transform: translate(0, 0); margin-top: 100px;
    }
}

@media (max-width: 625px) {
    .basismove li { width: calc(100%); margin: 3px 0; padding: 5px; font-size: 12px; }
    .draganddrop ul li { height: 30px !important; }
    #webseitenLeft li { width: calc(100%); margin: 5px 0; }
    .datentabelle > .bezeichner, .daten_tabelle > .bezeichner { font-size: 10px; }
    .datentabelle > .bezeichner i, .datentabelle .bezeichner a i { font-size: 12px; }
    .daten_tabelle > .bezeichner { line-height: 14px; }
    .legende { font-size: 10px; }
    .legende i { margin: 0 2px; }
    .gewaehlt, .nichtgewaehlt { padding: 2px; font-size: 12px; border-radius: 2px; }
    h2 { font-size: 15px; line-height: 21px; margin-bottom: 10px; }
    .cms_eingabe_icon { width: 30px; padding: 10px; }
    .cms_eingabe_icon i { font-size: 15px; }
    .cms_eingabe {
        font-size: 15px; padding: 10px;
        width: calc(100% - 40px); margin: 2px 5px 0 0;
    }
    .cms_eingabe_style_container > label { padding: 10px; font-size: 15px; }
    myhead { padding: 20px 10px; font-size: 18px !important; line-height: 30px !important; }
    myhead i { font-size: 25px !important; }
    containersave {
        border-bottom-left-radius: 20px;
        padding: 10px 20px;
        display: block; height: 50px;
        box-shadow: 0px 0px 26px -1px rgba(0, 0, 0, 0.6);
    }
    containersave button, suchfenster button, containersave icon {
        margin: 0 2.5px; height: 30px; width: 30px;
    }
    containersave button i, suchfenster button i, containersave icon i { font-size: 15px; }
}

@media (max-width: 512px) {
    .underlabel > label { width: 100%; }
}

@media (max-width: 475px) {
    .service_icon:hover::after {
        border-top-left-radius: 120px;
        border-top-right-radius: 120px;
    }
    myeditorwindow { margin: 50px 0 !important; width: calc(100%) !important; }
}

/* ── TinyMCE Overrides ────────────────────────────────────────────────────── */
.tox .tox-statusbar__branding { display: none !important; }

/* ── Dashboard / Utilities ───────────────────────────────────────────────── */
.no-data { color: rgba(255,255,255,0.5) !important; }

/* ── SAP Import Report ────────────────────────────────────────────────────── */
.sap-container {
    width: 100%; padding: 0;
}
.sap-info-box {
    background: rgba(20,35,58,0.88);
    border: 1px solid rgba(56,189,248,0.22);
    border-left: 3px solid #059bf6;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}
.sap-info-box strong { color: rgba(255,255,255,0.55); font-weight: 600; }

/* Stat-Boxen Reihe */
.sap-stat-box,
.sap-stat-neu,
.sap-stat-update,
.sap-stat-fehler {
    display: inline-flex; flex-direction: column; align-items: center;
    padding: 16px 28px; margin: 0 8px 12px 0;
    border-radius: 8px; min-width: 90px;
    border: 1px solid rgba(56,189,248,0.18);
    background: rgba(20,35,58,0.88);
}
.sap-stat-neu    { border-color: rgba(4,245,219,0.35);  background: rgba(4,245,219,0.07);  }
.sap-stat-update { border-color: rgba(251,191,36,0.35); background: rgba(251,191,36,0.07); }
.sap-stat-fehler { border-color: rgba(255,80,80,0.35);  background: rgba(255,80,80,0.07);  }

.sap-stat-value {
    font-size: 28px; font-weight: 700; line-height: 1.1;
    color: rgba(255,255,255,0.92);
}
.sap-stat-neu    .sap-stat-value { color: #04f5db; }
.sap-stat-update .sap-stat-value { color: #fbbf24; }
.sap-stat-fehler .sap-stat-value { color: rgba(255,80,80,0.9); }

.sap-stat-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45); margin-top: 4px;
}

/* Tabellen */
.sap-table {
    width: 100%; border-collapse: collapse; border-spacing: 0;
    margin: 12px 0 20px; font-size: 13px;
    border: none;
}
.sap-table tr { border: none; }
.sap-th {
    background: rgba(8,16,30,0.7);
    padding: 10px 14px; text-align: left;
    border: none;
    border-bottom: 1px solid rgba(56,189,248,0.2);
    color: rgba(56,189,248,0.9); font-weight: 600;
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
.sap-td {
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid rgba(56,189,248,0.08);
    color: rgba(255,255,255,0.75);
}
.sap-table tr:nth-child(even) .sap-td {
    background: rgba(56,189,248,0.03);
}

/* Status-Texte */
.sap-status-ok  { color: #04f5db; font-weight: 600; }
.sap-status-err { color: rgba(255,80,80,0.9); font-weight: 600; }

/* Erfolgs-Box (keine Fehler) */
.sap-success-box {
    background: rgba(4,245,219,0.07);
    border: 1px solid rgba(4,245,219,0.3);
    border-radius: 8px; padding: 14px 18px;
    color: #04f5db; font-weight: 600;
    margin: 12px 0;
}

/* hinweis_box generell verstecken — Feedback läuft ausschließlich über Chat */
#hinweis_box { display: none !important; }

/* ============================================================
   META SHARE MODAL
   ============================================================ */
#metaShareModal {
    position: fixed; inset: 0; z-index: 100010;
    display: flex; align-items: center; justify-content: center;
}
.meta-share-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
}
.meta-share-dialog {
    position: relative; z-index: 1;
    background: var(--panel, rgba(8,16,30,0.97));
    border: 1px solid rgba(4,245,219,0.18);
    border-radius: 14px; padding: 24px 22px;
    width: 100%; max-width: 480px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; gap: 16px;
}
.meta-share-header {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 14px; font-weight: 600; color: #059bf6;
}
.meta-share-header i { margin-right: 8px; }
.meta-share-close {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.45); font-size: 16px; padding: 2px 4px;
    transition: color .2s;
}
.meta-share-close:hover { color: #ff5050; }
.meta-share-title {
    font-size: 13px; color: rgba(255,255,255,0.6);
    border-left: 2px solid rgba(5,155,246,0.4);
    padding-left: 10px; line-height: 1.4;
}
.meta-share-platforms {
    display: flex; gap: 10px;
}
.meta-platform-toggle {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(4,245,219,0.15);
    border-radius: 8px; cursor: pointer; font-size: 13px;
    color: rgba(255,255,255,0.75); transition: border-color .2s, background .2s;
    flex: 1; justify-content: center;
}
.meta-platform-toggle:has(input:checked) {
    border-color: rgba(5,155,246,0.5);
    background: rgba(5,155,246,0.06);
    color: #fff;
}
.meta-platform-toggle input { accent-color: #059bf6; }
.meta-platform-toggle i { font-size: 15px; }
.meta-share-caption-wrap { display: flex; flex-direction: column; gap: 6px; }
.meta-share-caption-label {
    font-size: 12px; color: rgba(255,255,255,0.5);
    display: flex; align-items: center; gap: 6px;
}
.meta-caption-refresh {
    background: none; border: none; cursor: pointer;
    color: rgba(5,155,246,0.6); font-size: 12px; padding: 0 2px;
    transition: color .2s;
}
.meta-caption-refresh:hover { color: #059bf6; }
.meta-share-textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(4,245,219,0.12);
    border-radius: 8px; padding: 10px 12px;
    color: #e2e8f0; font-size: 13px; line-height: 1.55;
    resize: vertical; width: 100%; min-height: 120px;
    font-family: inherit;
    transition: border-color .2s;
}
.meta-share-textarea:focus {
    outline: none; border-color: rgba(5,155,246,0.35);
}
.meta-caption-loader {
    display: none; align-items: center; gap: 8px;
    font-size: 12px; color: rgba(5,155,246,0.7);
    padding: 8px 0;
}
.meta-share-result {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 13px;
}
.meta-result-ok    { color: #059bf6; }
.meta-result-error { color: #ff5050; }
.meta-share-actions { display: flex; justify-content: flex-end; }
.meta-share-btn-post {
    background: linear-gradient(90deg,#04f5db 0%,#059bf6 50%,#a855f7 100%);
    border: none; border-radius: 8px; padding: 10px 22px;
    color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: opacity .2s;
}
.meta-share-btn-post:disabled { opacity: 0.5; cursor: not-allowed; }
.meta-share-btn-post:not(:disabled):hover { opacity: 0.88; }

.status-error { color: red; }
.status-warning { color: orange; }
.status-success { color: green; }
.badge-blue { color: blue; font-weight: bold; }
.alert-danger { background: #f8d7da; color: #721c24; padding: 10px; }
.alert-warning { background: #fff3cd; color: #856404; padding: 10px; }
.system_message { padding: 10px; margin-bottom: 10px; }
.system_message.error { background: #f8d7da; color: #721c24; }
.system_message.success { background: #d4edda; color: #155724; }
.checkbox-label { display: flex; align-items: center; gap: 8px;  }
/* Calculation Styles */
.calc-label {
    width: 120px;
    float: left;
    padding: 5px;
    font-size: 12px;
    color: #666;
}

.calc-field {
    width: 120px;
    float: right;
    border: 0;
    padding: 2px;
    text-align: right;
    background: transparent;
}

.calc-field-small {
    width: 60px;
    float: right;
    border: 0;
    padding: 2px;
    text-align: right;
    background: transparent;
}

.calc-operator {
    float: right;
    padding: 5px;
    color: #999;
}
/* Document Upload */
.doc-upload-row {
    position: relative;
}

.doc-upload-row.uploading {
    opacity: 0.5;
    pointer-events: none;
}

.doc-preview {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.doc-link,
.doc-delete,
.doc-no-file,
.doc-mail-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.doc-link {
    color: #059bf6;
    background: rgba(5, 155, 246, 0.08);
    border: 1px solid rgba(5, 155, 246, 0.2);
}
.doc-link:hover {
    background: rgba(5, 155, 246, 0.18);
    border-color: rgba(5, 155, 246, 0.45);
    color: #059bf6;
}
.doc-delete {
    color: rgba(220, 60, 60, 0.75);
    background: rgba(220, 60, 60, 0.07);
    border: 1px solid rgba(220, 60, 60, 0.2);
}
.doc-delete:hover {
    background: rgba(220, 60, 60, 0.18);
    border-color: rgba(220, 60, 60, 0.5);
    color: #ff4444;
}
.doc-no-file {
    color: rgba(255, 255, 255, 0.15);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.07);
    cursor: default;
}
.doc-mail-status {
    background: transparent;
    border: 1px solid transparent;
    cursor: default;
}
.doc-mail-status .fa-envelope { color: #059bf6; }
.doc-mail-status .fa-xmark    { color: rgba(255, 255, 255, 0.18); }

.doc-action-bar {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    align-items: center;
}
.doc-selectall,
.doc-sendbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: custom_font;
    white-space: nowrap;
}
.doc-selectall {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.doc-selectall:hover {
    background: rgba(5, 155, 246, 0.1);
    border-color: rgba(5, 155, 246, 0.3);
    color: #059bf6;
}
.doc-sendbtn {
    color: #059bf6;
    background: rgba(5, 155, 246, 0.08);
    border: 1px solid rgba(5, 155, 246, 0.22);
    margin-left: auto;
}
.doc-sendbtn:hover {
    background: rgba(5, 155, 246, 0.18);
    border-color: rgba(5, 155, 246, 0.5);
    box-shadow: 0 0 10px rgba(5, 155, 246, 0.15);
}

.sent-date {
    color: green;
    font-size: 11px;
}

/* Send Button */
.sendbutton {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

.sendbutton:hover {
    background: #555;
}

.sendbutton.sending {
    opacity: 0.5;
}

.calc-result {
    border-top: 2px solid rgba(245, 197, 6, 0.5);
    border-radius: 0;
    font-weight: bold;
}
.cms_eingabe[readonly] {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: default;
}

.calc-empty {
    color: #999;
    font-style: italic;
    padding: 10px;
}
/* #################################################################################IKTS*/

#serviceLeftadding ul {
    list-style: none !important;
    cursor: move;
    height: auto;
    overflow: hidden;
}
#doc_gruppen_module li {
    height: 100px !important;
}
#doc_gruppenselect_module li {
    width: calc(100% - 10px);
}
.iktssmall .cms_eingabe {
    padding: 8px;
    font-size: 15px;
    font-family: Arial, sans-serif;
}
.iktssmall .cms_eingabe_icon {
    width: 46px;
    padding: 6px 8px;
}
.iktssmall .cms_eingabe_icon i {
    font-size: 13px !important;
    width: 26px; min-width: 26px; height: 26px;
}
.iktssmall .cms_eingabe_style_container > label {
    padding: 9px 8px;
    font-size: 14px;
    line-height: 1.2;
}
.iktssmall h2 {
    font-size: 18px;
    height: auto;
    line-height: 20px;
    margin-bottom: 0px;
}
.IKTS {
    background: transparent !important;
    border-left: 3px solid rgba(245, 197, 6, 0.55) !important;
    color: rgba(255, 255, 255, 0.88) !important;
}
.IKTS::placeholder {
    color: rgba(245, 197, 6, 0.35) !important;
}

.report-block {
    width: 100%;
    max-width: 680px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.report_question {
    position: relative;
    width: 100%;
    padding: 10px 0 6px;
    margin-top: 14px;
    font-family: custom_font;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(5, 155, 246, 0.15);
}
.report_question:first-child { margin-top: 0; }
.report_answer {
    position: relative;
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    margin-bottom: 4px;
}
.cms_eingabe_button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(5, 155, 246, 0.1);
    font-family: custom_font;
    font-size: 15px;
    color: #059bf6;
    border: 1px solid rgba(5, 155, 246, 0.25);
    width: 100%;
    cursor: pointer;
    border-radius: 6px;
    padding: 12px 18px;
    float: left;
    transition: all 0.25s ease;
}
.cms_eingabe_button:hover {
    background: rgba(5, 155, 246, 0.2);
    border-color: rgba(5, 155, 246, 0.5);
    box-shadow: 0 0 12px rgba(5, 155, 246, 0.15);
    color: #fff;
}
.quickdetails {
    position: relative;
    height: auto;
    overflow: hidden;
}
.sendbutton {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    border: 1px solid rgba(245,197,6,0.4);
    font-size: 24px;
    padding: 20px;
    background: rgba(245,197,6,0.12) !important;
    color: rgba(245,197,6,0.9) !important;
    width: 80px;
    height: 80px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 10px rgba(245,197,6,0.15);
}
.sendbutton.red {
    background: rgba(255,80,80,0.12) !important;
    border-color: rgba(255,80,80,0.4) !important;
    color: rgba(255,80,80,0.9) !important;
    box-shadow: 0 0 10px rgba(255,80,80,0.15);
}
.sendbutton.small {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 0;
    font-size: 16px;
    right: auto;
    padding: 0;
    width: 34px;
    height: 34px;
}
.sendbutton:hover {
    background: rgba(245,197,6,0.25) !important;
    border-color: rgba(245,197,6,0.7) !important;
    box-shadow: 0 0 14px rgba(245,197,6,0.35) !important;
    color: #f5c506 !important;
}
.sendbutton.red:hover {
    background: rgba(255,80,80,0.25) !important;
    border-color: rgba(255,80,80,0.7) !important;
    box-shadow: 0 0 14px rgba(255,80,80,0.35) !important;
    color: rgba(255,80,80,1) !important;
}
#addtax .daten_tabelle:hover {
    background: rgba(56, 189, 248, 0.05) !important;
}
.zusatzinfo {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #efefef;
    color: #000 !important;
    padding: 5px;
}
/* Zeige die zusätzlichen Informationen an, wenn das Element gehovert wird */
.guide_info:hover .zusatzinfo {
    display: block;
}
.tourenuebersicht {
    overflow: hidden !important;
    position: relative;
    padding: 20px;
}
.tourtabelle {
    height: 30px !important;
    overflow: hidden;
}
.row {
    width: 80px;
    text-align: center;
    padding: 2px;
    height: 30px;
    font-size: 9px;
    line-height: 30px;
    position: relative;
    background: #FFF;
    border-bottom: 1px solid #ccc;
    float: left;
}
.row.small {
    width: 30px;
    border-right: 1px solid #CCC;
}
.row i {
    color: #FFF;
    font-size: 20px;
}
.previewtext {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    font-size: 12px;
    line-height: 16px;
}
/* button.downloader — via ai.css global definiert */
#shorteditor {
    display: none;
    position: fixed !important;
    top: 50% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    background: white;
    border: 1px solid #ccc;
    z-index: 100;
}
.smallclose, .smalledit, .smallreload, .smallnext {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #000;
    cursor: pointer;
    color: #FFF;
    border-radius: 50%;
}
.smallnext {
    right: 120px;
}
.smalledit {
    right: 70px;
}
.smallreload {
    right: 170px;
}
.mx {
    margin-top: 50px;
    border: 1px solid #ccc;
    position: relative;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    max-width: 97% !important;
    width: 97% !important;
}
.carousel-guide-link {
    display: block;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 5px;
    border: 1px solid rgba(5, 155, 246, 0.15);
    background: rgba(5, 155, 246, 0.05);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.carousel-guide-link:hover {
    background: rgba(5, 155, 246, 0.14);
    border-color: rgba(5, 155, 246, 0.35);
    color: #fff;
}
.clr-picker{display:none;flex-wrap:wrap;position:absolute;width:200px;z-index:1000;border-radius:10px;background-color:#fff;justify-content:flex-end;direction:ltr;box-shadow:0 0 5px rgba(0,0,0,.05),0 5px 20px rgba(0,0,0,.1);-moz-user-select:none;-webkit-user-select:none;user-select:none}.clr-picker.clr-open,.clr-picker[data-inline=true]{display:flex}.clr-picker[data-inline=true]{position:relative}.clr-gradient{position:relative;width:100%;height:100px;margin-bottom:15px;border-radius:3px 3px 0 0;background-image:linear-gradient(rgba(0,0,0,0),#000),linear-gradient(90deg,#fff,currentColor);cursor:pointer}.clr-marker{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border:1px solid #fff;border-radius:50%;background-color:currentColor;cursor:pointer}.clr-picker input[type=range]::-webkit-slider-runnable-track{width:100%;height:16px}.clr-picker input[type=range]::-webkit-slider-thumb{width:16px;height:16px;-webkit-appearance:none}.clr-picker input[type=range]::-moz-range-track{width:100%;height:16px;border:0}.clr-picker input[type=range]::-moz-range-thumb{width:16px;height:16px;border:0}.clr-hue{background-image:linear-gradient(to right,red 0,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,red 100%)}.clr-alpha,.clr-hue{position:relative;width:calc(100% - 40px);height:8px;margin:5px 20px;border-radius:4px}.clr-alpha span{display:block;height:100%;width:100%;border-radius:inherit;background-image:linear-gradient(90deg,rgba(0,0,0,0),currentColor)}.clr-alpha input[type=range],.clr-hue input[type=range]{position:absolute;width:calc(100% + 32px);height:16px;left:-16px;top:-4px;margin:0;background-color:transparent;opacity:0;cursor:pointer;appearance:none;-webkit-appearance:none}.clr-alpha div,.clr-hue div{position:absolute;width:16px;height:16px;left:0;top:50%;margin-left:-8px;transform:translateY(-50%);border:2px solid #fff;border-radius:50%;background-color:currentColor;box-shadow:0 0 1px #888;pointer-events:none}.clr-alpha div:before{content:'';position:absolute;height:100%;width:100%;left:0;top:0;border-radius:50%;background-color:currentColor}.clr-format{display:none;order:1;width:calc(100% - 40px);margin:0 20px 20px}.clr-segmented{display:flex;position:relative;width:100%;margin:0;padding:0;border:1px solid #ddd;border-radius:15px;box-sizing:border-box;color:#999;font-size:12px}.clr-segmented input,.clr-segmented legend{position:absolute;width:100%;height:100%;margin:0;padding:0;border:0;left:0;top:0;opacity:0;pointer-events:none}.clr-segmented label{flex-grow:1;margin:0;padding:4px 0;font-size:inherit;font-weight:400;line-height:initial;text-align:center;cursor:pointer}.clr-segmented label:first-of-type{border-radius:10px 0 0 10px}.clr-segmented label:last-of-type{border-radius:0 10px 10px 0}.clr-segmented input:checked+label{color:#fff;background-color:#666}.clr-swatches{order:2;width:calc(100% - 32px);margin:0 16px}.clr-swatches div{display:flex;flex-wrap:wrap;padding-bottom:12px;justify-content:center}.clr-swatches button{position:relative;width:20px;height:20px;margin:0 4px 6px 4px;padding:0;border:0;border-radius:50%;color:inherit;text-indent:-1000px;white-space:nowrap;overflow:hidden;cursor:pointer}.clr-swatches button:after{content:'';display:block;position:absolute;width:100%;height:100%;left:0;top:0;border-radius:inherit;background-color:currentColor;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}input.clr-color{order:1;width:calc(100% - 80px);height:32px;margin:15px 20px 20px auto;padding:0 10px;border:1px solid #ddd;border-radius:16px;color:#444;background-color:#fff;font-family:sans-serif;font-size:14px;text-align:center;box-shadow:none}input.clr-color:focus{outline:0;border:1px solid #1e90ff}.clr-clear,.clr-close{display:none;order:2;height:24px;margin:0 20px 20px;padding:0 20px;border:0;border-radius:12px;color:#fff;background-color:#666;font-family:inherit;font-size:12px;font-weight:400;cursor:pointer}.clr-close{display:block;margin:0 20px 20px auto}.clr-preview{position:relative;width:32px;height:32px;margin:15px 0 20px 20px;border-radius:50%;overflow:hidden}.clr-preview:after,.clr-preview:before{content:'';position:absolute;height:100%;width:100%;left:0;top:0;border:1px solid #fff;border-radius:50%}.clr-preview:after{border:0;background-color:currentColor;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.clr-preview button{position:absolute;width:100%;height:100%;z-index:1;margin:0;padding:0;border:0;border-radius:50%;outline-offset:-2px;background-color:transparent;text-indent:-9999px;cursor:pointer;overflow:hidden}.clr-alpha div,.clr-color,.clr-hue div,.clr-marker{box-sizing:border-box}.clr-field{display:inline-block;position:relative;color:transparent}.clr-field input{margin:0;direction:ltr}.clr-field.clr-rtl input{text-align:right}.clr-field button{position:absolute;width:30px;height:100%;right:0;top:50%;transform:translateY(-50%);margin:0;padding:0;border:0;color:inherit;text-indent:-1000px;white-space:nowrap;overflow:hidden;pointer-events:none}.clr-field.clr-rtl button{right:auto;left:0}.clr-field button:after{content:'';display:block;position:absolute;width:100%;height:100%;left:0;top:0;border-radius:inherit;background-color:currentColor;box-shadow:inset 0 0 1px rgba(0,0,0,.5)}.clr-alpha,.clr-alpha div,.clr-field button,.clr-preview:before,.clr-swatches button{background-image:repeating-linear-gradient(45deg,#aaa 25%,transparent 25%,transparent 75%,#aaa 75%,#aaa),repeating-linear-gradient(45deg,#aaa 25%,#fff 25%,#fff 75%,#aaa 75%,#aaa);background-position:0 0,4px 4px;background-size:8px 8px}.clr-marker:focus{outline:0}.clr-keyboard-nav .clr-alpha input:focus+div,.clr-keyboard-nav .clr-hue input:focus+div,.clr-keyboard-nav .clr-marker:focus,.clr-keyboard-nav .clr-segmented input:focus+label{outline:0;box-shadow:0 0 0 2px #1e90ff,0 0 2px 2px #fff}.clr-picker[data-alpha=false] .clr-alpha{display:none}.clr-picker[data-minimal=true]{padding-top:16px}.clr-picker[data-minimal=true] .clr-alpha,.clr-picker[data-minimal=true] .clr-color,.clr-picker[data-minimal=true] .clr-gradient,.clr-picker[data-minimal=true] .clr-hue,.clr-picker[data-minimal=true] .clr-preview{display:none}.clr-dark{background-color:#444}.clr-dark .clr-segmented{border-color:#777}.clr-dark .clr-swatches button:after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}.clr-dark input.clr-color{color:#fff;border-color:#777;background-color:#555}.clr-dark input.clr-color:focus{border-color:#1e90ff}.clr-dark .clr-preview:after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}.clr-dark .clr-alpha,.clr-dark .clr-alpha div,.clr-dark .clr-preview:before,.clr-dark .clr-swatches button{background-image:repeating-linear-gradient(45deg,#666 25%,transparent 25%,transparent 75%,#888 75%,#888),repeating-linear-gradient(45deg,#888 25%,#444 25%,#444 75%,#888 75%,#888)}.clr-picker.clr-polaroid{border-radius:6px;box-shadow:0 0 5px rgba(0,0,0,.1),0 5px 30px rgba(0,0,0,.2)}.clr-picker.clr-polaroid:before{content:'';display:block;position:absolute;width:16px;height:10px;left:20px;top:-10px;border:solid transparent;border-width:0 8px 10px 8px;border-bottom-color:currentColor;box-sizing:border-box;color:#fff;filter:drop-shadow(0 -4px 3px rgba(0,0,0,.1));pointer-events:none}.clr-picker.clr-polaroid.clr-dark:before{color:#444}.clr-picker.clr-polaroid.clr-left:before{left:auto;right:20px}.clr-picker.clr-polaroid.clr-top:before{top:auto;bottom:-10px;transform:rotateZ(180deg)}.clr-polaroid .clr-gradient{width:calc(100% - 20px);height:120px;margin:10px;border-radius:3px}.clr-polaroid .clr-alpha,.clr-polaroid .clr-hue{width:calc(100% - 30px);height:10px;margin:6px 15px;border-radius:5px}.clr-polaroid .clr-alpha div,.clr-polaroid .clr-hue div{box-shadow:0 0 5px rgba(0,0,0,.2)}.clr-polaroid .clr-format{width:calc(100% - 20px);margin:0 10px 15px}.clr-polaroid .clr-swatches{width:calc(100% - 12px);margin:0 6px}.clr-polaroid .clr-swatches div{padding-bottom:10px}.clr-polaroid .clr-swatches button{width:22px;height:22px}.clr-polaroid input.clr-color{width:calc(100% - 60px);margin:10px 10px 15px auto}.clr-polaroid .clr-clear{margin:0 10px 15px 10px}.clr-polaroid .clr-close{margin:0 10px 15px auto}.clr-polaroid .clr-preview{margin:10px 0 15px 10px}.clr-picker.clr-large{width:275px}.clr-large .clr-gradient{height:150px}.clr-large .clr-swatches button{width:22px;height:22px}.clr-picker.clr-pill{width:380px;padding-left:180px;box-sizing:border-box}.clr-pill .clr-gradient{position:absolute;width:180px;height:100%;left:0;top:0;margin-bottom:0;border-radius:3px 0 0 3px}.clr-pill .clr-hue{margin-top:20px}
