/* prettier-ignore */
/*# sourceMappingURL=user.css.map */






.pulse1 {
  -webkit-animation: pulse1 1.5s linear infinite;
  -moz-animation: pulse1 1.5s linear infinite;
  -ms-animation: pulse1 1.5s linear infinite;
  animation: pulse1 1.5s linear infinite;
}

@keyframes "pulse1" {
 0% {
    color: rgba(255, 255, 255, 1);
 }
 90% {
    color: rgba(255,255,255,0.2);
 }
 100% {
    color: rgba(255,255,255,1.0);
 }

}

@-moz-keyframes pulse1 {
 0% {
   color: rgba(255,255,255, 1);
 }
 90% {
   color: rgba(255,255,255,0.2);
 }
 100% {
   color: rgba(255,255,255,1.0);
 }

}

@-webkit-keyframes "pulse1" {
 0% {
   color: rgba(255,255,255, 1);
 }
 90% {
   color: rgba(255,255,255,0.2);
 }
 100% {
   color: rgba(255,255,255,1.0);
 }

}

@-ms-keyframes "pulse1" {
 0% {
   color: rgba(255,255,255, 1);
 }
 90% {
   color: rgba(255,255,255,0.2);
 }
 100% {
   color: rgba(255,255,255,1.0);
 }

}






@keyframes shake {
  2% {
    transform: translate(-4px, 2px) rotate(-2.5deg); }
  4% {
    transform: translate(-7px, 9px) rotate(-1.5deg); }
  6% {
    transform: translate(0px, 4px) rotate(-2.5deg); }
  8% {
    transform: translate(9px, -4px) rotate(-1.5deg); }
  10% {
    transform: translate(6px, 4px) rotate(1.5deg); }
  12% {
    transform: translate(-6px, -9px) rotate(-0.5deg); }
  14% {
    transform: translate(9px, -9px) rotate(-0.5deg); }
  16% {
    transform: translate(-2px, 2px) rotate(-2.5deg); }
  18% {
    transform: translate(8px, -2px) rotate(-1.5deg); }
  20% {
    transform: translate(-2px, -8px) rotate(1.5deg); }
  22% {
    transform: translate(3px, 8px) rotate(-2.5deg); }
  24% {
    transform: translate(2px, 10px) rotate(0.5deg); }
  26% {
    transform: translate(-3px, 8px) rotate(-0.5deg); }
  28% {
    transform: translate(10px, 0px) rotate(-1.5deg); }
  30% {
    transform: translate(7px, 5px) rotate(2.5deg); }
  32% {
    transform: translate(7px, 6px) rotate(1.5deg); }
  34% {
    transform: translate(0px, 9px) rotate(0.5deg); }
  36% {
    transform: translate(10px, -8px) rotate(0.5deg); }
  38% {
    transform: translate(-1px, 9px) rotate(3.5deg); }
  40% {
    transform: translate(-6px, 2px) rotate(2.5deg); }
  42% {
    transform: translate(-1px, -8px) rotate(-1.5deg); }
  44% {
    transform: translate(-9px, 4px) rotate(1.5deg); }
  46% {
    transform: translate(-8px, -6px) rotate(1.5deg); }
  48% {
    transform: translate(-2px, 8px) rotate(-2.5deg); }
  50% {
    transform: translate(3px, 9px) rotate(-2.5deg); }
  52% {
    transform: translate(7px, -9px) rotate(3.5deg); }
  54% {
    transform: translate(-6px, 4px) rotate(-2.5deg); }
  56% {
    transform: translate(2px, -4px) rotate(-2.5deg); }
  58% {
    transform: translate(4px, -9px) rotate(2.5deg); }
  60% {
    transform: translate(-1px, 4px) rotate(-1.5deg); }
  62% {
    transform: translate(-8px, -5px) rotate(-1.5deg); }
  64% {
    transform: translate(-5px, -6px) rotate(-2.5deg); }
  66% {
    transform: translate(9px, -7px) rotate(2.5deg); }
  68% {
    transform: translate(-6px, -3px) rotate(-0.5deg); }
  70% {
    transform: translate(6px, -8px) rotate(1.5deg); }
  72% {
    transform: translate(9px, 8px) rotate(0.5deg); }
  74% {
    transform: translate(7px, 1px) rotate(2.5deg); }
  76% {
    transform: translate(-9px, -4px) rotate(1.5deg); }
  78% {
    transform: translate(-8px, 0px) rotate(-0.5deg); }
  80% {
    transform: translate(6px, -7px) rotate(1.5deg); }
  82% {
    transform: translate(8px, -2px) rotate(2.5deg); }
  84% {
    transform: translate(4px, -5px) rotate(1.5deg); }
  86% {
    transform: translate(6px, 5px) rotate(-1.5deg); }
  88% {
    transform: translate(-2px, -2px) rotate(-1.5deg); }
  90% {
    transform: translate(-3px, 4px) rotate(-0.5deg); }
  92% {
    transform: translate(-6px, -4px) rotate(-0.5deg); }
  94% {
    transform: translate(6px, -7px) rotate(2.5deg); }
  96% {
    transform: translate(-5px, -3px) rotate(3.5deg); }
  98% {
    transform: translate(5px, 9px) rotate(-2.5deg); }
  0%, 100% {
    transform: translate(0, 0) rotate(0); } }

.shake {
  animation-name: shake;
  animation-duration: 100ms;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;

  }



  @keyframes popped {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.07);
      }
      100% {
         transform: scale(1);
      }

  }

  @-moz-keyframes popped {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.07);
      }
      100% {
         transform: scale(1);
      }

  }

  @-webkit-keyframes popped {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.07);
      }
      100% {
         transform: scale(1);
      }

  }

  @-ms-keyframes popped {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.07);
      }
      100% {
         transform: scale(1);
      }

  }





  @keyframes poppedcenter {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2);
      }
      100% {
         transform: scale(1);
      }

  }

  @-moz-keyframes poppedcenter {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2);
      }
      100% {
         transform: scale(1);
      }

  }

  @-webkit-keyframes poppedcenter {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2);
      }
      100% {
         transform: scale(1);
      }

  }

  @-ms-keyframes poppedcenter {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2);
      }
      100% {
         transform: scale(1);
      }

  }





  @keyframes popped_medium {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.2);
      }
      100% {
         transform: scale(1);
      }

  }

  @-moz-keyframes popped_medium {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.2);
      }
      100% {
         transform: scale(1);
      }

  }

  @-webkit-keyframes popped_medium {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.2);
      }
      100% {
         transform: scale(1);
      }

  }

  @-ms-keyframes popped_medium {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(1.2);
      }
      100% {
         transform: scale(1);
      }

  }






  @keyframes popping_dashboard {
      0% {
         transform: scale(1) translateY(-50%);
      }
      50% {
         transform: scale(1.3) translateY(-40%);
      }
      100% {
         transform: scale(1) translateY(-50%);
      }

  }

  @-moz-keyframes popping_dashboard {
      0% {
         transform: scale(1) translateY(-50%);
      }
      50% {
         transform: scale(1.3) translateY(-40%);
      }
      100% {
         transform: scale(1) translateY(-50%);
      }

  }

  @-webkit-keyframes popping_dashboard {
      0% {
         transform: scale(1) translateY(-50%);
      }
      50% {
         transform: scale(1.3) translateY(-40%);
      }
      100% {
         transform: scale(1) translateY(-50%);
      }

  }

  @-ms-keyframes popping_dashboard {
      0% {
         transform: scale(1) translateY(-50%);
      }
      50% {
         transform: scale(1.3) translateY(-40%);
      }
      100% {
         transform: scale(1) translateY(-50%);
      }

  }




  @keyframes popped_big {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15);
      }
      100% {
         transform: scale(1);
      }

  }

  @-moz-keyframes popped_big {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15);
      }
      100% {
         transform: scale(1);
      }

  }

  @-webkit-keyframes popped_big {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15);
      }
      100% {
         transform: scale(1);
      }

  }

  @-ms-keyframes popped_big {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15);
      }
      100% {
         transform: scale(1);
      }

  }



  @keyframes popped_big_left {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15) translateX(-10%);
      }
      100% {
         transform: scale(1);
      }

  }

  @-moz-keyframes popped_big_left {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15) translateX(-10%);
      }
      100% {
         transform: scale(1);
      }

  }

  @-webkit-keyframes popped_big_left {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15) translateX(-10%);
      }
      100% {
         transform: scale(1);
      }

  }

  @-ms-keyframes popped_big_left {
      0% {
         transform: scale(1);
      }
      50% {
         transform: scale(2.15) translateX(-10%);
      }
      100% {
         transform: scale(1);
      }

  }



.popped {
    animation-name: popped;
    animation-duration: 200ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.poppedcenter {
    animation-name: popped;
    animation-duration: 200ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.popping_dashboard {
    animation-name: popping_dashboard;
    animation-duration: 400ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.popped_big {
    animation-name: popped_big;
    animation-duration: 400ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.popped_big_left {
    animation-name: popped_big_left;
    animation-duration: 400ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.popped_slow {
    animation-name: popped;
    animation-duration: 700ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 460px;

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 20px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 40%;
  height: 10px;
  bottom: 10px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
  left: 20px;
  -webkit-transform: skew(-3deg) rotate(-3deg);
          transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
  right: 20px;
  -webkit-transform: skew(3deg) rotate(3deg);
          transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;

}

.signature-pad--body
canvas {

  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 8px;
}

signature-pad-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100vh;
  width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 0 auto;
  font-family: Helvetica, Sans-Serif;
}

.cursor-pointer{
  cursor: pointer;
}

.cursor-default{
  cursor: default;
}




.socket{
				width: 200px;
				height: 200px;
				position: absolute;
				left: 50%;
				margin-left: -100px;
				top: 50%;
				margin-top: -100px;
        z-index:15000;
			}

			.hex-brick{
			  background: var(--falcon-700);
			  width: 30px;
			  height: 17px;
			  position: absolute;
			  top: 5px;
        animation-name: fade;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				-webkit-animation-name: fade;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
			}

			.h2{
				transform: rotate(60deg);
				-webkit-transform: rotate(60deg);
			}

			.h3{
				transform: rotate(-60deg);
				-webkit-transform: rotate(-60deg);
			}

			.gel{
				height: 30px;
				width: 30px;
				transition: all .3s;
				-webkit-transition: all .3s;
				position: absolute;
        top: 50%;
        left: 50%;
			}

			.center-gel{
				margin-left: -15px;
				margin-top: -15px;

				animation-name: pulse;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				-webkit-animation-name: pulse;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
			}

			.c1{
				margin-left: -47px;
				margin-top: -15px;
			}

			.c2{
				margin-left: -31px;
				margin-top: -43px;
			}

			.c3{
				margin-left: 1px;
				margin-top: -43px;
			}

			.c4{
				margin-left: 17px;
				margin-top: -15px;
			}
			.c5{
				margin-left: -31px;
				margin-top: 13px;
			}

			.c6{
				margin-left: 1px;
				margin-top: 13px;
			}

			.c7{
				margin-left: -63px;
				margin-top: -43px;
			}

			.c8{
				margin-left: 33px;
				margin-top: -43px;
			}

			.c9{
				margin-left: -15px;
				margin-top: 41px;
			}

			.c10{
				margin-left: -63px;
				margin-top: 13px;
			}

			.c11{
				margin-left: 33px;
				margin-top: 13px;
			}

			.c12{
				margin-left: -15px;
				margin-top: -71px;
			}

			.c13{
				margin-left: -47px;
				margin-top: -71px;
			}

			.c14{
				margin-left: 17px;
				margin-top: -71px;
			}

			.c15{
				margin-left: -47px;
				margin-top: 41px;
			}

			.c16{
				margin-left: 17px;
				margin-top: 41px;
			}

			.c17{
				margin-left: -79px;
				margin-top: -15px;
			}

			.c18{
				margin-left: 49px;
				margin-top: -15px;
			}

			.c19{
				margin-left: -63px;
				margin-top: -99px;
			}

			.c20{
				margin-left: 33px;
				margin-top: -99px;
			}

			.c21{
				margin-left: 1px;
				margin-top: -99px;
			}

			.c22{
				margin-left: -31px;
				margin-top: -99px;
			}

			.c23{
				margin-left: -63px;
				margin-top: 69px;
			}

			.c24{
				margin-left: 33px;
				margin-top: 69px;
			}

			.c25{
				margin-left: 1px;
				margin-top: 69px;
			}

			.c26{
				margin-left: -31px;
				margin-top: 69px;
			}

			.c27{
				margin-left: -79px;
				margin-top: -15px;
			}

			.c28{
				margin-left: -95px;
				margin-top: -43px;
			}

			.c29{
				margin-left: -95px;
				margin-top: 13px;
			}

			.c30{
				margin-left: 49px;
				margin-top: 41px;
			}

			.c31{
				margin-left: -79px;
				margin-top: -71px;
			}

			.c32{
				margin-left: -111px;
				margin-top: -15px;
			}

			.c33{
				margin-left: 65px;
				margin-top: -43px;
			}

			.c34{
				margin-left: 65px;
				margin-top: 13px;
			}

			.c35{
				margin-left: -79px;
				margin-top: 41px;
			}

			.c36{
				margin-left: 49px;
				margin-top: -71px;
			}

			.c37{
				margin-left: 81px;
				margin-top: -15px;
			}

			.r1{
				animation-name: pulse;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				animation-delay: .2s;
				-webkit-animation-name: pulse;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-delay: .2s;
			}

			.r2{
				animation-name: pulse;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				animation-delay: .4s;
				-webkit-animation-name: pulse;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-delay: .4s;
			}

			.r3{
				animation-name: pulse;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				animation-delay: .6s;
				-webkit-animation-name: pulse;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-delay: .6s;
			}

			.r1 > .hex-brick{
				animation-name: fade;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				animation-delay: .2s;
				-webkit-animation-name: fade;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-delay: .2s;
			}

			.r2 > .hex-brick{
				animation-name: fade;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				animation-delay: .4s;
				-webkit-animation-name: fade;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-delay: .4s;
			}

			.r3 > .hex-brick{
				animation-name: fade;
				animation-duration: 2s;
				animation-iteration-count: infinite;
				animation-delay: .6s;
				-webkit-animation-name: fade;
				-webkit-animation-duration: 2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-delay: .6s;
			}


			@keyframes pulse{
				0%{
					-webkit-transform: scale(1);
					transform: scale(1);
				}

				50%{
					-webkit-transform: scale(0.01);
					transform: scale(0.01);
				}

				100%{
					-webkit-transform: scale(1);
					transform: scale(1);
				}
			}

			@keyframes fade{
				0%{
					background: var(--falcon-700);
				}

				50%{
					background: var(--falcon-300);
				}

				100%{
					background: var(--falcon-700);
				}
			}

			@-webkit-keyframes pulse{
				0%{
					-webkit-transform: scale(1);
					transform: scale(1);
				}

				50%{
					-webkit-transform: scale(0.01);
					transform: scale(0.01);
				}

				100%{
					-webkit-transform: scale(1);
					transform: scale(1);
				}
			}

			@-webkit-keyframes fade{
				0%{
					background: var(--falcon-700);
				}

				50%{
					background: var(--falcon-300);
				}

				100%{
					background: var(--falcon-700);
				}
			}


.modal_top{
    z-index: 2000;
}

.row [class*='col-'] {
    transition: all 0.3s ease-in-out;
}


.flipping {
    -webkit-animation: anim 1s infinite linear;
    animation: anim 1s infinite linear;
}

@-webkit-keyframes anim {
    from {-webkit-transform: rotateY(0deg);}
    to {-webkit-transform: rotateY(360deg);}
}

@keyframes anim {
    from {transform: rotateY(0deg);}
    to {transform: rotateY(360deg);}
}


.hover_dark {
    transition: opacity 1s ease;
    opacity: 0.3; /* css standard */
    filter: alpha(opacity=30); /* internet explorer */
}

.hover_dark:hover {
    opacity: .8; /* css standard */
    filter: alpha(opacity=80); /* internet explorer */
}

.hover_dark_transparent {
    transition: opacity 1s ease;
    opacity: 0.0; /* css standard */
    filter: alpha(opacity=30); /* internet explorer */
}

.hover_dark_transparent:hover {
    opacity: .8; /* css standard */
    filter: alpha(opacity=80); /* internet explorer */
}



.pop:hover {
    transition: all 0.1s !important;
    transform: scale(1.07);
}

/* 15.11.2026: the buttons with the pop (scale - pop, popsmall, popmedium, popbig): the button and its icons (Font Awesome as a web font)
   drawn on their own layers, so the scale does not draw the icons lower than the text; the icons centered with the text (on the line they
   sit about 1px lower) - only the buttons (popsmall, pop, popmedium are also hover effects of the web pages) */
.btn.pop, .btn.popsmall, .btn.popmedium, .btn.popbig {
    will-change: transform;
}

.btn.pop > .fas, .btn.pop > .far, .btn.pop > .fal, .btn.pop > .fab, .btn.pop > .fa,
.btn.popsmall > .fas, .btn.popsmall > .far, .btn.popsmall > .fal, .btn.popsmall > .fab, .btn.popsmall > .fa,
.btn.popmedium > .fas, .btn.popmedium > .far, .btn.popmedium > .fal, .btn.popmedium > .fab, .btn.popmedium > .fa,
.btn.popbig > .fas, .btn.popbig > .far, .btn.popbig > .fal, .btn.popbig > .fab, .btn.popbig > .fa {
    position: relative;
    top: -0.08em;
    will-change: transform;
}

.popsmall:hover {
    transition: all 0.1s !important;
    transform: scale(1.03);
}


.popmedium:hover {
    transition: all 0.1s !important;
    transform: scale(1.16);
}

.popbig:hover {
    transition: all 0.2s ease-out !important;
    transform: scale(1.35);
}


.bw-picture {
    filter: grayscale(70%);
    -webkit-filter: grayscale(70%);
}

.bw-picture:hover {
    filter: none;
    -webkit-filter: grayscale(0);
}


.hover_colored {
  color: var(--falcon-500);
}

.hover_colored:hover {
  transition: all 0.4s ease-out !important;
  color: var(--falcon-primary);
}


.hover_colored_darker {
  color: var(--falcon-700);
}

.hover_colored_darker:hover {
  transition: all 0.4s ease-out !important;
  color: var(--falcon-primary);
}

/* the ? hints of the platform (10.11.2026): 60% transparent, in full under the mouse (also when reached with Tab) - the hover_colored ? icons
   (the help of the pages, the windows, the fields) and the ? of the documents in My Documents (profile-doc-hint); the rest of hover_colored
   (copy, delete...) unchanged */
.hover_colored.fa-question-circle,
.profile-doc-hint .fa-question-circle {
  opacity: 0.4;
  transition: opacity 0.4s ease-out, color 0.4s ease-out;
}

.hover_colored.fa-question-circle:hover,
.profile-doc-hint:hover .fa-question-circle,
.profile-doc-hint:focus-visible .fa-question-circle {
  opacity: 1;
}

/* the switches of the cards of the dashboard (PUBLIC | PERSONAL, ALL | MINE, ALL | OPEN ITEMS, GENERAL | DETAILS - 09.11.2026, moved here from
   index.php 10.11.2026) and the Show Explanations button of the permissions (account window, role window): half transparent, shown fully
   under the mouse or with the keyboard */
.dashboard_switch {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.dashboard_switch:hover,
.dashboard_switch:focus-within {
  opacity: 1;
}

/* the windows moved with the mouse or with a finger on their title bar (10.11.2026 - index.js, window_drag): the move cursor and no scrolling of
   the page by the finger on the title bar, not on the phones (as windows_drag_allowed); no text selected while a window is moved */
@media (min-width: 576px) {
  .modal-header {
    cursor: move;
    touch-action: none;
  }
}

body.window-dragging,
body.window-dragging * {
  user-select: none;
  cursor: move !important;
}

/* the personal calendar of the dashboard (10.11.2026): a registration still pending (get_calendar_auto_event) - only framed, in the color of
   its event (FullCalendar 7 gives the event only its color, --fc-event-color) */
.personal_calendar_pending {
  background-color: transparent !important;
  --fc-event-contrast-color: var(--fc-event-color) !important;
  box-shadow: inset 0 0 0 1px var(--fc-event-color);
}


.slow-transitioned {
   transition: all 1s ease-out !important;
}

.expanded {     
      transform: 350ms;     
      width:100%;     
      max-height:1400px;
}  
 
.collapsedd {
 max-height:0;
}

.btn-close-corner {
 top:0.5em;
 right:0.5em;
}


.treeview-text-new {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--falcon-900);
  padding: 0.35rem 0;
  margin-bottom: 0;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 15px;
  padding: 10px;
}

.scroll-item {
  flex: 0 0 auto;
  min-width: 100px;  
}

a.fc-Kf:hover {
  text-decoration: none;
}



/*-----------------------------------------------
|   Calendar Big
-----------------------------------------------*/
.calendar_big {
  width: 8.125rem;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  border-radius: 0.375rem;
}
.calendar_big .calendar-month {
  font-size: 1.728rem;
  padding: 0.45rem;  
  color: #fff;
  border-radius: 0.375rem 0.375rem 0 0;  
  font-weight: 600;
}
.calendar_big .calendar-day {
  font-size: 3.628rem;
  padding: 0.45rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;  
  border-top: 0;
  border-radius: 0 0 0.375rem 0.375rem;
  font-weight: 600;
}


/*-----------------------------------------------
|   Calendar Small
-----------------------------------------------*/
.calendar_small{
  opacity: .7; /* css standard */
  filter: alpha(opacity=70);
  margin-left:0.34rem;
  margin-right:0.36rem;
  width: 1.825rem;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  border-radius: 0.375rem;
}
.calendar_small .calendar-month {
  font-size: 0.528rem;
  padding: 0.15rem;  
  color: #fff;
  border-radius: 0.275rem 0.275rem 0 0;  
  font-weight: 500;
}
.calendar_small .calendar-day {
  font-size: 0.828rem;
  padding: 0.0rem;
  padding-top: 0.17rem;
  padding-bottom: 0.17rem;  
  border-top: 0;
  border-radius: 0 0 0.275rem 0.275rem;
  font-weight: 600;
}


/*-----------------------------------------------
|   Fixes IOS color switch
-----------------------------------------------*/
:root[data-theme="dark"], html.dark {
  color-scheme: dark;
}
:root[data-theme="light"], html.light {
  color-scheme: light;
}


.offcanvas {
  visibility: visible !important;
}

#settings-offcanvas {
  --bs-offcanvas-transition: transform 0.1s ease-out;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}




.hover_highlight_bg:hover {
  transition: all 0.4s ease-out !important;
  background-color: var(--falcon-200);
}

.unread_document{
  font-weight: 600;
}

.files-text {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--falcon-900);
  padding: 0.20rem 0;
  margin-bottom: 0;
}

@media (max-width: 575.98px) { #filter_name { min-width: 0 !important; } }


/* priority circles: drawn from 0 to the priority value, as in the Falcon support desk */
               
.support_priority_bar { stroke-dashoffset: 339.292px; animation: support_priority_stroke 1s ease-in-out forwards; }

@keyframes support_priority_stroke { to { stroke-dashoffset: var(--support-priority-offset); } }


/* the messages of the support tickets (edit_support_ticket.php, view_my_support_ticket.php): the pictures fit inside the message, as the text
   (a picture pasted or sent with its own width or height is made smaller, keeping its proportions) */
.support_message_text img {
  max-width: 100% !important;
  height: auto !important;
}
           



/* cookie agreement notice (php/cookie_notice.php) */
#cookie_notice {
  padding-bottom: env(safe-area-inset-bottom);   /* keep it above the iPhone home bar */
}

.cookie-notice-card {
  background-color: rgba(255, 255, 255, 0.72);   /* translucent, the page behind is blurred */
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(var(--falcon-secondary-rgb), 0.15);
  -webkit-box-shadow: 0 0.5rem 1.5rem rgba(var(--falcon-dark-rgb), 0.12);
  box-shadow: 0 0.5rem 1.5rem rgba(var(--falcon-dark-rgb), 0.12);
}

.dark .cookie-notice-card {
  background-color: rgba(18, 30, 45, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.cookie-btn {
  border: 0;
  border-radius: 50rem;
  padding: 0.3rem 1rem;
  font-weight: 500;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
}

.cookie-btn-accept {
  color: #fff;
  background-color: rgba(var(--falcon-primary-rgb), 0.85);
}

.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  color: #fff;
  background-color: rgba(var(--falcon-primary-rgb), 1);
}

.cookie-btn-necessary {
  color: var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.1);
}

.cookie-btn-necessary:hover, .cookie-btn-necessary:focus {
  color: var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.18);
}

.dark .cookie-btn-necessary {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.dark .cookie-btn-necessary:hover, .dark .cookie-btn-necessary:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.16);
}

/* small cookie button, on pages without footer - opens the cookie notice again */
.cookie-floating {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1030;
  width: 2.25rem;
  height: 2.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--falcon-primary);
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--falcon-secondary-rgb), 0.15);
  -webkit-box-shadow: 0 0.25rem 0.75rem rgba(var(--falcon-dark-rgb), 0.12);
  box-shadow: 0 0.25rem 0.75rem rgba(var(--falcon-dark-rgb), 0.12);
  opacity: 0.6;
  -webkit-transition: opacity 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;
}

.cookie-floating.d-none {
  display: none !important;
}

.cookie-floating:hover {
  opacity: 1;
}

.dark .cookie-floating {
  background-color: rgba(18, 30, 45, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

#bgholder.bg-holder {
  overflow: clip;
}

#bgholder.bg-holder .bg-video {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-width: 0;
  margin-bottom: -100vh;
}

/*-----------------------------------------------
|   Tinymce editor on dark interface
-----------------------------------------------*/
/* the editor is an iframe: on a different color-scheme the browser paints it white, over var(--falcon-tinymce-bg) */
.tox .tox-edit-area__iframe {
  color-scheme: light;
}

/* menubar (File, Edit, View...) and the header behind the menubar and toolbar */
.tox .tox-editor-header,
.tox .tox-menubar {
  background-color: var(--falcon-tinymce-bg) !important;
}
.tox .tox-menubar {
  border-bottom: 1px solid var(--falcon-border-color);
}

.tox .tox-mbtn,
.tox .tox-mbtn:focus:not(:disabled) {
  background: none !important;
  color: var(--falcon-body-color) !important;
}
.tox .tox-mbtn[disabled] {
  background: none !important;
  color: var(--falcon-500) !important;
}
.tox .tox-mbtn--active,
.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus,
.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) {
  background-color: var(--falcon-300) !important;
  color: var(--falcon-body-color) !important;
}

/* selected item inside the dropdowns (e.g. the current font / size) */
.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled),
.tox .tox-collection__group-heading {
  background-color: var(--falcon-200) !important;
  color: var(--falcon-body-color) !important;
}
.tox .tox-collection--list .tox-collection__group {
  border-color: var(--falcon-border-color) !important;
}

/* a Choices list opened above a tinymce editor (ex. the product tags in edit_product): the sticky editor header
   (z-index 1) was painted over the open list - the open Choices goes above it */
.choices.is-open {
  position: relative;
  z-index: 5;
}

/* Choices with multiple selection (ex. Assigned To in edit_support_ticket): the theme keeps 4rem on the right of every Choices field
   for the arrow of the single selects, so the selected items had a narrow space and the long names were broken -
   the items use the whole width, the names break only between words and the remove button stays on the right of the name */
.choices[data-type*=select-multiple] .choices__inner {
  padding-right: 0.5rem;
}
.choices[data-type*=select-multiple] .choices__list--multiple .choices__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: anywhere;
}
.choices[data-type*=select-multiple] .choices__list--multiple .choices__item .choices__button {
  flex-shrink: 0;
}




/* products list - thumbnail in the Name column */
.store-list-thumb {
  width: 40px;
  height: 40px;
  min-width: 40px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
 
.store-list-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: none;
}
 
 
/* product form - images */
.store-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}
 
.store-images-grid:empty {
  display: none;
}
 
.store-image-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--falcon-gray-100, #f9fafd);
  border: 1px solid var(--falcon-gray-300, #d8e2ef);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.store-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.store-image-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}
 
.store-image-main {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  font-size: 0.65rem;
  display: none;
}
 
.store-image-tile:first-child .store-image-main {
  display: inline-block;
}
 
.store-image-tile:first-child {
  border: 2px solid var(--falcon-primary, #2c7be5);
}
 
.store-image-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}
 
.store-image-tile:hover .store-image-actions {
  opacity: 1;
}
 
/* touch screens have no hover - the buttons are always visible */
@media (hover: none) {
  .store-image-actions {
    opacity: 1;
  }
}
 
.store-image-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--falcon-gray-800, #344050);
  font-size: 0.75rem;
  text-decoration: none;
}
 
.store-image-btn:hover {
  background: #fff;
  text-decoration: none;
}
 
.store-image-tile:first-child .store-image-btn:first-child {
  display: none; /* already the main image */
}
 
.dm-uploader.active {
  border-color: var(--falcon-primary, #2c7be5) !important;
  background-color: rgba(44, 123, 229, 0.06) !important;
}
 
 
/* product form - stock per location */
.store-stock-row:last-child {
  border-bottom: 0 !important;
}
 
 
/* categories - icon square and icon picker */
.store-category-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
 
.store-icon-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 0.35rem;
}
 
.store-icon-option {
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--falcon-gray-600, #748194);
  border: 1px solid var(--falcon-gray-200, #edf2f9);
  text-decoration: none;
  transition: all 0.15s ease;
}
 
.store-icon-option:hover {
  color: var(--falcon-primary, #2c7be5);
  border-color: var(--falcon-primary, #2c7be5);
  text-decoration: none;
}
 
.store-icon-option.active {
  color: #fff;
  background: var(--falcon-primary, #2c7be5);
  border-color: var(--falcon-primary, #2c7be5);
}
 
.dark .store-image-btn {
  background: rgba(11, 23, 39, 0.8);
  color: var(--falcon-gray-200, #edf2f9);
}
 
.dark .store-icon-option {
  border-color: var(--falcon-gray-300, #344050);
}
 





/* ============================================================================================
   ONLINE STORE (module 5) - storefront (products_store), product window, basket
   add at the end of assets/css/user.css, after the store admin block
   ============================================================================================ */


:root {
  --store-radius: 0.625rem;
  --store-radius-sm: 0.375rem;
  --store-radius-control: 0.5rem;
  --store-glass-bg: rgba(255, 255, 255, 0.72);
  --store-glass-border: rgba(255, 255, 255, 0.55);
  --store-card-bg: var(--falcon-card-bg, #fff);
  --store-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 6px 18px rgba(17, 24, 39, 0.06);
  --store-shadow-hover: 0 12px 32px rgba(17, 24, 39, 0.14);
  --store-accent: var(--falcon-primary, #2c7be5);
  --store-sticky-top: 4.75rem;
}

.dark {
  --store-glass-bg: rgba(11, 23, 39, 0.72);
  --store-glass-border: rgba(255, 255, 255, 0.07);
  --store-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.25);
  --store-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.45);
}


/* glass helpers */
.store-glass-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--store-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.store-glass-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.store-glass-btn:hover, .store-glass-btn:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
}


/* guests header */
.store-guest-nav {
  border-radius: 0 0 var(--store-radius) var(--store-radius);
  margin-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.store-guest-host {
  font-size: 0.85rem;
  color: var(--falcon-600, #748194);
  border-left: 1px solid var(--falcon-300, #d8e2ef);
  padding-left: 0.85rem;
}


/* basket icon badge (guests header and AeroDox menu) */
.store-basket-toggle {
  position: relative;
  display: inline-block;
}

.store-basket-count {
  position: absolute;
  top: 2px;
  right: -4px;
  min-width: 1.15rem;
  font-size: 0.62rem;
  line-height: 1;
  padding: 0.22rem 0.32rem;
  color: #fff;
  border: 2px solid var(--falcon-body-bg, #edf2f9);
}

.store-bump {
  animation: store-bump 0.45s ease;
}

@keyframes store-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.25); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}


/* hero slider */
.store-hero {
  position: relative;
  border-radius: var(--store-radius);
  overflow: hidden;
  box-shadow: var(--store-shadow);
  background: #0b1727;
}

.store-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.store-hero-track:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: -4px;
}

.store-hero-track::-webkit-scrollbar {
  display: none;
}

.store-hero-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.store-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.store-hero-slide.active .store-hero-bg {
  transform: scale(1);
}

.store-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 24, 0.82) 0%, rgba(5, 12, 24, 0.55) 45%, rgba(5, 12, 24, 0.05) 100%),
              linear-gradient(0deg, rgba(5, 12, 24, 0.55) 0%, rgba(5, 12, 24, 0) 45%);
}

.store-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 3rem 4.75rem 3.75rem;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.store-hero-slide.active .store-hero-content {
  opacity: 1;
  transform: translateY(0);
}

.store-hero-title {
  color: #fff;
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.store-hero-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.store-hero-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.store-hero-price-currency {
  font-size: 0.6em;
  font-weight: 400;
  margin-left: 0.1rem;
  color: rgba(255, 255, 255, 0.75);
}

.store-hero-meta {
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.store-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}

.store-hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.store-hero-prev {
  left: 1rem;
}

.store-hero-next {
  right: 1rem;
}

.store-hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 4.75rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.store-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.3s ease;
}

.store-hero-dot.active {
  width: 26px;
  background: #fff;
}


/* banner shown when there are no featured products */
.store-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--store-radius);
  padding: 3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--store-accent) 0%, #1658b8 55%, #0b1727 100%);
  box-shadow: var(--store-shadow);
}

.store-banner-title {
  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
}

.store-banner-text {
  color: rgba(255, 255, 255, 0.8);
}

.store-banner-icon {
  position: absolute;
  right: 2.5rem;
  bottom: -1.5rem;
  font-size: 9rem;
  opacity: 0.12;
}


/* category tiles (main categories, under the hero slider) - shown only when they are on in Store Settings */
.store-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: var(--store-radius);
  background: var(--store-card-bg);
  box-shadow: var(--store-shadow);
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--store-shadow-hover);
}

.store-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--store-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.store-tile-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--falcon-900, #232e3c);
  line-height: 1.25;
}

.store-tile-count {
  font-size: 0.75rem;
  color: var(--falcon-500, #9da9bb);
}


/* toolbar: search, sort, category chips - sticks under the menu */
.store-toolbar {
  position: sticky;
  top: var(--store-sticky-top);
  z-index: 1015;
  padding: 0.75rem;
  border-radius: var(--store-radius);
  background: var(--store-glass-bg);
  border: 1px solid var(--store-glass-border);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow 0.25s ease;
}

.store-toolbar.is-stuck {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
}

.store-search, .store-sort, .store-toolbar-btn {
  border-radius: var(--store-radius-control) !important;
  height: 2.35rem;
}

.store-sort {
  width: auto;
  max-width: 13rem;
}

.store-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-top: 0.65rem;
  scrollbar-width: none;
}

.store-chips::-webkit-scrollbar {
  display: none;
}

.store-chip {
  flex: 0 0 auto;
  border: 1px solid var(--falcon-300, #d8e2ef);
  background: var(--store-card-bg);
  color: var(--falcon-700, #5e6e82);
  border-radius: var(--store-radius-sm);
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.store-chip:hover {
  border-color: var(--store-accent);
  color: var(--store-accent);
}

.store-chip.active {
  background: var(--store-accent);
  border-color: var(--store-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(44, 123, 229, 0.3);
}


/* filters */
/* top = the highest position, under the toolbar; when the sidebar is taller than the window,
   store_sidebar_position() (products_store.php) moves it with the page until its end is visible */
.store-sidebar {
  position: sticky;
  top: calc(var(--store-sticky-top) + 7.5rem);
}

.store-filters-card {
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
  border: 0;
}

.store-filter-group {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--falcon-200, #edf2f9);
}

.store-filter-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--falcon-600, #748194);
  margin-bottom: 0.65rem;
}

.store-filter-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: var(--store-radius-sm);
  font-size: 0.85rem;
  color: var(--falcon-800, #344050);
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.store-filter-category:hover {
  background: var(--falcon-100, #f9fafd);
}

.store-filter-category.active {
  background: rgba(44, 123, 229, 0.1);
  color: var(--store-accent);
  font-weight: 600;
}

.store-filter-count {
  font-size: 0.7rem;
  color: var(--falcon-500, #9da9bb);
  background: var(--falcon-100, #f9fafd);
  border-radius: 0.25rem;
  padding: 0.05rem 0.5rem;
}

.store-tag-pill {
  border: 1px solid var(--falcon-300, #d8e2ef);
  background: transparent;
  color: var(--falcon-700, #5e6e82);
  border-radius: var(--store-radius-sm);
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  transition: all 0.15s ease;
}

.store-tag-pill.active {
  background: var(--falcon-900, #232e3c);
  border-color: var(--falcon-900, #232e3c);
  color: #fff;
}

.store-vat-note {
  font-size: 0.75rem;
  color: var(--falcon-500, #9da9bb);
}

.store-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.4rem 0.2rem 0.75rem;
  border-radius: var(--store-radius-sm);
  font-size: 0.75rem;
  background: rgba(44, 123, 229, 0.1);
  color: var(--store-accent);
}

.store-active-chip a {
  width: 18px;
  height: 18px;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 0.6rem;
}

.store-active-chip a:hover {
  background: rgba(44, 123, 229, 0.18);
}


/* product cards */
.store-card-col {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.store-card-col.store-card-in {
  opacity: 1;
  transform: none;
}

.store-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--store-radius);
  background: var(--store-card-bg);
  box-shadow: var(--store-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--store-shadow-hover);
}

.store-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--falcon-100, #f9fafd);
}

.store-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.store-card:hover .store-card-img {
  transform: scale(1.07);
}

.store-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  transition: transform 0.6s ease;
}

.store-card:hover .store-placeholder {
  transform: scale(1.06);
}

.store-placeholder-primary { color: #2c7be5; background: radial-gradient(circle at 30% 20%, rgba(44, 123, 229, 0.22), rgba(44, 123, 229, 0.06) 70%); }
.store-placeholder-secondary { color: #748194; background: radial-gradient(circle at 30% 20%, rgba(116, 129, 148, 0.22), rgba(116, 129, 148, 0.06) 70%); }
.store-placeholder-success { color: #00b16a; background: radial-gradient(circle at 30% 20%, rgba(0, 210, 122, 0.22), rgba(0, 210, 122, 0.06) 70%); }
.store-placeholder-info { color: #1ca6e4; background: radial-gradient(circle at 30% 20%, rgba(39, 188, 253, 0.22), rgba(39, 188, 253, 0.06) 70%); }
.store-placeholder-warning { color: #e5762f; background: radial-gradient(circle at 30% 20%, rgba(245, 128, 62, 0.22), rgba(245, 128, 62, 0.06) 70%); }
.store-placeholder-danger { color: #e63757; background: radial-gradient(circle at 30% 20%, rgba(230, 55, 87, 0.22), rgba(230, 55, 87, 0.06) 70%); }
.store-placeholder-dark { color: #344050; background: radial-gradient(circle at 30% 20%, rgba(52, 64, 80, 0.22), rgba(52, 64, 80, 0.06) 70%); }

.store-placeholder-lg {
  font-size: 5rem;
  min-height: 360px;
}

.store-card-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: calc(100% - 3.5rem);
}

.store-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.35em 0.65em;
  border-radius: 0.25rem;
}

.store-badge-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.store-fav-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--falcon-800, #344050);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, color 0.2s ease;
}

.store-fav-btn:hover {
  transform: scale(1.1);
  color: #e63757;
}

.store-fav-btn.active {
  color: #e63757;
}

.store-fav-btn-static {
  position: static;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--falcon-100, #f9fafd);
  border: 1px solid var(--falcon-200, #edf2f9);
  box-shadow: none;
}

.store-card-quick {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: var(--store-radius-control);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.store-card:hover .store-card-quick {
  opacity: 1;
  transform: none;
}

.store-card-quick:hover {
  background: var(--store-accent);
}

.store-card-quick:disabled {
  background: rgba(116, 129, 148, 0.8);
}

.store-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.85rem 1rem 1rem;
}

.store-card-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--falcon-500, #9da9bb);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.43em;
}

.store-card-title a {
  color: var(--falcon-900, #232e3c);
  text-decoration: none;
}

.store-card-title a:hover {
  color: var(--store-accent);
}

.store-card-meta {
  font-size: 0.75rem;
  color: var(--falcon-600, #748194);
  min-height: 1.1rem;
}

.store-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

.store-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--falcon-900, #232e3c);
  white-space: nowrap;
}

.store-price-currency {
  font-size: 0.65em;
  font-weight: 500;
  margin-left: 0.05rem;
  color: var(--falcon-600, #748194);
}

.store-price-unit {
  font-size: 0.7rem;
  font-weight: 400;
  margin-left: 0.15rem;
  color: var(--falcon-500, #9da9bb);
  white-space: nowrap;
}

.store-price-old {
  font-size: 0.75rem;
  color: var(--falcon-500, #9da9bb);
  white-space: nowrap;
}

.store-card-add {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  flex: 0 0 auto;
}

.store-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

.store-stock .fa-circle, .store-stock svg {
  font-size: 0.45rem;
}

.store-stock-in { color: #00b16a; }
.store-stock-low { color: #e5762f; }
.store-stock-out { color: #e63757; }

.store-added {
  background: #00b16a !important;
  border-color: #00b16a !important;
}

.store-btn-loading {
  opacity: 0.7;
  pointer-events: none;
}


/* loading cards */
.store-skeleton .store-card-media,
.store-skeleton-line {
  background: linear-gradient(90deg, var(--falcon-200, #edf2f9) 25%, var(--falcon-100, #f9fafd) 50%, var(--falcon-200, #edf2f9) 75%);
  background-size: 200% 100%;
  animation: store-shimmer 1.3s infinite linear;
}

.store-skeleton-line {
  height: 0.7rem;
  border-radius: 0.25rem;
  margin-bottom: 0.6rem;
}

@keyframes store-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* empty results / empty basket */
.store-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--store-accent);
  background: rgba(44, 123, 229, 0.1);
}


/* offcanvas panels (filters on mobile, basket) */
.store-offcanvas {
  background: var(--store-glass-bg);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 0;
  box-shadow: -10px 0 40px rgba(17, 24, 39, 0.18);
}

.store-offcanvas.offcanvas-start {
  box-shadow: 10px 0 40px rgba(17, 24, 39, 0.18);
}

.store-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--store-glass-border);
}

.store-basket-panel {
  width: 420px;
  max-width: 100%;
}

.store-offcanvas-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--falcon-200, #edf2f9);
  background: var(--store-glass-bg);
}

.store-basket-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
  border-radius: var(--store-radius-sm);
  background: var(--store-card-bg);
  box-shadow: var(--store-shadow);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.store-basket-item.store-removing {
  opacity: 0;
  transform: translateX(30px);
}

.store-basket-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: var(--store-radius-sm);
  overflow: hidden;
  cursor: pointer;
}

.store-basket-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-basket-thumb .store-placeholder {
  font-size: 1.3rem;
}

.store-basket-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--falcon-900, #232e3c);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.min-w-0 {
  min-width: 0;
}


/* quantity stepper */
.store-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--falcon-300, #d8e2ef);
  border-radius: var(--store-radius-control);
  background: var(--store-card-bg);
  height: 2.5rem;
}

.store-qty-btn {
  width: 2.4rem;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--falcon-700, #5e6e82);
  font-size: 0.75rem;
}

.store-qty-btn:hover {
  color: var(--store-accent);
}

.store-qty-input {
  width: 3rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  color: var(--falcon-900, #232e3c);
  outline: none;
}

.store-qty-sm {
  height: 2rem;
}

.store-qty-sm .store-qty-btn {
  width: 2rem;
}

.store-qty-sm .store-qty-input {
  width: 2.4rem;
  font-size: 0.85rem;
}


/* product window */
.store-product-modal {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.store-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  background-size: 0.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.store-gallery {
  position: relative;
  height: 100%;
  min-height: 520px;
  background: var(--falcon-100, #f9fafd);
}

.store-gallery-track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.store-gallery-track::-webkit-scrollbar {
  display: none;
}

.store-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-gallery-slide .store-placeholder-lg {
  min-height: 100%;
}

.store-gallery-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.store-gallery-thumb {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: var(--store-radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.6);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.store-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-gallery-thumb.active {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.store-product-info {
  padding: 2.25rem 2.25rem 2rem;
  max-height: 88vh;
  overflow-y: auto;
}

.store-breadcrumb {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--falcon-500, #9da9bb);
  margin-bottom: 0.4rem;
  padding-right: 2.5rem;
}

.store-product-title {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.store-price-block {
  padding: 0.85rem 1rem;
  border-radius: var(--store-radius-sm);
  background: var(--falcon-100, #f9fafd);
  min-width: 0;
}

.store-product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--falcon-900, #232e3c);
  letter-spacing: -0.01em;
}

.store-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.5rem 1rem;
}

.store-fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--falcon-600, #748194);
}

.store-fact .svg-inline--fa, .store-fact > span:first-child {
  color: var(--store-accent);
  width: 1rem;
}

.store-fact strong {
  color: var(--falcon-900, #232e3c);
  font-weight: 600;
}

.store-tabs .nav-link {
  font-size: 0.85rem;
  font-weight: 600;
}

.store-description {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--falcon-800, #344050);
}

.store-description h6 {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-description img {
  max-width: 100%;
  height: auto;
  border-radius: var(--store-radius-sm);
}

.store-specs-table th {
  width: 42%;
  font-weight: 500;
  color: var(--falcon-600, #748194);
  font-size: 0.8rem;
}

.store-specs-table td {
  font-size: 0.85rem;
  color: var(--falcon-900, #232e3c);
}

.store-related-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.store-related-item {
  flex: 0 0 140px;
  text-decoration: none !important;
}

.store-related-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--store-radius-sm);
  overflow: hidden;
  margin-bottom: 0.4rem;
  background: var(--falcon-100, #f9fafd);
}

.store-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.store-related-item:hover img {
  transform: scale(1.06);
}

.store-related-media .store-placeholder {
  font-size: 1.5rem;
}

.store-related-name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--falcon-900, #232e3c);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-related-price {
  font-size: 0.78rem;
  color: var(--falcon-600, #748194);
}


/* the buttons of the store use the same radius as the search box (the rounded-pill class stays only on the count badges) */
.store-page .btn.rounded-pill,
.store-guest-nav .btn.rounded-pill,
.store-offcanvas .btn.rounded-pill,
.store-product-modal .btn.rounded-pill,
.store-order-window .btn.rounded-pill {
  border-radius: var(--store-radius-control) !important;
}


/* the next products load automatically when this point gets close to the screen */
.store-autoload {
  height: 1px;
}


/* dark mode */
.dark .store-badge-glass {
  /* the tag badges on the product images: dark glass, the text keeps the color of the tag */
  background-color: rgba(11, 23, 39, 0.75);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.dark .store-modal-close {
  /* grey circle with a white X (the X of bootstrap is black) */
  background-color: rgba(52, 64, 80, 0.85);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.dark .store-fav-btn:not(.store-fav-btn-static) {
  color: var(--falcon-900, #d8e2ef);
  background-color: rgba(11, 23, 39, 0.45);
}

.dark .store-fav-btn.active {
  color: #e63757;
}

.dark .store-offcanvas .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.dark .store-tag-pill.active {
  background: #fff;
  border-color: #fff;
  color: #0b1727;
}

.dark .store-chip:not(.active),
.dark .store-tag-pill:not(.active),
.dark .store-qty {
  border-color: var(--falcon-300, #344050);
}


/* tablets and phones */
@media (max-width: 991.98px) {
  .store-hero-slide {
    min-height: 360px;
  }

  .store-hero-content {
    padding: 2rem 1.75rem 3.25rem;
  }

  .store-hero-title {
    font-size: 1.75rem;
  }

  .store-hero-dots {
    left: 1.75rem;
  }

  .store-hero-content {
    max-width: 100%;
  }

  .store-product-info {
    max-height: none;
    padding: 1.5rem 1.25rem;
  }

  .store-gallery {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 575.98px) {
  .store-hero-slide {
    min-height: 330px;
  }

  .store-hero-title {
    font-size: 1.4rem;
  }

  .store-hero-price {
    font-size: 1.25rem;
  }

  .store-banner {
    padding: 2rem 1.5rem;
  }

  .store-banner-title {
    font-size: 1.6rem;
  }

  .store-toolbar {
    padding: 0.6rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .store-search-wrap {
    flex: 0 0 100%;
  }

  .store-tile {
    flex-direction: row;
    align-items: center;
    padding: 0.65rem 0.75rem;
    gap: 0.6rem;
  }

  .store-tile-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-bottom: 0;
    font-size: 0.9rem;
  }

  .store-tile-name {
    font-size: 0.8rem;
  }

  .store-tile-count {
    display: none;
  }

  .store-sort {
    max-width: none;
    flex: 1 1 auto;
  }

  .store-card-body {
    padding: 0.7rem 0.75rem 0.8rem;
  }

  .store-card-title {
    font-size: 0.82rem;
  }

  .store-price {
    font-size: 0.92rem;
  }

  .store-placeholder {
    font-size: 2rem;
  }

  .store-product-title {
    font-size: 1.2rem;
  }

  .store-product-price {
    font-size: 1.3rem;
  }
}

/* temporary: the basket is shown only in debug mode, until the checkout is ready (products_store adds the class) */
.store-no-basket .store-card-quick,
.store-no-basket .store-card-add,
.store-no-basket .store-hero-add,
.store-no-basket .store-add-main,
.store-no-basket .store-product-modal .store-qty {
  display: none !important;
}

/* respect the reduced motion setting */
@media (prefers-reduced-motion: reduce) {
  .store-hero-bg, .store-hero-content, .store-card, .store-card-img, .store-card-col, .store-tile {
    transition: none !important;
    transform: none !important;
  }
}



/* ============================================================================================
   ONLINE STORE (module 5) - Store Settings page (products_settings)
   add at the end of assets/css/user.css
   ============================================================================================ */


/* menu of the sections, stays visible while the page is scrolled (settings-* : the same menu on other pages, ex. options) */
/* top: the height of the top menu (navbar-top) and the space under it (pt-2 of the row of the page), so the menu starts at the same height as the sections next to it */
.store-settings-nav,
.settings-nav {
  position: sticky;
  top: 4.8125rem;
}

.store-settings-link,
.settings-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--falcon-700, #5e6e82);
  transition: background 0.15s ease, color 0.15s ease;
}

.store-settings-link:hover,
.settings-link:hover {
  color: var(--falcon-900, #232e3c);
  background: var(--falcon-100, #f9fafd);
}

.store-settings-link.active,
.settings-link.active {
  color: var(--falcon-primary, #2c7be5);
  background: rgba(44, 123, 229, 0.1);
}

.store-settings-link .svg-inline--fa,
.settings-link .svg-inline--fa {
  opacity: 0.75;
}


/* the menu collapsed to the icons with the button above it (settings_nav_toggle in index.js), like the vertical menu of the template
   (navbar-vertical-collapsed): the names as tooltips; only on the large screens, the small ones have no menu (settings-nav-row) */
@media (min-width: 992px) {
  .settings-nav-collapsed > .settings-nav-column {
    width: 4.75rem;
  }

  .settings-nav-collapsed > .settings-content-column {
    width: calc(100% - 4.75rem);
  }

  .settings-nav-collapsed .settings-nav-text {
    display: none;
  }

  .settings-nav-collapsed .store-settings-link,
  .settings-nav-collapsed .settings-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  /* the names of the menu without width, not hidden: the links keep their height */
  .settings-nav-collapsed .store-settings-link .settings-nav-text,
  .settings-nav-collapsed .settings-link .settings-nav-text {
    display: inline;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .settings-nav-collapsed .store-settings-link .svg-inline--fa,
  .settings-nav-collapsed .settings-link .svg-inline--fa,
  .settings-nav-collapsed .settings-nav-status .svg-inline--fa {
    margin-right: 0 !important;
  }

  .settings-nav-collapsed .settings-nav-toggle {
    margin: 0 auto;
  }

  /* under the menu (the note of the saving with its status, View Store): only the icons, in the middle */
  .settings-nav-collapsed .settings-nav-below {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
  }

  .settings-nav-collapsed .settings-nav-status {
    margin: 0 !important;
  }

  /* the lines of the button get shorter, as in the template */
  .settings-nav-collapsed .settings-nav-toggle .navbar-toggle-icon {
    padding-right: 0.3125rem;
  }

  .settings-nav-collapsed .settings-nav-toggle .navbar-toggle-icon:after {
    width: 75%;
  }

  .settings-nav-collapsed .settings-nav-toggle .navbar-toggle-icon:before {
    width: 50%;
  }

  /* the width of the menu changes with an animation (only with the button, not when the page is opened) */
  .settings-nav-animated > .settings-nav-column,
  .settings-nav-animated > .settings-content-column {
    transition: width 0.2s ease;
  }

  /* the menu opened: the names and what is under it are shown only after it gets to its width, with a fast fade in (settings-nav-opening) */
  .settings-nav-animated .settings-nav-text {
    transition: opacity 0.15s ease;
  }

  .settings-nav-opening .settings-nav-text {
    opacity: 0;
    transition: none;
  }

  .settings-nav-opening .store-settings-link,
  .settings-nav-opening .settings-link,
  .settings-nav-opening .settings-nav-below {
    white-space: nowrap;
    overflow: hidden;
  }
}


/* the sections are not hidden under the top menu when they are opened from the menu */
.store-settings-section,
.settings-section {
  scroll-margin-top: 5.5rem;
}


/* rows with a switch: a thin line between them */
.store-setting-row + .store-setting-row {
  border-top: 1px solid var(--falcon-200, #edf2f9);
}

.store-setting-row:first-child {
  padding-top: 0 !important;
}

.store-setting-row .form-switch .form-check-input {
  width: 2.5em;
  height: 1.35em;
}


/* details shown under a switch (card payment, bank transfer, SmartBill) */
.store-setting-details {
  border: 1px solid var(--falcon-200, #edf2f9);
}

.store-setting-details .store-setting-row {
  padding-bottom: 0 !important;
}

.store-setting-details .row + .store-setting-row {
  margin-top: 0.75rem;
  border-top: 1px solid var(--falcon-200, #edf2f9);
  padding-top: 0.75rem !important;
}


/* lists of locations, delivery methods and coupons: no line under the last row */
#store_categories_summary > div:last-child,
#store_locations_summary > div:last-child,
#store_shipping_summary > div:last-child,
#store_coupons_summary > div:last-child {
  border-bottom: 0 !important;
}



/* lists shown as cards flowing in 1, 2 or 3 columns (roles and permissions lists, function list_cards_html) */
.cards_columns {
  column-gap: 1rem;
}

.cards_columns > * {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.cards_columns > h6 {
  break-after: avoid;
}

@media (min-width: 768px) {
  .cards_columns_2,
  .cards_columns_3 {
    column-count: 2;
  }
}

@media (min-width: 1200px) {
  .cards_columns_3 {
    column-count: 3;
  }
}



/* ------------------------------------------------------------------
   logos of the organization (Global Settings, Logos and Favicon)
   the logo for the dark theme is shown only in the dark theme, when both logos are uploaded
------------------------------------------------------------------ */

.branding-logo-dark {
  display: none !important;
}

.dark .branding-logo-dark {
  display: inline-block !important;
}

.dark .branding-logo-light {
  display: none !important;
}

.branding-preview {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--falcon-gray-300, #d8e2ef);
  overflow: hidden;
}

.branding-preview img {
  max-width: 90%;
  max-height: 90px;
  object-fit: contain;
}

.branding-preview-light {
  background: #ffffff;
}

.branding-preview-dark {
  background: #0b1727;
}

/* 17.11.2026: the titles of the tiles (Global Settings, Logos and Favicon) have the same height - 2 lines, 3 lines when the 5 tiles are in one row
   (col-xl) -, so the images of the tiles are in line; the title stays at the bottom of its place, over its image */
.branding-tile-title {
  min-height: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 1200px) {
  .branding-tile-title {
    min-height: 3.75rem;
  }
}



/* ============================================================================================
   ONLINE STORE (module 5) - checkout window (store_checkout) and order window (store_order_status)
   ============================================================================================ */


.store-checkout-card {
  border: 0;
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
}

/* delivery and payment methods: the whole row can be clicked */
.store-checkout-options {
  display: grid;
  gap: 0.5rem;
}

.store-checkout-option {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--falcon-gray-300, #d8e2ef);
  border-radius: var(--store-radius-control);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.store-checkout-option:hover {
  border-color: var(--store-accent);
}

.store-checkout-option:has(input:checked) {
  border-color: var(--store-accent);
  background: rgba(44, 123, 229, 0.06);
  box-shadow: 0 0 0 1px var(--store-accent) inset;
}

/* the summary stays visible while the form is scrolled (desktop) */
@media (min-width: 992px) {
  .store-checkout-summary {
    position: sticky;
    top: 1rem;
  }
}


/* =====================================================================
   Store - orders list (products_orders.php) and order details (store_order_details.php)
   ===================================================================== */

/* the history of an order: the events are joined by a line */
.store-order-history-item {
  position: relative;
}

.store-order-history-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.9375rem;
  top: 2.1rem;
  bottom: 0.3rem;
  border-left: 1px dashed var(--falcon-gray-300, #d8e2ef);
}

.store-order-history .icon-item:hover {
  background-color: inherit;
}

/* a long history (of an order, of an application): at most 60% of the height of the screen, then it scrolls (with the scrollbar class of the template) */
.store-order-history {
  max-height: 60vh;
}


/* =====================================================================
   Store - My Orders of the customer (products_my_orders.php)
   ===================================================================== */

/* one order: the whole card opens the order window */
.store-my-order {
  padding: 0.75rem 1rem;
  border-radius: var(--store-radius-sm);
  background: var(--store-card-bg);
  border: 1px solid var(--falcon-200, #edf2f9);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.store-my-order:hover {
  transform: translateY(-1px);
  border-color: transparent;
  box-shadow: var(--store-shadow-hover);
}

.store-my-order-closed {
  opacity: 0.7;
}

.store-my-order-reference {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--falcon-900, #232e3c);
  text-decoration: none !important;
}

.store-my-order-reference:hover {
  color: var(--store-accent);
}

.store-my-order-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--falcon-900, #232e3c);
  white-space: nowrap;
}

/* the pictures of the products of the order */
.store-my-order-thumbs {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.store-my-order-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--store-radius-sm);
  object-fit: cover;
  background: var(--falcon-100, #f9fafd);
  border: 1px solid var(--falcon-200, #edf2f9);
}

.store-my-order-thumb-empty, .store-my-order-thumb-more {
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-my-order-thumb-empty {
  color: var(--store-accent);
  background: rgba(44, 123, 229, 0.08);
}

.store-my-order-thumb-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--falcon-700, #5e6e82);
}

/* the products of the order take the free space, the total goes under them on narrow screens */
.store-my-order-main {
  flex: 1 1 18rem;
  min-width: 0;
}

/* the total and the buttons: never wider than the order, the buttons that do not fit go on the next row
   (07.11.2026 - before: as wide as all its buttons on one row, the last buttons went out of the order) */
.store-my-order-amount {
  flex: 0 0 auto;
  max-width: 100%;
  margin-left: auto;
  text-align: right;
}

/* after the rules above, so they do not override it (07.11.2026 - before: placed above them, it was not applied) */
@media (max-width: 575.98px) {
  .store-my-order {
    padding: 0.75rem;
  }

  .store-my-order-thumb {
    width: 36px;
    height: 36px;
  }

  /* the total and the buttons on their own row, the buttons go on the next row when they do not fit */
  .store-my-order-amount {
    flex: 1 1 100%;
  }
}


/* =====================================================================
   Store - My Credits of the user (account_credits.php)
   ===================================================================== */

/* the numbers of credits of a product: available, used, expired */
.store-credit-counts {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.store-credit-count {
  min-width: 4.5rem;
  text-align: center;
  line-height: 1.15;
}

.store-credit-count-number {
  font-size: 1.25rem;
  font-weight: 700;
}

.store-credit-count-label {
  font-size: 0.65rem;
  color: var(--falcon-500, #9da9bb);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


/* store footer (get_store_footer_html, Store Settings > Legal Information): the company, the policies, the cards accepted, the ANPC SAL pictogram */
.store-footer {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--store-card-bg);
  border-radius: var(--store-radius);
  box-shadow: var(--store-shadow);
  font-size: 0.8125rem;
  color: var(--falcon-700, #5e6e82);
  line-height: 1.7;
}

.store-footer a {
  color: var(--falcon-700, #5e6e82);
  text-decoration: none;
}

.store-footer a:hover {
  color: var(--store-accent);
  text-decoration: underline;
}

.store-footer-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--falcon-900, #0b1727);
  margin-bottom: 0.6rem;
}

.store-footer-cards {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--falcon-600, #748194);
}

.store-footer-cards img {
  height: 26px;
  width: auto;
}

.store-footer-processor {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--falcon-300, #d8e2ef);
  border-radius: var(--store-radius-sm);
}

.store-footer-sal {
  display: inline-block;
}

.store-footer-sal img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.store-footer-sal-text {
  display: inline-block;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--falcon-300, #d8e2ef);
  border-radius: var(--store-radius-sm);
}

/* the cards accepted, on the card option of the checkout */
.store-checkout-cards {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--falcon-600, #748194);
  flex-shrink: 0;
}

.store-checkout-cards img {
  height: 20px;
  width: auto;
}


/* the policy pages of the store (store_policy): the text written in Store Settings > Legal Information */
.store-policy-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--falcon-800, #344050);
  overflow-wrap: anywhere;
}

.store-policy-text h1,
.store-policy-text h2,
.store-policy-text h3,
.store-policy-text h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--falcon-900, #0b1727);
}

.store-policy-text h1 { font-size: 1.5rem; }
.store-policy-text h2 { font-size: 1.25rem; }
.store-policy-text h3 { font-size: 1.1rem; }
.store-policy-text h4 { font-size: 1rem; }

.store-policy-text > :first-child {
  margin-top: 0;
}

.store-policy-text img {
  max-width: 100%;
  height: auto;
}

.store-policy-text table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.store-policy-text td,
.store-policy-text th {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--falcon-300, #d8e2ef);
}

/* printed (the withdrawal form): only the text of the policy */
@media print {
  .store-policy-page .card {
    box-shadow: none !important;
    border: 0 !important;
  }
  .navbar-vertical, .navbar-top, .footer, .cookie-floating, .cookie-notice {
    display: none !important;
  }
}
/* -------------------------------------------------------------------------- */
/*            Top menu: scrolled horizontally when it is too wide             */
/* -------------------------------------------------------------------------- */
/* the icons on the right side stay always visible; the dropdowns are placed by navbarTopDropdownPosition (main.js),
   relative to the navbar (the menu items are not positioned), so the scroll area does not cut them */
@media (min-width: 992px) {
  .navbar-expand-lg.navbar-top #navbarStandard {
    min-width: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .navbar-expand-lg.navbar-top #navbarStandard > .navbar-nav {
    flex-wrap: nowrap;
  }

  .navbar-expand-lg.navbar-top #navbarStandard .nav-link {
    white-space: nowrap;
  }

  .navbar-expand-lg.navbar-top #navbarStandard .nav-item.dropdown {
    position: static;
  }

  .navbar-expand-lg.navbar-top .navbar-brand,
  .navbar-expand-lg.navbar-top .navbar-nav-icons {
    flex-shrink: 0;
  }
}



/* ============================================================================================
   HOSTS MANAGER (Dev menu, admin_hosts page)
   add at the end of assets/css/user.css
   ============================================================================================ */


/* the cards of the hosts: lifted on hover, the whole card opens the details */
.admin-host-card {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-host-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(65, 69, 88, 0.12), 0 0.15rem 0.4rem rgba(0, 0, 0, 0.06) !important;
}


/* the logo of the host (or its initials) in a square box */
.admin-host-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.admin-host-avatar-lg {
  width: 72px;
  height: 72px;
}

.admin-host-avatar-logo {
  background: #ffffff;
  border: 1px solid var(--falcon-200, #edf2f9);
  padding: 6px;
}

.dark .admin-host-avatar-logo {
  background: var(--falcon-gray-200, #232e3c);
  border-color: var(--falcon-gray-300, #344050);
}

.admin-host-avatar-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-host-avatar-initials {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.admin-host-avatar-lg.admin-host-avatar-initials {
  font-size: 1.6rem;
}


/* the modules of the host, as small icons (the inactive ones are faded) */
.admin-host-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.admin-host-module {
  width: 26px;
  height: 26px;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.admin-host-module-on {
  color: var(--falcon-primary, #2c7be5);
  background: rgba(44, 123, 229, 0.12);
}

.admin-host-module-off {
  color: var(--falcon-gray-400, #b6c1d2);
  background: var(--falcon-gray-100, #f9fafd);
  opacity: 0.6;
}

.dark .admin-host-module-off {
  background: rgba(255, 255, 255, 0.04);
}


/* the 4 numbers of the card */
.admin-host-stats > div + div {
  border-left: 1px solid var(--falcon-200, #edf2f9);
}

.dark .admin-host-stats > div + div {
  border-left-color: var(--falcon-gray-300, #344050);
}



/* =====================================================================
   Applications - the window of an application (show_application in index.php)
   ===================================================================== */

/* with its side panel (administrators), the window is wider, like the window of an order (modal-xxl) - whichever function opens it */
@media (min-width: 1200px) {
  .modal-dialog:has(.application-window) {
    max-width: 1400px;
  }
}

/* the editor of a value of the application (get_application_field_editor_html in functions.php): opened and closed in 0.5 seconds */
.application-field-editor.collapsing {
  transition-duration: 0.5s;
}

/* the side panel on the right, the content and the history under it on the left (on small screens: content, side panel, history) */
@media (min-width: 992px) {
  .application-window .row:has(> .application-history) {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
  }
  .application-window .row > .application-main,
  .application-window .row > .application-side,
  .application-window .row > .application-history {
    width: 100%;
  }
  .application-window .row > .application-main {
    grid-column: 1;
    grid-row: 1;
  }
  .application-window .row > .application-side {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .application-window .row > .application-history {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }
}

/* the page of an application opened with an auth_code link (index.php, action view_application): the content has a border left, right and bottom, in the color of the header */
.application-page > .modal-body {
  border: 2px solid var(--falcon-modal-shape-header-bg, #4494ff);
  border-top: 0;
}

/* and its background a shade darker than the page (half way between bg-200 and bg-300) */
.application-page > .modal-body > .card-body.bg-200 {
  background-color: #e3eaf4 !important;
  background-color: color-mix(in srgb, var(--falcon-200), var(--falcon-300)) !important;
}


/* =====================================================================
   Headings
   ===================================================================== */

/* the h5 titles (the titles of the cards, of the windows, ...): normal weight instead of 500 (theme.css); fw-semi-bold / fw-bold still make one bolder */
h5, .h5 {
  font-weight: 400;
}

/* the lists (applicants_list, docs_list, states_list, fields_list, ...): the main value of a row (its name, in an h5) stands out from the other cells */
td.registration h5 {
  font-weight: 600;
}

/* the applications list (applicants_list.php, and documents_list.php that has the same table): the links of the table are not underlined */
#table-guests-body a,
#table-guests-body a:hover {
  text-decoration: none;
}


/* =====================================================================
   Switches
   ===================================================================== */

/* the switches (form-switch) and their labels: the hand cursor, everywhere; a disabled switch keeps the normal cursor */
.form-switch .form-check-input,
.form-switch .form-check-label {
  cursor: pointer;
}

.form-switch .form-check-input:disabled,
.form-switch .form-check-input:disabled ~ .form-check-label {
  cursor: default;
}


/* =====================================================================
   Soft card headers and footers - the same light blue gray on all the pages
   the option cards of the form editor (edit_event.php) and the cards of the dashboard (index.php) use soft-card-header / soft-card-footer;
   the other gray card headers and footers of the platform (bg-light, bg-200, bg-300, bg-body-tertiary) get the same colors from here, without changing their pages
   ===================================================================== */

/* the soft card headers (and footers): a light blue gray, with black titles (h5, h6) and blue icons (text-primary) */
.soft-card-header,
.soft-card-footer,
.card-header.bg-light,
.card-header.bg-200,
.card-header.bg-300,
.card-header.bg-body-tertiary,
.card-footer.bg-light,
.card-footer.bg-body-tertiary {
  background-color: #dbe4f0 !important;
}

.soft-card-header h5,
.soft-card-header h6,
.card-header.bg-light h5,
.card-header.bg-light h6,
.card-header.bg-200 h5,
.card-header.bg-200 h6,
.card-header.bg-300 h5,
.card-header.bg-300 h6,
.card-header.bg-body-tertiary h5,
.card-header.bg-body-tertiary h6 {
  color: #000;
}

/* dark theme: a dark blue gray (a bit lighter than the cards), with white titles and light blue icons */
.dark .soft-card-header,
.dark .soft-card-footer,
.dark .card-header.bg-light,
.dark .card-header.bg-200,
.dark .card-header.bg-300,
.dark .card-header.bg-body-tertiary,
.dark .card-footer.bg-light,
.dark .card-footer.bg-body-tertiary {
  background-color: #1d2c40 !important;
}

.dark .soft-card-header h5,
.dark .soft-card-header h6,
.dark .card-header.bg-light h5,
.dark .card-header.bg-light h6,
.dark .card-header.bg-200 h5,
.dark .card-header.bg-200 h6,
.dark .card-header.bg-300 h5,
.dark .card-header.bg-300 h6,
.dark .card-header.bg-body-tertiary h5,
.dark .card-header.bg-body-tertiary h6 {
  color: #fff;
}

.dark .soft-card-header h5 .fas {
  color: #abcaf5 !important;
}


/* the account window (show_account, 05.11.2026 - get_account_section_html in index.php): the headers of its sections are the soft card headers above
   (soft-card-header - 05.11.2026 07:50, before: in the primary color), the same height with or without the arrow */
.account_section_header {
  min-height: 2.5rem;
}

/* the groups of Account Roles and Account Permissions (list_cards_html - the departments, the sections of the permissions): framed like the Framed
   Sections of the forms - a thin line in the primary color, broken by the title (the title on the background of the section: white, dark__bg-1100) */
.account_section_groups .card.border {
  background-color: transparent;
  border: 1px solid rgba(var(--falcon-primary-rgb), 0.45) !important;
  border-radius: 0.5rem;
  box-shadow: none;
}

/* with the titles (the breakdown by department / by section): the frame drawn from the middle of the title down (no margin above the cards - the
   columns of cards_columns drop it at the top of a column, the cards of the two columns would not be aligned) */
.account_section_groups .cards_columns > .card.border {
  position: relative;
  border: 0 !important;
}

.account_section_groups .cards_columns > .card.border::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(var(--falcon-primary-rgb), 0.45);
  border-radius: 0.5rem;
  pointer-events: none;
}

.account_section_groups .cards_columns > .card > .card-header.bg-200 {
  position: relative;
  z-index: 1;
  background-color: transparent !important;
  border: 0;
  padding: 0 0.625rem !important;
  line-height: 1.5rem;
}

.account_section_groups .cards_columns > .card > .card-header.bg-200 h6 {
  display: inline-block;
  max-width: 100%;
  padding: 0 0.375rem;
  line-height: 1.5rem;
  color: var(--falcon-primary);
  background-color: #fff;
}

.dark .account_section_groups .cards_columns > .card > .card-header.bg-200 h6 {
  color: var(--falcon-primary);
  background-color: #0b1727;
}



/* =====================================================================
   Card headers - less vertical padding on all the pages (theme.css: 1rem 1.25rem)
   the headers that set their own padding (py-0, py-2, p-3 ...) keep it: the utility classes of the theme win (!important)
   ===================================================================== */

.card-header {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}



/* =====================================================================
   the windows opened over another window (open_window in index.js): their dark layer is lighter, so the page is not too dark
   and the window below is still seen, dimmed
   ===================================================================== */

.modal-backdrop.window-backdrop-stacked.show {
  opacity: 0.25;
}



/* =====================================================================
   elastic pop: a window shown with an elastic effect - it grows a little bigger than its size, gets a little smaller, then bigger again
   a few times, until it stops at its size (open_window in index.js, what_effect='elastic_pop', ex. the photo of an account)
   the window itself does not slide down (bootstrap), only its content pops; not for the users who asked for less motion
   ===================================================================== */

@keyframes elastic_pop {
  0% {
    transform: scale(0.65);
    opacity: 0; }
  30% {
    transform: scale(1.056);
    opacity: 1; }
  45% {
    transform: scale(0.965); }
  60% {
    transform: scale(1.028); }
  73% {
    transform: scale(0.986); }
  86% {
    transform: scale(1.007); }
  100% {
    transform: scale(1);
    opacity: 1; } }

.modal.elastic_pop .modal-dialog {
  transform: none !important;
  transition: none !important;
}

.modal.elastic_pop.show .modal-content {
  animation: elastic_pop 0.72s ease-in-out backwards;
}

@media (prefers-reduced-motion: reduce) {
  .modal.elastic_pop.show .modal-content {
    animation: none;
  }
}



/* =====================================================================
   the upload window of the account documents (show_upload_doc.php): the picture of the document (the background image of the upload area) is drawn
   by a layer that fades when the mouse is over the area, while the upload button and its texts (primary color) appear, with the same delay;
   without a picture the button and the texts are always shown; the picture turns when it is rotated (Rotate Left / Rotate Right of the window:
   --upload-doc-rotate, --upload-doc-scale, --upload-doc-transition)
   ===================================================================== */

.upload-doc-zone {
  background-size: 0 0 !important;
}

.upload-doc-zone::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: rotate(var(--upload-doc-rotate, 0deg)) scale(var(--upload-doc-scale, 1));
  transition: var(--upload-doc-transition, opacity 1s ease);
}

.upload-doc-zone:hover::before {
  opacity: 0;
}

.upload-doc-overlay {
  position: relative;
  z-index: 1;
  transition: opacity 1s ease;
}

.upload-doc-zone.upload-doc-has-picture .upload-doc-overlay {
  opacity: 0;
}

.upload-doc-zone.upload-doc-has-picture:hover .upload-doc-overlay {
  opacity: 1;
}



/* -------------------------------------------------------------------------- */
/*   Font Awesome as a font (vendors/fontawesome/css/all.min.css in index.php)  */
/* -------------------------------------------------------------------------- */
/* before, vendors/fontawesome/js/all.min.js replaced every icon with an svg after the page loaded (slow on the pages with many icons);
   the icons are the same, these rules do what the script did */

/* the size and place of the icons (data-fa-transform): with scale / translate, so they add to the transform (rotate) of the page */
[data-fa-transform="shrink-2"] { scale: 0.875; }
[data-fa-transform="shrink-3"] { scale: 0.8125; }
[data-fa-transform="shrink-4"] { scale: 0.75; }
[data-fa-transform="shrink-6"] { scale: 0.625; }
[data-fa-transform="shrink-7"] { scale: 0.5625; }
[data-fa-transform="down-2"] { translate: 0 0.125em; }
[data-fa-transform="shrink-3 down-2"] { scale: 0.8125; translate: 0 0.125em; }

/* shown at once (the template hid them until the script had drawn the icons) */
.fa-icon-wait {
  opacity: 1;
}

/* the document icons of the profile (file-thumbnail, w-100): the svg filled the box, the font gets the size of the box */
.fas.file-thumbnail, .far.file-thumbnail, .fal.file-thumbnail {
  font-size: 2.85rem;
  text-align: center;
}

.search-box .fas.file-thumbnail, .search-box .far.file-thumbnail, .search-box .fal.file-thumbnail {
  font-size: 1.75rem;
}

/* the rules written for the svg icons (.svg-inline--fa, [data-prefix]) */
.btn-accordion[aria-expanded=true] .fas {
  transform: rotate(90deg);
}

.store-fact .fas, .store-fact .far, .store-fact .fal, .store-fact .fab {
  color: var(--store-accent);
  width: 1rem;
  text-align: center;
}

.store-settings-link .fas, .store-settings-link .far, .store-settings-link .fal,
.settings-link .fas, .settings-link .far, .settings-link .fal {
  opacity: 0.75;
}

@media (min-width: 992px) {
  .settings-nav-collapsed .store-settings-link .fas, .settings-nav-collapsed .store-settings-link .far, .settings-nav-collapsed .store-settings-link .fal,
  .settings-nav-collapsed .settings-link .fas, .settings-nav-collapsed .settings-link .far, .settings-nav-collapsed .settings-link .fal,
  .settings-nav-collapsed .settings-nav-status .fas, .settings-nav-collapsed .settings-nav-status .far, .settings-nav-collapsed .settings-nav-status .fal {
    margin-right: 0 !important;
  }
}

/*   Form Editor (and the editors of the form templates / document types): the field rows outside the visible part of the list are not drawn  */
/*   until they are scrolled to - faster with many fields (to go back: delete this rule)  */
#fields_list > .kanban-item {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 46px;
}


/*   Document Templates (edit_document): the editor keeps the width it had in the large window (modal-xl); on its right the Standard Variables and the  */
/*   Form Fields - on the screens of 1480px and more the window is wider and they are side by side, on the smaller screens they are under the editor  */
.document-template-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.document-template-editor,
.document-template-side {
  flex: 1 1 100%;
  min-width: 0;
}

.document-template-side-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.document-template-side-list {
  max-height: 40vh;
  min-height: 0;
  overflow-y: auto;
}

/* the editor fills the height of the window that is left under the name (320px: the window margins, its header, the name and the paddings), */
/* at least 40vh as before and at most 80vh - over the height set by tinymceInit (main.js, 40vh) */
.document-template-window .document-template-editor .tox-tinymce {
  height: clamp(40vh, calc(100vh - 320px), 80vh) !important;
}

@media (min-width: 1480px) {
  .modal-dialog:has(.document-template-window) {
    max-width: min(1536px, calc(100vw - 3.5rem));
  }

  /* 1108px: the width of the editor box in the large window (1140px), as before */
  .modal-dialog:has(.document-template-window) .document-template-editor {
    flex: 0 0 1108px;
  }

  .modal-dialog:has(.document-template-window) .document-template-side {
    flex: 1 1 0;
  }

  /* as high as the editor: the list scrolls, the buttons stay at the bottom */
  .modal-dialog:has(.document-template-window) .document-template-side-inner {
    position: absolute;
    inset: 1rem;
  }

  .modal-dialog:has(.document-template-window) .document-template-side-section,
  .modal-dialog:has(.document-template-window) .document-template-side-list {
    flex: 1 1 auto;
  }

  .modal-dialog:has(.document-template-window) .document-template-side-list {
    max-height: none;
  }
}



/* the Message Templates editor (edit_message.php): the template on the left, the Email Variables on the right (under it on the smaller screens) */
.message-template-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.message-template-editor,
.message-template-side {
  flex: 1 1 100%;
  min-width: 0;
}

.message-template-side-list {
  max-height: 40vh;
  min-height: 0;
  overflow-y: auto;
}

@media (min-width: 1200px) {
  /* the whole window as high as the screen allows (04.11.2026 - before: 70vh, it left an empty space under it): from its top margin (mt-4 of
     modal_2, 1.8rem) to the bottom margin of the windows (1.75rem); at least 540px, so the editor keeps 200px on the screens 720px high;
     the editor fills the height left under the name and the subject, the list of variables scrolls and the button stays at the bottom */
  .modal-content:has(.message-template-window) {
    height: calc(100vh - 3.55rem);
    min-height: 540px;
  }

  .message-template-window,
  .message-template-window > .card-body,
  .message-template-window #form_message {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .message-template-window .message-template-layout {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-height: 0;
  }

  .message-template-window .message-template-editor {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
  }

  .message-template-window .message-template-side {
    display: flex;
    flex-direction: column;
    flex: 0 0 360px;
  }

  .message-template-window .message-template-content,
  .message-template-window .message-template-side-inner,
  .message-template-window .message-template-side-list {
    flex: 1 1 auto;
    min-height: 0;
  }

  .message-template-window .message-template-content {
    display: flex;
    flex-direction: column;
  }

  .message-template-window .message-template-side-list {
    max-height: none;
  }

  /* over the height set by tinymceInit (main.js, 40vh) */
  .message-template-window .message-template-editor .tox-tinymce {
    flex: 1 1 auto;
    height: auto !important;
    min-height: 200px;
  }
}

@media (min-width: 1480px) {
  /* as wide as the Document Templates editor */
  .modal-dialog:has(.message-template-window) {
    max-width: min(1536px, calc(100vw - 3.5rem));
  }
}



/* =====================================================================================
   Chat (module 11, 03.11.2026) - the Chat page (php/actions/chat.php): Falcon's chat layout (theme.css .card-chat, .chat-sidebar,
   .chat-contact...), with my row and the search with the + button above the list, and the message bar of the chat
   ===================================================================================== */

/* the header of the card (stage 4a): the body takes the rest of the height; on the phones the list slides inside the body, under the header */
.chat-page > .card-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

/* the icon closer to the left edge, New Chat closer to the right edge */
.chat-page .chat-page-header {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.chat-page .chat-sidebar {
  display: flex;
  flex-direction: column;
}

.chat-page .chat-me,
.chat-page .chat-search {
  flex: 0 0 auto;
  background-color: var(--falcon-chat-contact-bg);
  border-right: 1px solid var(--falcon-border-color);
  border-bottom: 1px solid var(--falcon-border-color);
}

.chat-page .contacts-list {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

/* New Chat: square, as high as the search field next to it (.form-control-sm, 05.11.2026) */
.chat-page .chat-new-button {
  width: calc(1.6875rem + 2px);
  height: calc(1.6875rem + 2px);
  padding: 0;
  flex-shrink: 0;
}

.chat-page .chat-contact-content .fst-italic {
  color: var(--falcon-500);
}

.chat-page .card-chat-content .chat-content-body {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

/* the message bar: a field that grows with the text, the emoji button inside; the corners of the site's fields and buttons (05.11.2026 - the
   field as .form-control, the buttons of the chat as .btn: Attach Files, Send, New Chat, Latest messages, mentions); Attach Files and Send as
   high as the field with one line (2.5rem - the larger fonts below), so they stay level with it and at its bottom when it grows */
.chat-page .chat-composer {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--falcon-border-color);
}

.chat-page .chat-composer-button {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  flex-shrink: 0;
}

.chat-page .chat-composer-field {
  min-width: 0;
  border: 1px solid var(--falcon-border-color);
  border-radius: 0.25rem;
  background-color: var(--falcon-card-bg);
  padding: 0.125rem 0.25rem 0.125rem 0.875rem;
  min-height: 2.5rem;
}

.chat-page .chat-composer-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: var(--falcon-body-color);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.375rem 0;
  max-height: 8.5rem;
}

.chat-page .chat-composer-emoji {
  color: var(--falcon-500);
  padding: 0.25rem 0.5rem;
}

/* the phones: the list first, the conversation over it when one is opened (chat_open_conversation, chat_show_list) */
@media (max-width: 767.98px) {
  .chat-page .chat-sidebar {
    left: 0;
    background-color: var(--falcon-card-bg);
  }

  .chat-page .chat-sidebar.chat-sidebar-hidden {
    left: -100%;
  }
}

/* the narrow list (Falcon: only the pictures between 768 and 992 px) - the + button under the search icon */
@media (min-width: 768px) and (max-width: 991.98px) {
  .chat-page .chat-search {
    justify-content: center;
  }

  .chat-page .chat-search .chat-new-button {
    margin-left: 0 !important;
  }
}


/* =====================================================================================
   Chat - stage 2 (03.11.2026): the messages of a conversation (php/actions/chat.php, get_chat_message_html), the emoji window, the popups of the
   new messages and the bell of the top menu (assets/js/chat.js)
   ===================================================================================== */

/* the messages: Falcon's bubbles; the text keeps its lines; grouped by sender (chat_messages_decorate) - the picture once, the hour under the last */
.chat-page .chat-msg {
  padding-top: 0.75rem;
}

.chat-page .chat-msg.chat-msg-continued {
  padding-top: 0.125rem;
}

.chat-page .chat-msg.chat-msg-continued .chat-msg-avatar {
  visibility: hidden;
}

.chat-page .chat-msg.chat-msg-followed .chat-msg-time {
  display: none;
}

.chat-page .chat-msg .chat-message {
  margin-bottom: 0.125rem;
}

.chat-page .chat-message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}

.chat-page .chat-msg-mine .chat-message-text a {
  color: #fff;
  text-decoration: underline;
}

.chat-page .chat-msg-pending .chat-message {
  opacity: 0.75;
}

.chat-page .chat-msg-avatar {
  flex-shrink: 0;
}

/* the line of a day, the line of the unread messages */
.chat-page .chat-day span {
  display: inline-block;
  padding: 0.125rem 0.75rem;
  border-radius: 1rem;
  background-color: var(--falcon-200);
  color: var(--falcon-700);
}

.chat-page .chat-unread-line {
  position: relative;
  margin: 1rem 1rem 0.25rem;
  text-align: center;
  border-top: 1px solid var(--falcon-primary);
}

.chat-page .chat-unread-line span {
  position: relative;
  top: -0.7rem;
  padding: 0.125rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.6944444444rem;
  color: #fff;
  background-color: var(--falcon-primary);
}

/* the button of the latest messages (with the messages that came while scrolled up) */
.chat-page .chat-jump-bottom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  z-index: 2;
}

.chat-page .chat-jump-bottom .chat-jump-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  font-size: 0.62rem;
}

/* the emoji window, above the message bar */
.chat-page .chat-composer {
  position: relative;
}

.chat-page .chat-emoji-picker {
  position: absolute;
  right: 0.5rem;
  bottom: calc(100% + 0.25rem);
  z-index: 5;
}

.chat-page .chat-emoji-picker em-emoji-picker {
  --rgb-accent: 44, 123, 229;
  height: 22rem;
  max-width: calc(100vw - 1rem);
  box-shadow: var(--falcon-box-shadow);
  border-radius: 0.5rem;
}

/* the popups of the new messages (lower right, under the windows and the messages of the page) */
.chat-popups {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 22rem;
  max-width: calc(100vw - 2rem);
  z-index: 1040;
}

.chat-popups .chat-popup {
  border: 1px solid var(--falcon-border-color);
}

.chat-popups .chat-popup-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .chat-popups {
    right: 0.5rem;
    bottom: 0.5rem;
    max-width: calc(100vw - 1rem);
  }
}

/* the bell of the top menu (next to the basket): the counter of the unread conversations, as the counter of the basket */
.chat-bell-toggle {
  position: relative;
  display: inline-block;
}

.chat-bell-count {
  position: absolute;
  top: 2px;
  right: -4px;
  min-width: 1.15rem;
  font-size: 0.62rem;
  line-height: 1;
  padding: 0.22rem 0.32rem;
  color: #fff;
  border: 2px solid var(--falcon-body-bg, #edf2f9);
}

.chat-bell-list {
  max-height: 19rem;
  overflow-y: auto;
}

.chat-bell-list .notification-body {
  min-width: 0;
}


/* =====================================================================================
   Chat - stage 3 (03.11.2026): the dots of the statuses (the account menu, the Chat Profile window), the menu of each conversation (the gear of
   the list, as Falcon's chat), the row of the archived conversations, Unblock instead of the message bar
   ===================================================================================== */

.chat-status-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--falcon-400);
}

.chat-status-dot.status-online {
  background-color: var(--falcon-success);
}

.chat-status-dot.status-away {
  background-color: var(--falcon-warning);
}

.chat-status-dot.status-do-not-disturb {
  background-color: var(--falcon-danger);
}

.chat-status-dot.status-offline {
  background-color: var(--falcon-400);
}

/* the gear of a conversation (as Falcon's chat): at the end of the second line of its row, in the place of the icons and of the unread counter -
   they are hidden while the mouse is over the row or its menu is open -, so it never covers the time or the text; always shown on the touch
   screens, where the icons and the counter make room for it */
.chat-page .chat-contact-menu {
  position: absolute;
  top: 2.1rem;
  right: 0.75rem;
  z-index: 2;
}

.chat-page .chat-contact-menu-button {
  position: static;
  padding: 0.125rem 0.25rem;
  font-size: 0.8125rem;
  line-height: 1;
  border-radius: 0.25rem;
}

.chat-page .chat-contact .hover-actions {
  background-color: transparent;
}

.chat-page .chat-contact-menu-button:focus {
  box-shadow: none;
}

.chat-page .chat-contact-menu-button.show {
  display: flex;
}

/* room for the gear at the end of the second line, even without icons */
.chat-page .chat-contact .chat-contact-meta {
  min-width: 1.25rem;
  text-align: right;
}

@media (hover: hover) {
  .chat-page .chat-contact:hover .chat-contact-meta,
  .chat-page .chat-contact:has(.chat-contact-menu-button.show) .chat-contact-meta {
    visibility: hidden;
  }
}

@media (hover: none) {
  .chat-page .chat-contact .chat-contact-menu-button {
    display: flex;
  }

  .chat-page .chat-contact .chat-contact-meta {
    padding-right: 1.4rem;
  }
}

.chat-page .chat-contact-menu .dropdown-menu {
  min-width: 11rem;
  font-size: 0.8333333333rem;
}

/* the row Archived (and the way back to the list) */
.chat-page .chat-list-special {
  font-size: 0.8333333333rem;
  color: var(--falcon-700);
  border-bottom: 1px solid var(--falcon-border-color);
}

.chat-page .chat-list-special:hover {
  background-color: var(--falcon-chat-contact-bg);
}

.chat-page .chat-composer-blocked {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.chat-page .chat-intro-about {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* the Chat Profile window: the field of the emoji of the status message */
.chat-profile-emoji {
  flex: 0 0 3.5rem !important;
  max-width: 3.5rem;
}

/* the account icon of the top menu (the photo or the initials, with the dot of the status): about 20% smaller than Falcon's avatar-xl (2rem) */
#menu_account_avatar .avatar-xl {
  height: 1.6rem;
  width: 1.6rem;
}

#menu_account_avatar .avatar-xl .avatar-name {
  font-size: 0.5333333333rem;
}

#menu_account_avatar .avatar-xl[class*=status-]:before {
  height: 10px;
  width: 10px;
  right: -2px;
  bottom: -2px;
}


/* =====================================================================================
   Chat - stage 4a (03.11.2026): my row (a bigger picture, the bell and Do Not Disturb), the actions of the messages (as Falcon's chat: next to
   the message when the mouse is over it, a touch on the phones), the message answered, the reactions, the bar of Reply / Edit, Search in
   Conversation, the Information panel (Falcon's conversation-info)
   ===================================================================================== */

/* my row: Do Not Disturb and the bell (the sound of the new messages), instead of the pen - at the right edge; the icons have the same width
   (fa-fw), so the crossed out bell doesn't move under the mouse */
.chat-page .chat-me-toggles {
  margin-right: -0.6rem;
}

.chat-page .chat-me-toggle {
  padding: 0.3rem 0.3rem;
  font-size: 1.2rem;
  color: var(--falcon-500);
  line-height: 1;
}

.chat-page .chat-me-toggle:hover {
  color: var(--falcon-primary);
}

.chat-page .chat-me-toggle:focus {
  box-shadow: none;
}

/* the actions of a message: always room for them next to the message (the message doesn't move when they show) */
.chat-page .chat-msg-row .chat-message {
  max-width: calc(100% - 5.25rem);
}

.chat-page .chat-msg-actions {
  flex-shrink: 0;
  font-size: 0.8125rem;
}

.chat-page .chat-msg-actions .list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.chat-page .chat-msg-actions .chat-option:hover {
  color: var(--falcon-primary);
}

.chat-page .chat-msg-touched .chat-msg-actions {
  display: flex;
  z-index: 1;
}

/* the message answered, at the top of the message (a click goes to it) */
.chat-page .chat-reply-quote {
  border-left: 3px solid var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.08);
  border-radius: 0.25rem;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.9em;
  cursor: pointer;
}

.chat-page .chat-msg-mine .chat-reply-quote {
  border-left-color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.18);
}

.chat-page .chat-reply-name {
  font-weight: 600;
  color: var(--falcon-primary);
}

.chat-page .chat-msg-mine .chat-reply-name {
  color: #fff;
}

.chat-page .chat-reply-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  opacity: 0.85;
}

/* the reactions under the message */
.chat-page .chat-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.125rem;
}

.chat-page .chat-reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--falcon-700);
  background-color: var(--falcon-card-bg);
  border: 1px solid var(--falcon-border-color);
  border-radius: 1rem;
}

.chat-page .chat-reaction:hover {
  border-color: var(--falcon-primary);
}

.chat-page .chat-reaction-mine {
  border-color: var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.1);
}

.chat-page .chat-reaction-count {
  font-size: 0.6875rem;
  color: var(--falcon-600);
}

.chat-page .chat-msg-edited {
  font-style: italic;
}

/* a message found (the search) or answered (a click on the quote): marked for a moment */
.chat-page .chat-message {
  transition: box-shadow 0.3s ease;
}

.chat-page .chat-msg-highlight .chat-message {
  box-shadow: 0 0 0 3px rgba(var(--falcon-warning-rgb), 0.65);
}

.chat-page mark.chat-search-mark {
  padding: 0;
  color: #000;
  background-color: #ffe066;
  border-radius: 2px;
}

/* the bar of Reply / Edit, above the message bar */
.chat-page .chat-composer-bar {
  margin-bottom: 0.5rem;
  padding: 0.25rem 0 0.25rem 0.6rem;
  border-left: 3px solid var(--falcon-primary);
  background-color: var(--falcon-200);
  border-radius: 0.25rem;
}

/* Search in Conversation: the bar above the messages */
.chat-page .chat-search-bar {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--falcon-border-color);
}

.chat-page .chat-search-bar-input {
  padding-left: 2rem;
}

.chat-page .chat-search-bar-icon {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--falcon-400);
}

/* the Information panel: from the top of the messages, over them (the message bar stays free) */
.chat-page .chat-content-body .conversation-info {
  top: 0;
  height: 100%;
  max-width: 100%;
}

.chat-page .chat-info-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

/* the menu of a message (More), the bar of the reactions and its emoji window: one for all the messages, placed next to the message */
.chat-floating-menu {
  position: fixed !important;
  z-index: 1060;
  min-width: 11rem;
  font-size: 0.8333333333rem;
  margin: 0 !important;
}

.chat-reaction-bar {
  position: fixed;
  z-index: 1060;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem 0.4rem;
  background-color: var(--falcon-card-bg);
  border: 1px solid var(--falcon-border-color);
  border-radius: 2rem;
  box-shadow: var(--falcon-box-shadow);
}

.chat-reaction-choice {
  border: 0;
  background: transparent;
  padding: 0.2rem;
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 50%;
  transition: transform 0.1s ease;
}

.chat-reaction-choice:hover {
  transform: scale(1.2);
}

.chat-reaction-choice.active {
  background-color: var(--falcon-200);
}

.chat-reaction-more {
  width: 1.9rem;
  height: 1.9rem;
  margin-left: 0.15rem;
  border: 0;
  border-radius: 50%;
  color: var(--falcon-600);
  background-color: var(--falcon-200);
}

.chat-reaction-more:hover {
  color: var(--falcon-primary);
}

.chat-reaction-picker {
  position: fixed;
  z-index: 1060;
}

/* the size of the text of the conversations (Chat Profile › Preferences): the messages and the message bar (normal: Falcon's 0.8333rem, the
   message bar 0.875rem) */
.chat-page.chat-font-small .chat-message {
  font-size: 0.75rem;
}

.chat-page.chat-font-small .chat-composer-input {
  font-size: 0.8125rem;
}

.chat-page.chat-font-large .chat-message,
.chat-page.chat-font-large .chat-composer-input {
  font-size: 1rem;
}

.chat-page.chat-font-xlarge .chat-message,
.chat-page.chat-font-xlarge .chat-composer-input {
  font-size: 1.1666666667rem;
}

/* the buttons of the message bar as high as the field with one line of the larger fonts (05.11.2026) */
.chat-page.chat-font-large .chat-composer-button {
  width: calc(2.5rem + 2px);
  height: calc(2.5rem + 2px);
}

.chat-page.chat-font-xlarge .chat-composer-button {
  width: calc(2.75rem + 2px);
  height: calc(2.75rem + 2px);
}


/* =====================================================================================
   Chat - stage 4b (03.11.2026): the files of the messages - the pictures (one: its own shape, more: squares two in a row), the other files with
   their icon, name and size (the download arrow), the files deleted automatically ("auto-deleted"), the chips of the files being added above
   the message bar, the place to drop files on the conversation, Shared Files of the Information panel
   ===================================================================================== */
.chat-page .chat-files {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.chat-page .chat-message-text:empty {
  display: none;
}

.chat-page .chat-images {
  display: grid;
  gap: 2px;
  width: 17.5rem;
  max-width: 100%;
  border-radius: 0.375rem;
  overflow: hidden;
}

.chat-page .chat-images-more {
  grid-template-columns: 1fr 1fr;
}

.chat-page .chat-image {
  display: block;
  position: relative;
  background-color: rgba(0, 0, 0, 0.06);
  cursor: zoom-in;
}

.chat-page .chat-images-more .chat-image {
  aspect-ratio: 1;
}

.chat-page .chat-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-page .chat-file {
  display: flex;
  align-items: center;
  width: 17.5rem;
  max-width: 100%;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  background-color: rgba(0, 0, 0, 0.05);
}

.chat-page .chat-msg-mine .chat-file {
  background-color: rgba(255, 255, 255, 0.16);
}

.chat-page .chat-file-icon {
  flex-shrink: 0;
  width: 1.5rem;
  margin-right: 0.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.chat-page .chat-file-name {
  font-weight: 600;
  line-height: 1.3;
}

.chat-page .chat-file-size {
  font-size: 0.75em;
  opacity: 0.75;
}

.chat-page .chat-file-download {
  flex-shrink: 0;
  padding: 0.25rem 0.4rem;
  color: inherit;
  opacity: 0.7;
}

.chat-page .chat-file-download:hover {
  opacity: 1;
}

.chat-page .chat-file-deleted {
  opacity: 0.6;
  cursor: help;
}

.chat-page .chat-file-deleted .chat-file-size {
  font-style: italic;
}

/* the files being added to the message, above the message bar (one row, scrolled sideways): the picture or the icon, the name, the size
   (uploading...), x, the progress */
.chat-page .chat-upload-chips {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.125rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.chat-page .chat-upload-chip {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  width: 12.5rem;
  max-width: 75%;
  padding: 0.3rem 0.25rem 0.3rem 0.4rem;
  border: 1px solid var(--falcon-border-color);
  border-radius: 0.375rem;
  background-color: var(--falcon-card-bg);
  font-size: 0.75rem;
  overflow: hidden;
}

.chat-page .chat-upload-thumb {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-right: 0.4rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.chat-page .chat-upload-icon {
  flex-shrink: 0;
  width: 2rem;
  margin-right: 0.4rem;
  font-size: 1.25rem;
  text-align: center;
}

.chat-page .chat-upload-name {
  font-weight: 600;
  color: var(--falcon-800);
}

.chat-page .chat-upload-size {
  font-size: 0.6944444444rem;
  color: var(--falcon-500);
}

.chat-page .chat-upload-remove {
  flex-shrink: 0;
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  color: var(--falcon-500);
}

.chat-page .chat-upload-remove:hover {
  color: var(--falcon-danger);
}

.chat-page .chat-upload-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: var(--falcon-200);
}

.chat-page .chat-upload-progress div {
  width: 0;
  height: 100%;
  background-color: var(--falcon-primary);
  transition: width 0.2s ease;
}

/* the files dragged over the conversation: where to drop them */
.chat-page .chat-drop-zone {
  position: absolute;
  inset: 0.5rem;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--falcon-primary);
  border-radius: 0.5rem;
  background-color: rgba(var(--falcon-primary-rgb), 0.08);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.chat-page .chat-drop-zone.d-none {
  display: none !important;
}

.chat-page .chat-drop-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--falcon-primary);
}

/* Shared Files of the Information panel */
.chat-page .chat-shared-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
}

.chat-page .chat-shared-image {
  display: block;
  aspect-ratio: 1;
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: var(--falcon-200);
}

.chat-page .chat-shared-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-page .chat-shared-file:hover .d-block:first-child {
  color: var(--falcon-primary);
}


/* =====================================================================================
   The X of the windows (03.11.2026): the button at the top right of the header of the windows (.modal-header, position-absolute) is above the
   title of the window - the title (position-relative z-index-1) covered most of the button on the phones when it was long (the touch landed on
   the title: only a thin strip at the top and at the right of the X closed the window); on the touch screens its touch area is larger (44 px,
   invisible - the X looks the same)
   ===================================================================================== */
.modal-header > .btn-close.position-absolute {
  z-index: 2;
  touch-action: manipulation;
}

@media (hover: none), (pointer: coarse) {
  .modal-header > .btn-close.position-absolute::after {
    content: "";
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    bottom: -0.375rem;
    left: -0.375rem;
  }
}


/* =====================================================================================
   Form Editor - Arrange Fields (03.11.2026, stage 1): the preview of the form (#preview of edit_event.php) as a layout - its fields don't react
   to the mouse, each one has a thin dashed border and a tag with the grip and its width; the fields hidden by their conditions are shown,
   faded; a field is moved with the mouse (or a long touch) - the line shows where it goes (form_arrange_* in edit_event.php)
   ===================================================================================== */
#preview.form_arrange_on #form_register_event * {
  pointer-events: none;
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"] {
  pointer-events: auto;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"]::before {
  content: "";
  position: absolute;
  top: -0.375rem;
  bottom: -0.125rem;
  left: calc(var(--falcon-gutter-x) * 0.5 - 0.3125rem);
  right: calc(var(--falcon-gutter-x) * 0.5 - 0.3125rem);
  border: 1px dashed var(--falcon-400);
  border-radius: 0.375rem;
  pointer-events: none;
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"]:hover::before {
  border-color: var(--falcon-primary);
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"].d-none {
  display: block !important;
  opacity: 0.55;
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"].form_arrange_moving {
  opacity: 0.3;
}

#preview .form_arrange_tag {
  position: absolute;
  top: -0.875rem;
  right: calc(var(--falcon-gutter-x) * 0.5 + 0.25rem);
  z-index: 2;
  padding: 0.0625rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.6944444444rem;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

#form_arrange_line {
  position: fixed;
  z-index: 1070;
  background-color: var(--falcon-primary);
  border-radius: 2px;
  pointer-events: none;
}

#form_arrange_ghost {
  position: fixed;
  z-index: 1071;
  max-width: 18rem;
  pointer-events: none;
}

body.form_arrange_grabbing,
body.form_arrange_grabbing * {
  cursor: grabbing !important;
}

/* Arrange Fields, stage 2 (03.11.2026): the handle of the width of a field - on its right edge (on the dashed border), shown when the mouse is
   over the field, always on the touch screens; the field resized has a solid border; the cursor while it is held */
#preview.form_arrange_on #form_register_event .form_arrange_resize {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  right: calc(var(--falcon-gutter-x) * 0.5 - 0.3125rem - 4px);
  z-index: 3;
  width: 7px;
  height: 1.75rem;
  margin-top: -0.875rem;
  border-radius: 4px;
  background-color: var(--falcon-400);
  cursor: ew-resize;
  touch-action: none;
  opacity: 0;
  transition: opacity 0.15s;
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"]:hover .form_arrange_resize,
#preview.form_arrange_on #form_register_event .form_arrange_resize.active {
  opacity: 1;
}

#preview.form_arrange_on #form_register_event .form_arrange_resize:hover,
#preview.form_arrange_on #form_register_event .form_arrange_resize.active {
  background-color: var(--falcon-primary);
}

@media (hover: none), (pointer: coarse) {
  #preview.form_arrange_on #form_register_event .form_arrange_resize {
    opacity: 1;
    width: 10px;
    height: 2.25rem;
    margin-top: -1.125rem;
    right: calc(var(--falcon-gutter-x) * 0.5 - 0.3125rem - 5px);
  }
}

#preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"].form_arrange_resizing::before {
  border-style: solid;
  border-color: var(--falcon-primary);
}

body.form_arrange_resizing,
body.form_arrange_resizing * {
  cursor: ew-resize !important;
}

/* while a field is resized or moved: the other fields don't light up under the mouse, their handles are hidden */
body.form_arrange_resizing #preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"]:not(.form_arrange_resizing):hover::before,
body.form_arrange_grabbing #preview.form_arrange_on #form_register_event .conditional_visibility[id^="div_"]:hover::before {
  border-color: var(--falcon-400);
}

body.form_arrange_resizing #preview.form_arrange_on #form_register_event .form_arrange_resize:not(.active),
body.form_arrange_grabbing #preview.form_arrange_on #form_register_event .form_arrange_resize {
  opacity: 0;
}

/* The fields of the forms 20, 40, 60 or 80% wide (03.11.2026 - format_field, get_event_form, field_width_changed): columns of fifths next to the
   Bootstrap ones of 25, 33, 50, 66, 75% (col-md-3 ... col-md-9), with the same rules - from 768 px wide; under it the field takes the whole row */
@media (min-width: 768px) {
  .col-md-w20 {
    flex: 0 0 auto;
    width: 20%;
  }

  .col-md-w40 {
    flex: 0 0 auto;
    width: 40%;
  }

  .col-md-w60 {
    flex: 0 0 auto;
    width: 60%;
  }

  .col-md-w80 {
    flex: 0 0 auto;
    width: 80%;
  }
}

/* =====================================================================================
   Form sections - Style, Icon, Collapsible (03.11.2026, Edit Form Field: Section Style; get_form_section_title_html, get_event_form)
   - the colors: --form-section-color (lines, texts - the color of the texts in the primary color), --form-section-fill and --form-section-on-fill
     (Solid Header), the theme colors here, the colors of the form when it has its own (get_form_primary_color_css)
   - the title only: .form_section_head.form_section_style_*; the whole section: the box .form_section_box with the title and the body of the
     section (its fields, a row of their own - .form_section_inner > .form_section_fields); Collapsible: the body is a Bootstrap collapse
   ===================================================================================== */
.form_section_head,
.form_section_box {
  --form-section-color: var(--falcon-primary);
  --form-section-fill: var(--falcon-primary);
  --form-section-on-fill: #fff;
  --form-section-soft: rgba(var(--falcon-primary-rgb), 0.1);
  --form-section-line: rgba(var(--falcon-primary-rgb), 0.45);
}

@supports (color: color-mix(in srgb, red 10%, transparent)) {
  .form_section_head,
  .form_section_box {
    --form-section-soft: color-mix(in srgb, var(--form-section-color) 11%, transparent);
    --form-section-line: color-mix(in srgb, var(--form-section-color) 45%, transparent);
  }
}

.form_section_head .form_section_title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.75rem;
}

.form_section_head .form_section_label {
  min-width: 0;
}

.form_section_head .form_section_icon_fa {
  flex: none;
}

/* Circles: the icon in the middle of the circles, instead of the dot */
.form_section_circles {
  position: relative;
  display: inline-block;
  flex: none;
  line-height: 0;
}

.form_section_circles .form_section_circles_icon {
  position: absolute;
  left: 13.76px;
  top: 15.75px;
  transform: translate(-50%, -50%);
  font-size: 0.6875rem;
  line-height: 1;
}

.form_section_style_circles .form_section_title {
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .form_section_style_circles .form_section_title {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }
}

/* Accent Bar */
.form_section_style_accent_bar .form_section_title {
  border-left: 0.25rem solid var(--form-section-color);
  padding-left: 0.75rem;
}

/* Centered Between Lines */
.form_section_style_centered .form_section_title {
  justify-content: center;
  text-align: center;
}

.form_section_line {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-top: 1px solid var(--form-section-line);
}

/* Double Rule */
.form_section_style_double_rule .form_section_title {
  border-bottom: 3px double var(--form-section-color);
  padding-bottom: 0.25rem;
}

/* Banner Strip */
.form_section_style_banner .form_section_title {
  background-color: var(--form-section-soft);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
}

/* Solid Header */
.form_section_style_solid .form_section_title {
  background-color: var(--form-section-fill);
  color: var(--form-section-on-fill);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
}

.form_section_style_solid .form_section_title .hover_colored {
  color: inherit;
}

/* Pill */
.form_section_style_pill .form_section_title {
  display: inline-flex;
  max-width: 100%;
  background-color: var(--form-section-soft);
  border-radius: 50rem;
  padding: 0.125rem 0.875rem;
}

/* Title and Subtitle: the hint under the title */
.form_section_subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0.5rem;
}

/* the hints of the sections (05.11.2026): the question mark takes the click also in a collapsible title - the theme makes all that is in a
   collapse toggle not clickable ([data-bs-toggle="collapse"] * in theme.css) - and does not open or close the section (get_event_form, the
   click in index.js); Hint Style (Edit Form Field): the small text under the title, in the title - in a collapsible title only its links take
   the click - or the text at the end of the section, after its fields (get_form_section_title_html, get_event_form) */
.form_section_toggle .form_section_hint,
.form_section_toggle .form_section_hint_title a {
  pointer-events: auto;
}

.form_section_hint_title {
  margin-top: 0.125rem;
  font-family: var(--falcon-body-font-family);
  line-height: 1.4;
  color: var(--falcon-600, #748194);
}

.form_section_style_solid .form_section_hint_title {
  color: inherit;
  opacity: 0.85;
}

.form_section_style_solid .form_section_hint_title a {
  color: inherit;
  text-decoration: underline;
}

.form_section_style_pill .form_section_title:has(.form_section_hint_title) {
  border-radius: 1rem;
}

.form_section_hint_end {
  margin-top: 0.75rem;
}

/* a section whose title is hidden by its conditions: its hint at the end is hidden too */
.form_section_box:has(> .form_section_head.d-none) .form_section_hint_end {
  display: none;
}

/* Big Number: 01, 02 ... - the sections with this style that are shown, in their order in the form */
#form_register_event {
  counter-reset: form_section_number;
}

.form_section_head.form_section_style_number {
  counter-increment: form_section_number;
}

.form_section_number {
  flex: none;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--form-section-line);
}

.form_section_number::before {
  content: counter(form_section_number, decimal-leading-zero);
}

/* Collapsible: the title opens and closes the section, the arrow turns */
.form_section_toggle {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.form_section_toggle:focus-visible {
  outline: 2px solid var(--form-section-color);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.form_section_chevron {
  flex: none;
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.form_section_toggle.collapsed .form_section_chevron {
  transform: rotate(-90deg);
}

.form_section_style_centered .form_section_chevron,
.form_section_style_pill .form_section_chevron,
.form_section_style_framed .form_section_chevron,
.form_section_style_tab .form_section_chevron {
  margin-left: 0;
}

@media (prefers-reduced-motion: reduce) {
  .form_section_chevron {
    transition: none;
  }
}

/* the box of a section (a Style of the whole section, or Collapsible): the title and the body directly in it */
.form_section_box {
  position: relative;
}

.form_section_box > .form_section_head {
  margin-bottom: 0 !important;
}

/* a closed section whose title is hidden by its conditions: its fields are shown (they have their own conditions) */
.form_section_box:has(> .form_section_head.d-none) > .form_section_body.collapse {
  display: block;
}

/* a section whose title is hidden by its conditions and none of its fields is shown (16.11.2026): its box is hidden too - before, the empty
   frame (Framed Section, Folder Tab) or the line (Left Rail, Timeline) stayed in the form; not in the Form Editor while arranging the fields
   (the hidden fields are shown there) */
.form_section_box:has(> .form_section_head.d-none):not(:has(> .form_section_body .conditional_visibility:not(.d-none))) {
  display: none;
}

#preview.form_arrange_on #form_register_event .form_section_box {
  display: block !important;
}

/* Framed Section: a frame around the section, broken by the title (the top of the frame is drawn by the title, the rest by the box) */
.form_section_box.form_section_style_framed::before {
  content: "";
  position: absolute;
  top: 1.375rem;
  bottom: 0;
  left: calc(var(--falcon-gutter-x) * 0.5);
  right: calc(var(--falcon-gutter-x) * 0.5);
  border: 1px solid var(--form-section-line);
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  pointer-events: none;
}

.form_section_style_framed .form_section_title {
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.form_section_style_framed .form_section_title > .form_section_icon_fa,
.form_section_style_framed .form_section_title > .form_section_chevron {
  line-height: 1.75rem;
}

.form_section_frame_start,
.form_section_frame_end {
  align-self: flex-start;
  height: 0.5rem;
  margin-top: 0.875rem;
  border-top: 1px solid var(--form-section-line);
}

.form_section_frame_start {
  flex: 0 0 0.75rem;
  border-left: 1px solid var(--form-section-line);
  border-top-left-radius: 0.5rem;
}

.form_section_frame_end {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-right: 1px solid var(--form-section-line);
  border-top-right-radius: 0.5rem;
}

.form_section_style_framed > .form_section_body > .form_section_inner {
  padding: 0.25rem 0.875rem 1rem;
}

.form_section_box.form_section_style_framed:has(> .form_section_head.d-none)::before {
  top: 0;
  border-top: 1px solid var(--form-section-line);
  border-radius: 0.5rem;
}

.form_section_style_framed:has(> .form_section_head.d-none) > .form_section_body > .form_section_inner {
  padding-top: 1rem;
}

/* Folder Tab: the title in a tab, the fields in a box under it */
.form_section_style_tab .form_section_title {
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
}

.form_section_tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--form-section-line);
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
}

.form_section_tab_line {
  flex: 1 1 1.5rem;
  border-bottom: 1px solid var(--form-section-line);
}

.form_section_style_tab > .form_section_body > .form_section_inner {
  padding: 0.75rem 0.875rem 1rem;
  border: 1px solid var(--form-section-line);
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Left Rail: a line along the whole section */
.form_section_box.form_section_style_rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--falcon-gutter-x) * 0.5);
  width: 2px;
  border-radius: 1px;
  background-color: var(--form-section-line);
  pointer-events: none;
}

.form_section_style_rail > .form_section_head .form_section_title,
.form_section_style_rail > .form_section_body > .form_section_inner {
  padding-left: 1rem;
}

.form_section_style_rail > .form_section_body > .form_section_inner {
  padding-bottom: 0.25rem;
}

/* Timeline: a dot at the title, a line from it to the end of the section - and on to the next section with the same style */
.form_section_box.form_section_style_timeline::before {
  content: "";
  position: absolute;
  top: 0.875rem;
  bottom: 0;
  left: calc(var(--falcon-gutter-x) * 0.5 + 0.375rem - 1px);
  width: 2px;
  background-color: var(--form-section-line);
  pointer-events: none;
}

.form_section_box.form_section_style_timeline:has(+ .form_section_box.form_section_style_timeline)::before {
  bottom: calc(-1 * var(--falcon-gutter-y) - 0.875rem);
}

.form_section_dot {
  position: relative;
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--form-section-color);
  box-shadow: 0 0 0 0.25rem var(--form-section-soft);
}

.form_section_style_timeline > .form_section_body > .form_section_inner {
  padding: 0 0 0.25rem 1.25rem;
}

/* the small text under the title (Hint Style "title", 06.11.2026): in a section drawn as a box - Framed Section, Left Rail, Timeline - more space
   between it and the first field of the section (the fields started right under it); Folder Tab has the space of its box already, the other
   styles the space of the row of the form; not when the title is hidden by its conditions */
.form_section_box:not(.form_section_style_tab):has(> .form_section_head:not(.d-none) .form_section_hint_title) > .form_section_body > .form_section_inner {
  padding-top: 0.75rem;
}

.form_section_box.form_section_style_framed:has(> .form_section_head:not(.d-none) .form_section_hint_title) > .form_section_body > .form_section_inner {
  padding-top: 1rem;
}

/* a section whose title is hidden by its conditions (16.11.2026): its fields that are shown are drawn as the plain fields of the form - no frame
   (Framed Section), no box (Folder Tab), no line (Left Rail, Timeline), no padding - as before the section styles; the line of a Timeline section
   above it stops at its own end; not in the Form Editor while arranging the fields (the hidden title is shown there) */
.form_section_box:has(> .form_section_head.d-none):not(#preview.form_arrange_on .form_section_box)::before {
  content: none;
}

.form_section_box:has(> .form_section_head.d-none):not(#preview.form_arrange_on .form_section_box) > .form_section_body > .form_section_inner {
  padding: 0;
  border: 0;
  border-radius: 0;
}

.form_section_box.form_section_style_timeline:has(+ .form_section_box.form_section_style_timeline > .form_section_head.d-none):not(#preview.form_arrange_on .form_section_box)::before {
  bottom: 0;
}

/* the window of an application (show_application, 05.11.2026): the application and its attached applications as Framed Sections - the name of
   the form bigger than in the forms (fs-0 of get_form_section_title_html), the line with the time it was submitted close under the title, more space
   after it, its text where the title starts (the start of the frame 0.75rem + the gap 0.5rem, less the padding of the frame 0.875rem) */
.application_framed .form_section_head .form_section_title {
  font-size: 1.2rem !important;
}

.application_framed .application_submitted {
  margin-top: -0.375rem;
  margin-bottom: 1rem;
  margin-left: 0.375rem;
}

/* Timeline with the small text under the title (Hint Style "title" - the forms, the window of an application, 05.11.2026): the dot, the icon and
   the arrow at the height of the title, not in the middle of the title and the small text (the line of the timeline starts at the dot: 0.875rem) */
.form_section_head.form_section_style_timeline .form_section_title:has(.form_section_hint_title) {
  align-items: flex-start;
}

.form_section_head.form_section_style_timeline .form_section_title:has(.form_section_hint_title) .form_section_dot {
  margin-top: 0.5rem;
}

.form_section_head.form_section_style_timeline .form_section_title:has(.form_section_hint_title) .form_section_icon_fa,
.form_section_head.form_section_style_timeline .form_section_title:has(.form_section_hint_title) .form_section_chevron {
  line-height: inherit;
}

/* the Form Editor while arranging the fields: the closed sections are shown open; the dashed border, the tag and the handle of the titles in a box
   (they have no padding of their own) */
#preview.form_arrange_on .form_section_body.collapse,
#preview.form_arrange_on .form_section_body.collapsing {
  display: block !important;
  height: auto !important;
}

#preview.form_arrange_on #form_register_event .form_section_box > .conditional_visibility[id^="div_"]::before {
  left: -0.3125rem;
  right: -0.3125rem;
}

#preview .form_section_box > .conditional_visibility[id^="div_"] > .form_arrange_tag {
  right: 0.25rem;
}

#preview.form_arrange_on #form_register_event .form_section_box > .conditional_visibility[id^="div_"] .form_arrange_resize {
  right: calc(-0.3125rem - 4px);
}

/* Edit Form Field: the list of the icons of a section */
.field_section_icon_menu {
  width: 21rem;
  max-width: calc(100vw - 2rem);
}

.field_section_icon_list {
  max-height: 16rem;
  overflow-y: auto;
}

.field_section_icon_menu .field_section_icon_item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
}


/* =====================================================================================
   Form editors - the title of a field renamed with a double click on it in the preview (04.11.2026, form_rename_* of get_form_editor_tools_script):
   its box takes the mouse in Arrange Fields too (the fields of the preview don't react to it there)
   ===================================================================================== */
#preview.form_arrange_on #form_register_event .form_rename_box,
#preview.form_arrange_on #form_register_event .form_rename_box * {
  pointer-events: auto;
  cursor: auto;
  user-select: text;
  -webkit-user-select: text;
}


/* =====================================================================================
   Form Editor - Desktop, Tablet, Phone (04.11.2026, form_device_* of get_form_editor_tools_script): the public page of the form in the frame
   of a tablet or of a phone, instead of the preview - the frame in the first color of the form (--form-device-color, in the dark theme
   --form-device-color-dark when the form has its own dark colors - form_device_color_apply), the primary color without them; the size of the
   frame, its bezel, its corners and its camera are set by the script and change with an animation (the page in it is drawn again at each step)
   ===================================================================================== */
.form_device_frame {
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0.5rem auto 0;
  background: var(--form-device-color, var(--falcon-primary));
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.22), inset 0 0 0 2px rgba(0, 0, 0, 0.18);
  box-shadow: 0 0.75rem 2rem color-mix(in srgb, var(--form-device-color, var(--falcon-primary)) 35%, transparent), inset 0 0 0 2px rgba(0, 0, 0, 0.18);
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out, padding 0.5s ease-in-out, border-radius 0.5s ease-in-out, background-color 0.3s;
}

.dark .form_device_frame {
  background: var(--form-device-color-dark, var(--form-device-color, var(--falcon-primary)));
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(0, 0, 0, 0.18);
}

.form_device_camera {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1rem;
  background: #10161f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out, top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.form_device_screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  transition: border-radius 0.5s ease-in-out;
}

.form_device_screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.form_device_loading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
}

/* the size at once (the first size, the window resized) */
.form_device_frame.form_device_still,
.form_device_frame.form_device_still * {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .form_device_frame,
  .form_device_frame * {
    transition: none !important;
  }
}


/* =====================================================================================
   Chat - stage 5a (04.11.2026): the groups - the system messages (created, added, left... - get_chat_message_html) as a line in the middle, the
   name of the sender above the first of its messages, the picture of the group in the Information panel (the admins change it: a camera on it)
   ===================================================================================== */
.chat-page .chat-msg.chat-msg-system {
  padding-top: 0.75rem;
}

.chat-page .chat-msg.chat-msg-system + .chat-msg:not(.chat-msg-system) {
  padding-top: 0.75rem;
}

.chat-page .chat-system-text {
  display: inline-block;
  max-width: 85%;
  padding: 0.125rem 0.75rem;
  border: 1px dashed var(--falcon-300);
  border-radius: 1rem;
  overflow-wrap: anywhere;
}

.chat-page .chat-msg.chat-msg-continued .chat-msg-name {
  display: none;
}

.chat-page .chat-group-photo {
  display: inline-block;
}

.chat-page .chat-group-photo-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--falcon-primary);
  color: #fff;
  font-size: 0.6875rem;
  box-shadow: 0 0 0 2px var(--falcon-card-bg, #fff);
}

.chat-page .chat-group-member .dropdown-toggle {
  line-height: 1;
}



/* =====================================================================================
   Chat - stage 5b (04.11.2026): the mentions of the groups - @Name in the messages (chat-mention; the account and @all: chat-mention-me), the
   messages that mention the account (a line on their left), the list of the members after @ in the message bar (#chat_mention_list), the @
   button above the button of the latest messages; Message Info (#chat_message_info)
   ===================================================================================== */
.chat-page .chat-mention {
  font-weight: 600;
  color: var(--falcon-primary);
}

.chat-page .chat-msg-mine .chat-mention {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-page .chat-mention-me {
  padding: 0 0.125rem;
  border-radius: 0.25rem;
  background-color: rgba(var(--falcon-primary-rgb), 0.14);
}

.chat-page .chat-msg-mention-me .chat-message {
  box-shadow: inset 3px 0 0 var(--falcon-primary);
}

.chat-page .chat-mention-list {
  position: absolute;
  left: 3.5rem;
  bottom: calc(100% + 0.25rem);
  width: 18rem;
  max-width: calc(100% - 4rem);
  max-height: 15rem;
  overflow-y: auto;
  margin: 0;
  z-index: 5;
  font-size: 0.8333333333rem;
}

.chat-page .chat-mention-item {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.chat-page .chat-mention-item .avatar-name {
  font-size: 0.6rem;
}

.chat-page .chat-jump-mention {
  bottom: 1rem;
}

.chat-page #chat_jump_bottom:not(.d-none) + .chat-jump-mention {
  bottom: 3.75rem;
}

.chat-info-card {
  width: 17rem;
  max-height: 22rem;
  overflow-y: auto;
  color: var(--falcon-body-color);
}

.chat-info-card .chat-info-group {
  padding: 0.375rem 1rem;
}

.chat-info-card .chat-info-group + .chat-info-group {
  border-top: 1px solid var(--falcon-border-color);
}

/* =====================================================================================
   Chat - stage 8a (04.11.2026): Forwarded above a message forwarded (chat-forwarded), the message in the Forward window (chat-forward-preview)
   ===================================================================================== */
.chat-page .chat-forwarded {
  font-style: italic;
  color: var(--falcon-gray-600);
  margin-bottom: 0.2rem;
}

.chat-page .chat-msg-mine .chat-forwarded {
  color: rgba(255, 255, 255, 0.85);
}

.chat-forward-preview {
  border-left: 3px solid var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.08);
  border-radius: 0.25rem;
  padding: 0.35rem 0.6rem;
  overflow-wrap: anywhere;
  max-height: 6rem;
  overflow-y: auto;
}

/* =====================================================================================
   Chat - stage 8b (04.11.2026): an automatic group that is read-only (chat-read-only) - no React, no Reply, the reactions can't be clicked
   ===================================================================================== */
.chat-page .chat-read-only .chat-msg-actions .chat-option-react,
.chat-page .chat-read-only .chat-msg-actions .chat-option-reply {
  display: none;
}

.chat-page .chat-read-only .chat-reaction {
  pointer-events: none;
  cursor: default;
}


/* =====================================================================================
   My Profile (04.11.2026, profile stage 1): the hero card (a blue band, the photo over its edge, the Profile Completed ring), the tabs, the tiles,
   Needs Your Attention, About You (read / Edit), My Account, the tiles of Your Documents - index.php (action profile), get_user_documents (tiles)
   ===================================================================================== */
#profile_page .min-w-0 {
  min-width: 0;
}

.profile-hero-band {
  height: 7rem;
  background-color: #163f7a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

.dark .profile-hero-band {
  background-color: #0e2a52;
}

.profile-hero-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 0 1.5rem;
}

.profile-hero-photo {
  position: relative;
  flex: none;
  margin-top: -3rem;
}

.profile-hero-photo .avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--falcon-card-bg), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.profile-hero-photo .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero-photo .avatar .avatar-name {
  font-size: 2.4rem;
}

.profile-hero-camera {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--falcon-800);
  background-color: var(--falcon-card-bg);
  box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1), 0 2px 5px 0 rgba(43, 45, 80, 0.12);
}

.profile-hero-camera:hover {
  color: var(--falcon-primary);
}

.profile-hero-info {
  flex: 1 1 18rem;
  min-width: 0;
  padding-top: 1rem;
}

.profile-hero-name {
  color: var(--falcon-900);
  font-weight: 500;
}

/* the Profile Completed ring on the left, its texts and the Upload Document button on the right, under each other */
.profile-hero-side {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.profile-hero-side-text {
  min-width: 0;
}

.profile-ring {
  flex: none;
}

.profile-ring-track {
  fill: none;
  stroke: var(--falcon-200);
  stroke-width: 8;
}

.profile-ring-value {
  fill: none;
  stroke: var(--falcon-primary);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.4s ease;
}

.profile-ring-text {
  font-size: 17px;
  font-weight: 600;
  fill: var(--falcon-900);
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  padding: 0 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--falcon-200);
}

.profile-tab {
  border: 0;
  background: transparent;
  padding: 0.85rem 0.25rem;
  font-size: 0.875rem;
  color: var(--falcon-800);
  box-shadow: none;
}

.profile-tab:hover {
  color: var(--falcon-primary);
}

.profile-tab.active {
  color: var(--falcon-primary);
  font-weight: 500;
  box-shadow: inset 0 -3px 0 var(--falcon-primary);
}

/* the tiles of the Overview: each row filled evenly by its tiles, even when there are fewer tiles than the row has room for (a flex row, at least 13rem a tile) */
.profile-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.profile-tiles > .profile-tile {
  flex: 1 1 13rem;
  min-width: 0;
}

.profile-tile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem;
  border: 0;
  border-radius: 0.375rem;
  text-align: left;
  background-color: var(--falcon-card-bg);
  box-shadow: var(--falcon-box-shadow);
}

button.profile-tile:hover .profile-tile-chevron {
  color: var(--falcon-primary);
}

.profile-tile-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.profile-tile-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.profile-tile-value {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--falcon-900);
}

.profile-tile-label {
  font-size: 0.8rem;
  color: var(--falcon-700);
}

.profile-tile-chevron {
  color: var(--falcon-500);
  font-size: 0.8rem;
}

/* Needs Your Attention */
.profile-attention-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--falcon-200);
}

.profile-attention-row:last-child {
  border-bottom: 0;
}

.profile-attention-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About You: the values (read), the groups opened with Edit, all of them in the Personal Details tab */
.profile-read-label {
  font-size: 0.75rem;
  color: var(--falcon-700);
  margin-bottom: 0.15rem;
}

.profile-read-value {
  color: var(--falcon-900);
  overflow-wrap: anywhere;
}

.profile-missing {
  font-size: 0.85rem;
  color: #9d5228;
}

.dark .profile-missing {
  color: #f5a26f;
}

.profile-group-title {
  font-weight: 600;
}

.profile-group-sep {
  margin: 1.25rem 0;
  border-top: 1px dashed var(--falcon-300);
  opacity: 1;
}

.profile-group .profile-group-form,
.profile-group .profile-group-done-btn {
  display: none;
}

.profile-group.editing .profile-group-form {
  display: block;
  padding: 1rem 1rem 0;
  border-radius: 0.375rem;
  background-color: var(--falcon-100);
  box-shadow: inset 0 0 0 1px var(--falcon-300);
}

.profile-group.editing .profile-group-read,
.profile-group.editing .profile-group-edit-btn {
  display: none !important;
}

.profile-group.editing .profile-group-done-btn {
  display: inline-block;
}

#profile_about.profile-about-all .profile-group .profile-group-form {
  display: block;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

#profile_about.profile-about-all .profile-group-read,
#profile_about.profile-about-all .profile-group-edit-btn,
#profile_about.profile-about-all .profile-group-done-btn {
  display: none !important;
}

.profile-about-note {
  display: none;
}

#profile_about.profile-about-all .profile-about-note,
#profile_about .profile-group.editing ~ .profile-about-note {
  display: block;
}

/* About You › Company (16.11.2026, optional): hidden in Personal Details, alone in Company Details (profile_tab) */
#profile_about.profile-about-personal .profile-company-wrap {
  display: none;
}

#profile_about.profile-about-company .profile-group:not([data-group="company"]),
#profile_about.profile-about-company .profile-group-sep,
#profile_about.profile-about-company .profile-about-note {
  display: none !important;
}

/* My Account, the setting lines of Login and Security and Preferences */
.profile-shortcut {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-bottom: 1px solid var(--falcon-200);
  background: transparent;
}

.profile-shortcut:last-child {
  border-bottom: 0;
}

.profile-shortcut:hover {
  background-color: var(--falcon-100);
}

.profile-shortcut-icon {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--falcon-primary);
  background-color: var(--falcon-100);
}

.dark .profile-shortcut-icon {
  background-color: var(--falcon-200);
}

.profile-setting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--falcon-200);
}

.card-body > .profile-setting-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.profile-theme-switch .btn {
  flex: 1;
}

/* the theme switch of the template hides the label of the theme in use (theme.css - the toggle of the top menu): here both are shown, the one
   in use marked */
.profile-theme-switch .btn-check[data-theme-control]:checked + label {
  display: inline-block;
  color: var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--falcon-primary-rgb), 0.35);
}

/* Your Documents: the filters, the tiles */
.profile-filter {
  border-radius: 50rem;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  color: var(--falcon-800);
  background-color: var(--falcon-card-bg);
  box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1), 0 2px 5px 0 rgba(43, 45, 80, 0.08);
}

.profile-filter.active {
  color: var(--falcon-primary);
  background-color: rgba(var(--falcon-primary-rgb), 0.1);
  box-shadow: 0 0 0 1px rgba(var(--falcon-primary-rgb), 0.35);
}

.profile-filter-count {
  opacity: 0.75;
}

/* the document tiles: at most 5 in a row, each at least 23rem wide so its buttons fit on one line (fewer in a row on the smaller screens, one
   on the phones) - 04.11.2026 */
.profile-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(23rem, calc((100% - 4rem) / 5))), 1fr));
  gap: 1rem;
}

.profile-doc-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--falcon-300);
  border-radius: 0.375rem;
  background-color: var(--falcon-card-bg);
  min-width: 0;
}

.profile-doc-icon {
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.profile-doc-name {
  font-weight: 500;
  color: var(--falcon-900);
  overflow-wrap: anywhere;
}

.profile-doc-hint {
  font-size: 0.8rem;
  color: var(--falcon-600);
  vertical-align: baseline;
}

.profile-doc-detail {
  font-size: 0.8rem;
  color: var(--falcon-700);
}

.profile-doc-bar {
  height: 5px;
  border-radius: 3px;
  margin-top: -0.25rem;
  background-color: var(--falcon-200);
  overflow: hidden;
}

.profile-doc-bar > div {
  height: 5px;
  border-radius: 3px;
}

.profile-doc-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  border-top: 1px solid var(--falcon-200);
}

.profile-doc-item-name {
  color: var(--falcon-900);
  overflow-wrap: anywhere;
}

.profile-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.profile-doc-icon-btn {
  padding: 0.2rem 0.5rem;
}

.profile-docs-empty {
  grid-column: 1 / -1;
}

/* the tile of a type with several files, after its files (each file has its own tile): only to add one */
.profile-doc-tile.profile-doc-add {
  border-style: dashed;
  border-color: var(--falcon-400);
  background-color: transparent;
}

/* phones: the tabs scroll sideways, the tiles in two columns, the buttons of Needs Your Attention under their text */
.profile-attention-row > .flex-1 {
  flex: 1 1 14rem;
}

@media (max-width: 575.98px) {
  .profile-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
  }

  .profile-tab {
    white-space: nowrap;
  }

  .profile-hero-body {
    padding: 0 1rem;
  }

  .profile-tiles {
    gap: 0.75rem;
  }

  .profile-tiles > .profile-tile {
    flex-basis: calc(50% - 0.375rem);
  }

  .profile-tile {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .profile-tile-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }

  .profile-tile .profile-tile-chevron {
    display: none;
  }

  .profile-attention-row {
    padding: 0.8rem 1rem;
  }

  .profile-attention-row > .btn {
    margin-left: 3.15rem;
  }
}

/* My Profile › Invoicing and Delivery (04.11.2026, profile stage 2): the saved invoicing details and delivery addresses, the tile that adds one */
.profile-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1rem;
}

.profile-address-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--falcon-300);
  border-radius: 0.375rem;
  background-color: var(--falcon-card-bg);
  min-width: 0;
}

.profile-address-name {
  overflow-wrap: anywhere;
}

.profile-address-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 9rem;
  padding: 1rem;
  border: 1px dashed var(--falcon-400);
  border-radius: 0.375rem;
  color: var(--falcon-primary);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--falcon-100);
}

.profile-address-add:hover {
  border-color: var(--falcon-primary);
}

.profile-address-add-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--falcon-primary-rgb), 0.1);
}

/* My Profile › Notifications (04.11.2026, profile stage 3): each kind of the notifications - In the Bell, On My Devices */
.profile-notify-table th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--falcon-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom-color: var(--falcon-300);
}

.profile-notify-table td {
  vertical-align: middle;
  border-bottom-color: var(--falcon-200);
}

.profile-notify-table tbody tr:last-child td {
  border-bottom: 0;
}

.profile-notify-table th:not(:first-child),
.profile-notify-table td:not(:first-child) {
  width: 9rem;
}

.profile-notify-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--falcon-primary);
  background-color: var(--falcon-100);
}

.dark .profile-notify-icon {
  background-color: var(--falcon-200);
}

.profile-notify-table tr.profile-notify-off .profile-notify-icon,
.profile-notify-table tr.profile-notify-off .fw-medium {
  opacity: 0.55;
}

.profile-notify-table .form-switch .form-check-input {
  margin-left: 0;
  float: none;
}

/* phones: both switches in sight - narrower columns, the headers on 2 lines, no icons */
@media (max-width: 575.98px) {
  .profile-notify-table th {
    font-size: 0.65rem;
    white-space: normal;
  }

  .profile-notify-table th:not(:first-child),
  .profile-notify-table td:not(:first-child) {
    width: 4.75rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .profile-notify-table .profile-notify-icon {
    display: none;
  }

  .profile-notify-table .profile-notify-icon + div {
    margin-left: 0 !important;
  }
}

/* My Profile: the roles under the name - a new line after every 5 roles (index.php), on the wide screens */
.profile-roles-break {
  flex-basis: 100%;
  height: 0;
}

@media (max-width: 1199.98px) {
  .profile-roles-break {
    display: none;
  }
}


/* =====================================================================================
   Chat - stage C1 of the calls (05.11.2026): the window of a call (php/ajax/chat_call_window.php - dark, the picture of the other person on the
   whole window in the video calls, mine in a corner, the buttons at the bottom) and the dialog of the call that rings, on every page (chat.js)
   stage C2 (05.11.2026): the picture of the other person in any call (camera or screen), Switch Camera, Share Your Screen
   ===================================================================================== */

.chat-call-body {
  margin: 0;
  overflow: hidden;
  background-color: #0b1727;
}

.chat-call {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #0b1727;
  overflow: hidden;
}

.chat-call-person {
  position: relative;
  z-index: 2;
  max-width: 90%;
  margin-bottom: 4rem;
  text-align: center;
}

.chat-call-person .avatar {
  margin: 0 auto;
}

.chat-call-name {
  color: #fff;
}

.chat-call-status,
.chat-call-top-status {
  min-height: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.chat-call-remote-state {
  margin-top: 0.5rem;
  font-size: 0.8333333333rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-call-remote {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}

/* stage C2: the picture of the other person instead of its name, while it sends one (its camera or its screen - in any call); its screen
   whole (not cut) */
.chat-call-remote-video .chat-call-person {
  display: none;
}

.chat-call-remote-screen .chat-call-remote {
  object-fit: contain;
}

.chat-call-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  background-color: rgba(0, 0, 0, 0.35);
}

.chat-call-local {
  position: absolute;
  right: 1rem;
  bottom: 6rem;
  z-index: 3;
  width: 28%;
  max-width: 14rem;
  border-radius: 0.25rem;
  object-fit: cover;
  transform: scaleX(-1);
  background-color: #000;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}

/* my picture: as in a mirror only for the camera in front (not the camera at the back, not my screen) */
.chat-call-local.chat-call-local-back,
.chat-call-local.chat-call-local-screen {
  transform: none;
}

.chat-call-local.chat-call-local-screen {
  object-fit: contain;
}

.chat-call-notice {
  position: absolute;
  top: 5rem;
  left: 50%;
  z-index: 4;
  max-width: 90%;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  transform: translateX(-50%);
  font-size: 0.8333333333rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.55);
}

.chat-call-sound {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
}

.chat-call-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: 0.75rem;
  transform: translateX(-50%);
}

/* the buttons of the call: the corners of the site's buttons */
.chat-call-button {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  font-size: 1.25rem;
  color: #fff;
  border: 0;
  background-color: rgba(255, 255, 255, 0.15);
}

.chat-call-button:hover,
.chat-call-button:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.25);
}

.chat-call-button:disabled {
  color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.08);
}

.chat-call-button.chat-call-button-off,
.chat-call-button.chat-call-button-off:hover {
  color: #0b1727;
  background-color: #fff;
}

/* Share Your Screen while the screen is shared */
.chat-call-button.chat-call-button-on,
.chat-call-button.chat-call-button-on:hover,
.chat-call-button.chat-call-button-on:focus {
  color: #fff;
  background-color: var(--falcon-primary);
}

.chat-call-button.chat-call-hangup,
.chat-call-button.chat-call-hangup:hover,
.chat-call-button.chat-call-hangup:focus {
  color: #fff;
  background-color: var(--falcon-danger);
}

.chat-call-ended {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 4;
  width: 90%;
  transform: translateX(-50%);
  text-align: center;
}

.chat-call-ended-text {
  font-size: 1.2rem;
}

.chat-call-ended-time {
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

/* the dialog of the call that rings, on every page (chat.js), above the windows and the popups of the messages */
.chat-call-dialog {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1095;
  width: 22rem;
  max-width: calc(100% - 2rem);
  animation: chat-call-dialog-in 0.25s ease-out;
}

.chat-call-dialog-answer .fas {
  animation: chat-call-ring 1.25s ease-in-out infinite;
}

@keyframes chat-call-dialog-in {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chat-call-ring {
  0%, 50%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-15deg);
  }
  20%, 40% {
    transform: rotate(15deg);
  }
}

@media (max-width: 575.98px) {
  .chat-call-dialog {
    left: 1rem;
    width: auto;
  }

  .chat-call-local {
    width: 32%;
  }
}

/*   Form Editor (edit_event.php, form-editor-sidebar - 06.11.2026): on large screens the right part (Design, Title and Description, Form Fields...)  */
/*   is at most as high as the window and scrolls by itself under the mouse wheel, without a scrollbar, so it looks as before; at its top / bottom   */
/*   the wheel goes on with the page, and over the page, at the top / bottom of the page, it goes on with the right part (form_editor_wheel).         */
/*   It starts 0.5rem higher, with 0.5rem inside (instead of mt-1), so the cards stay where they were (sticky-sidebar: top 4.6rem) and the shadow     */
/*   of the first card is not cut. Small screens (the parts one under the other): as before                                                          */
/*   (to go back: delete these 2 rules and the class form-editor-sidebar in edit_event.php)                                                          */
@media (min-width: 992px) {
  .form-editor-sidebar {
    top: 4.1rem;
    margin-top: -0.25rem !important;
    padding-top: 0.5rem;
    max-height: calc(100vh - 4.1rem);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .form-editor-sidebar::-webkit-scrollbar {
    display: none;
  }
}



/* -------------------------------------------------------------------------- */
/*   The flag of the language in the menu of the languages (08.11.2026)        */
/* -------------------------------------------------------------------------- */
/* index.php, $menu_language_flag_html: the flag of the language of the page instead of the icon of a flag - grey, in color under the mouse and while
   its menu is open; the icon of the flag stays (not seen: transparent), so the menu keeps its sizes and places; the flag in its middle, as high as the
   icons near it (33px, shrink-7: about 18px)
   12:5x: will-change - the flag is drawn on a layer of its own before, while and after its color changes (without it the browser drew it in another way
   while the color changed - on the screens of 150 % its stars and stripes moved), with the pictures of its exact sizes (index.php - srcset) */
.platform_menu_flag {
  position: relative;
  color: transparent;
}

.platform_menu_flag img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
  will-change: filter, opacity;
}

.nav-link:hover .platform_menu_flag img,
.nav-link:focus-visible .platform_menu_flag img,
.nav-link.show .platform_menu_flag img {
  filter: none;
  opacity: 1;
}