/* =========================
   Pointer / Disabled / Result
   ========================= */
.pointer {
    cursor: pointer;
}

.disable {
    opacity: 0.3;
    pointer-events: none;
}

.disable:hover {
    background-color: transparent;
}

#result {
    margin: 10px 0;
}




/*help */
.content-help{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #f1f6f3;
  color: #5d6961;
  font-size: 13px;
}

.content-help p{
  margin: 0;
  line-height: 1.45;
}

.content-page .content-help a{
  color: #0f7d3b;
  font-weight: 650;
}

.content-help-ico{
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #149447;
}

.content-help-ico svg{
  width: 22px;
  height: 22px;
  display: block;
}





/* =========================
   jBox Login / Tooltips
   ========================= */
#jBoxLogin .jBox-content {
    padding: 0;
}

#jBoxLogin .jBox-title {
    text-align: center;
    line-height: 1.6;
    padding: 15px 0;
    font-size: 20px;
    background-color: rgb(105 149 124);
    color: #f5f5f5;
}

.jBox-TooltipSmall.LoginTooltipSmall .jBox-content,
.jBox-TooltipError.LoginTooltipError .jBox-content {
    font-size: 13px;
    padding: 5px 10px;
    line-height: 18px;
}

.jBox-TooltipSmall.LoginTooltipSmall .jBox-container,
.jBox-TooltipError.LoginTooltipError .jBox-container {
    border-radius: 2px;
    font-weight: bold;
    color: #fff;
}

.jBox-TooltipSmall.LoginTooltipError .jBox-container {
    background: #d00;
}

.jBox-TooltipSmall.LoginTooltipSmall .jBox-container {
    background: #246bb3;
}

.jBox-TooltipSmall.LoginTooltipSmall .jBox-pointer:after {
    background: #246bb3;
}

/* =========================
   Login Box (jBox content)
   ========================= */
.login-container {
    display: none;
}

.login-container.active {
    display: block;
}

.login-body {
    padding: 0 25px;
}

.login-container button {
    margin: 25px 0 0;
}

.login-textfield-wrapper {
    position: relative;
}

.login-remember {
    margin: 25px 0 0;
    height: 20px;
}

#LoginWrapper.request-running .login-footer a,
#LoginWrapper.request-running .login-footer span {
    cursor: default !important;
    text-decoration: none !important;
}

/* Form elements */
.login-textfield {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #ddd;
    padding: 6px 2px;
    font-size: 18px;
    margin-top: 25px;
    transition: border-color .2s;
}

.login-textfield:hover {
    border-bottom-color: #ccc;
}

.login-textfield:focus {
    border-bottom-color: #246bb3;
}

.login-textfield.textfield-error {
    border-bottom-color: #d00;
}

.login-checkbox {
    float: left;
    position: relative;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: #eee;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
    transition: background-color .2s;
}

.login-checkbox.login-checkbox-active {
    box-shadow: none;
    background: #7d0;
}

.login-checkbox-check {
    opacity: 0;
    background: no-repeat center center;
    background-size: 14px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MjQuNTMgMzE1LjczIj4KPHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTQ2NS4wNywxNTMuNmExMC4zMSwxMC4zMSwwLDAsMCwwLTE0LjkzTDQyOC44LDEwMi40YTEwLjMxLDEwLjMxLDAsMCwwLTE0LjkzLDBMMjAwLjUzLDMxNS43Myw5OC4xMywyMTMuMzNhMTAuMzEsMTAuMzEsMCwwLDAtMTQuOTMsMEw0Ni45MywyNDkuNmExMC4zMSwxMC4zMSwwLDAsMCwwLDE0LjkzbDE0Ny4yLDE0Ny4yYTEwLjMxLDEwLjMxLDAsMCwwLDE0LjkzLDBsMjU2LTI1OC4xM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00My43MyAtOTkuMikiLz4KPC9zdmc+);
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    transition: opacity .2s;
}

.login-checkbox.login-checkbox-active .login-checkbox-check {
    opacity: 1;
}

.login-checkbox-label {
    float: left;
    cursor: pointer;
    width: calc(100% - 20px);
    line-height: 20px;
    font-size: 17px;
    padding: 0 0 0 12px;
    user-select: none;
}

/* Login button */
.login-button {
    width: 100%;
    border: 0;
    color: #fff;
    background: #27ae60;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    padding: 0;
    transition: background-color .2s;
}

.login-button:hover,
.login-button:active {
    background: #26c369;
}

.login-button[disabled] {
    cursor: default !important;
    color: #ccc !important;
    background: #eee !important;
}

/* Loading stripe */
.loading-bar,
.login-button[disabled].loading-bar {
    background-image: linear-gradient(-45deg,
        rgba(255, 255, 255, .4) 25%,
        rgba(255, 255, 255, .0) 25%,
        rgba(255, 255, 255, .0) 50%,
        rgba(255, 255, 255, .4) 50%,
        rgba(255, 255, 255, .4) 75%,
        rgba(255, 255, 255, .0) 75%,
        rgba(255, 255, 255, .0)
    ) !important;
    background-size: 32px 32px !important;
    background-repeat: repeat !important;
    transition: background-position 60000s linear !important;
    background-position: 4000000px !important;
}

/* Footer in jBox login */
.login-footer {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-radius: 0 0 4px 4px;
    font-size: 17px;
    line-height: 1.6;
    padding: 15px 0 15px 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.login-footer span {
    cursor: pointer;
    color: #297acc;
}

.login-footer span:hover {
    text-decoration: underline;
}

/* =========================
   Paginator
   ========================= */
.paginator_container {
    background: #fdfdfd;
    padding: .2rem;
    margin: .5rem auto;
    border-radius: 0.2rem;
    box-shadow: 0 1.6px 3.6px 0 rgb(0 0 0 / 13%),
                0 0.3px 0.9px 0 rgb(0 0 0 / 11%);
    counter-reset: pagination;
    text-align: center;
}

.paginator_container .paginator {
    box-sizing: border-box;
    padding-top: 3px;
}

.paginator_container .paginator a,
.paginator_container .paginator span.current,
.paginator_container .paginator span.empty {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 0.2rem;
    line-height: 1.4rem;
    font-size: 1rem;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    margin: 0 5px;
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
	box-shadow: 0 1.6px 3.6px 0 rgb(0 0 0 / 13%),
			0 0.3px 0.9px 0 rgb(0 0 0 / 11%);
}

.paginator_container .paginator .pages a svg, .paginator_container .paginator .pages svg {
	margin-top: 3px;
}


.paginator_container .paginator a,
.paginator_container .paginator span {
    color: rgba(0, 0, 0, 0.87);
}

.paginator_container .paginator span.current {
    color: #ffffff;
    background: #019d91;
    font-weight: 600;
    box-shadow: 0 1.6px 3.6px 0 rgb(0 0 0 / 13%),
                0 0.3px 0.9px 0 rgb(0 0 0 / 11%);
}

/* ✅ fixed selector: added missing space */
.paginator_container .paginator a:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transform: scale(1.2);
    font-size: 1.6rem;
    line-height: 1.6rem;
    box-shadow: 0 1.6px 3.6px 0 rgb(0 0 0 / 13%),
                0 0.3px 0.9px 0 rgb(0 0 0 / 11%);
    background: #f2f2f2;
}

.paginator_container .paginator .pag_right a,
.paginator_container .paginator .pag_right span.current {
    width: auto;
    padding: 0 10px;
}

.paginator_container .paginator .pages {
    margin: 0 auto;
}

.paginator_container .paginator .pag_right {
    float: right;
}

/* =========================
   Blockquote
   ========================= */
blockquote {
    color: #6a737d;
    font-size: 16px;
    margin: 0 0 16px;
    padding: 0 1em;
    background-color: rgba(255, 229, 100, .3);
    border-left: 8px solid #ffe564;
}

/* =========================
   Content Wrapper / Wrapper
   ========================= */
#content-wrap {
    position: relative; /* keeps overlays (loader, popup) positioned correctly */
}

.wrapper {
    background: #fff;
}

/* =========================
   Foundation-style Alerts
   ========================= */
.alert-box {
    border-width: 0;
    display: block;
    font-weight: normal;
    margin-bottom: 1.25em;
    position: relative;
    padding: 0.6875em 1.3125em 0.75em 0.6875em;
    font-size: 0.875em;
    background-color: #2ba6cb;
    color: white;
    border-radius: 4px;
}

.alert-box .close {
    font-size: 1.1em;
    padding: 5px 4px 4px;
    line-height: 0;
    position: absolute;
    top: 0.2375em;
    right: 0.3125em;
    color: #FFF;
    opacity: 0.7;
}

.alert-box .close:hover,
.alert-box .close:focus {
    opacity: 0.9;
}

.alert-box.radius {
    border-radius: 3px;
}

.alert-box.round {
    border-radius: 1000px;
}

.alert-box.success    { background-color: #2ecc71; color: #ffffff; }
.alert-box.alert      { background-color: #e74c3c; color: #ffffff; }
.alert-box.secondary  { background-color: #34495e; color: #ffffff; }
.alert-box.info       { background-color: #3498db; color: #ffffff; }
.alert-box.primary    { background-color: #1abc9c; color: #ffffff; }
.alert-box.default    { background-color: #bdc3c7; color: #ffffff; }
.alert-box.warning    { background-color: #f1c40f; color: #ffffff; }

/* =========================
   Generic Box
   ========================= */
.box-content {
    padding: 20px;
    background-color: #EFEFEF;
}

/* =========================
   Inform Blocks
   ========================= */
.block-inform-alert,
.block-inform-cart,
.block-inform-error,
.block-inform-info,
.block-inform-success {
    background-position: 16px 16px;
    background-repeat: no-repeat;
    background-size: 22px 22px;
    border-radius: 6px;
    display: block;
    margin: 4px 3px;
    padding: 15px 15px 15px 78px;
    text-align: left;
}

.block-inform-info {
    background: linear-gradient(149deg,
                    rgba(223, 228, 229, 0.5),
                    rgb(167 167 167 / 50%)
                ),
                url(../img/info_note.webp);
    background-size: cover, 40px 40px;
    background-position: center, 3px center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    color: #34495e;
    padding-left: 50px;
}

.block-inform-cart {
    background-color: #c9eddc;
    background-image: url(../img/inform-cart.png);
    color: #234e4c;
}

.block-inform-alert {
    background: #ffefce;
    background-image: url(../img/alert.svg);
    background-size: 85px !important;
    background-repeat: no-repeat !important;
    background-position: 0 0 !important;
    color: #1d1d1d;
    text-shadow: 1px 1px 1px #ca820f;
}

.block-inform-success {
    background-color: #16a085;
    background-image: url(../img/info-ok.webp);
    background-size: 55px;
    background-position: 3px 6px;
    color: #fff;
    text-shadow: 1px 1px 1px #0f715e;
}

.block-inform-error {
    background-color: #e74c3c;
    background-image: url(../img/info-stop.png);
    background-size: 55px;
    background-position: 3px 6px;
    color: #fff;
    text-shadow: 1px 1px 1px #c0392b;
}

/* =========================
   Textarea Default
   ========================= */
textarea {
    background-color: #FAFAFA;
    border: #EFEFEF solid 1px;
    color: #333;
    height: 150px;
    width: 100%;
}

/* =========================
   Header Buttons (h1/h2)
   ========================= */
.btn-h1,
.btn-h2 {
    flex: 0;
    font-size: .8rem;
    text-transform: uppercase;
    margin: 3px 0 3px 10px;
    padding: 6px 18px 5px;
    border-radius: 2px;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.51);
    background-color: #27ae60;
    cursor: pointer;
    white-space: nowrap;
}

.btn-h2 {
    background-color: #2980b9;
}

.btn-h1:hover {
    color: white;
    background-color: #208d4e;
}

.btn-h2:hover {
    color: white;
    background-color: #216796;
}

.btn-dock {
    display: block;
    margin: 10px;
    text-align: center;
    padding: 8px auto;
}

/* =========================
   Modern Buttons (.btn)
   ========================= */

/* Base button */
.btn{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 0 14px;
  height: 40px;
  border-radius: 12px;

  color: #fff !important;
  cursor: pointer;
  border: 1px solid rgba(16,24,40,.10);
  background: #334155;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, opacity .12s ease;
  box-shadow: 0 8px 18px rgba(16,24,40,.12), 0 2px 6px rgba(16,24,40,.10);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(16,24,40,.14), 0 3px 10px rgba(16,24,40,.10);
  filter: brightness(1.03);
}

.btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(16,24,40,.12), 0 2px 6px rgba(16,24,40,.10);
  filter: brightness(.98);
}

/* Accessible focus */
.btn:focus{ outline: none; }
.btn:focus-visible{
  box-shadow:
    0 0 0 4px rgba(59,130,246,.20),
    0 10px 22px rgba(16,24,40,.14);
}

/* Disabled */
.btn[disabled],
.btn.disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Sizes */
.btn.small{
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.btn.big{
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
}

/* Optional: full width helper */
.btn.block{
  width: 100%;
}

/* =========================
   Color Variants
   (modern gradients + subtle shadow)
   ========================= */

.btn-orange{
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-color: rgba(249,115,22,.25);
}
.btn-orange:focus-visible{ box-shadow: 0 0 0 4px rgba(249,115,22,.22), 0 10px 22px rgba(16,24,40,.14); }

.btn-red{
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: rgba(239,68,68,.25);
}
.btn-red:focus-visible{ box-shadow: 0 0 0 4px rgba(239,68,68,.22), 0 10px 22px rgba(16,24,40,.14); }

.btn-green{
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: rgba(34,197,94,.25);
}
.btn-green:focus-visible{ box-shadow: 0 0 0 4px rgba(34,197,94,.22), 0 10px 22px rgba(16,24,40,.14); }

.btn-sky{
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-color: rgba(56,189,248,.25);
}
.btn-sky:focus-visible{ box-shadow: 0 0 0 4px rgba(56,189,248,.22), 0 10px 22px rgba(16,24,40,.14); }

.btn-blue{
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: rgba(37,99,235,.25);
}
.btn-blue:focus-visible{ box-shadow: 0 0 0 4px rgba(37,99,235,.22), 0 10px 22px rgba(16,24,40,.14); }

.btn-grey{
  background: linear-gradient(135deg, #64748b, #475569);
  border-color: rgba(100,116,139,.25);
}
.btn-grey:focus-visible{ box-shadow: 0 0 0 4px rgba(100,116,139,.20), 0 10px 22px rgba(16,24,40,.14); }

.btn-purple{
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-color: rgba(139,92,246,.25);
}
.btn-purple:focus-visible{ box-shadow: 0 0 0 4px rgba(139,92,246,.22), 0 10px 22px rgba(16,24,40,.14); }

/* Optional: "ghost" style you can use later */
.btn-ghost{
  background: rgba(15,23,42,.06);
  color: #0f172a !important;
  border-color: rgba(15,23,42,.12);
  box-shadow: none;
}
.btn-ghost:hover{
  box-shadow: 0 10px 18px rgba(16,24,40,.10);
}

/* =========================
   Button Group (modern)
   ========================= */
.btn-group{
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0;
}

.btn-group .btn{
  border-radius: 0;
  box-shadow: none;              /* groups look cleaner without heavy shadows */
  border-left-width: 0;
}

.btn-group .btn:first-child{
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-left-width: 1px;
}

.btn-group .btn:last-child{
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* =========================
   Small buttons (legacy classes)
   Now mapped to modern style
   ========================= */
.btn-sm-black,
.btn-sm-blue,
.btn-sm-dis,
.btn-sm-gray,
.btn-sm-green,
.btn-sm-red{
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(16,24,40,.10);
  color: #fff;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, opacity .12s ease;
  box-shadow: 0 8px 16px rgba(16,24,40,.12);
}

.btn-sm-blue{  background: linear-gradient(135deg, #38bdf8, #2563eb); }
.btn-sm-green{ background: linear-gradient(135deg, #22c55e, #16a34a); }
.btn-sm-red{   background: linear-gradient(135deg, #ef4444, #b91c1c); }
.btn-sm-gray{  background: linear-gradient(135deg, #64748b, #475569); }
.btn-sm-black{ background: linear-gradient(135deg, #111827, #0b1220); }

.btn-sm-black:hover,
.btn-sm-blue:hover,
.btn-sm-green:hover,
.btn-sm-red:hover,
.btn-sm-gray:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 22px rgba(16,24,40,.14);
}

.btn-sm-dis{
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  cursor: not-allowed;
  opacity: .75;
  box-shadow: none;
}














/* =========================================
   TOGGLE SWITCH (supports .slider and .slider_yes_no)
   ========================================= */
.tog_switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
  margin: 1px 3px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Make the checkbox cover the whole toggle so clicking works */
.tog_switch input[type="checkbox"] {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* Track */
.tog_switch .slider,
.tog_switch .slider_yes_no {
  position: absolute;
  inset: 0;
  background-color: #ca2222; /* OFF */
  transition: .4s;
  border-radius: 6px;
}

/* Knob */
.tog_switch .slider::before,
.tog_switch .slider_yes_no::before {
  content: "";
  position: absolute;
  height: 30px;
  width: 15px;
  top: 1px;
  left: 1px;
  background-color: #fff;
  transition: .4s;
  border-radius: 6px;
}

/* ON track */
.tog_switch input:checked + .slider,
.tog_switch input:checked + .slider_yes_no {
  background-color: #2ab934;
}

/* Move knob on ON */
.tog_switch input:checked + .slider::before,
.tog_switch input:checked + .slider_yes_no::before {
  transform: translateX(43px); /* 60 - 15 - 2 */
}

/* ON/OFF text (for .slider) */
.tog_switch .slider::after {
  content: "OFF";
  color: #fff;
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 400;
  transition: .4s;
}
.tog_switch input:checked + .slider::after {
  content: "ON";
  left: 45%;
}

/* YES/NO text (for .slider_yes_no) */
.tog_switch .slider_yes_no::after {
  content: "NO";
  color: #fff;
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 400;
  transition: .4s;
}
.tog_switch input:checked + .slider_yes_no::after {
  content: "YES";
  left: 45%;
}


/* =========================================
   UNITS ROW: show/hide selects (PURE CSS)
   IMPORTANT: no max-width collapsing
   ========================================= */

/* Default: hidden and not clickable */
.form-c .select-group {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* When the toggle inside THIS .form-c is checked, show the selects */
.form-c:has(.tog_switch input:checked) .select-group {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-c .select-group {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}












/* =========================
   Loader Overlay + Animation
   ========================= */
.main-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh; /* fallback */
    height: 100dvh;
    background-color: rgba(0,0,0,0.4);
    z-index: 2000;

    /* center in the visible viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
}

.main-overlay > .warning {
    color: white;
    font-size: 30px;
    line-height: 30px;
    display: block;
    width: 800px;
    margin: 0 auto;
    animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px #fff,
                     0 0 20px #fff,
                     0 0 30px gray,
                     0 0 40px gray,
                     0 0 50px gray,
                     0 0 60px gray,
                     0 0 70px gray;
    }
    to {
        text-shadow: 0 0 20px #fff,
                     0 0 30px green,
                     0 0 40px green,
                     0 0 50px green,
                     0 0 60px green,
                     0 0 70px green,
                     0 0 80px green;
    }
}

.animation-container {
    display: block;
    position: relative;
    width: 800px;
    margin: 0 auto;
}

.animation-container .lightning-container {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    transform: translateY(-50%);
    z-index: 10;
}

.animation-container .lightning-container .lightning {
    position: absolute;
    display: block;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    transform-origin: 6px 6px;
    animation-name: woosh;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    animation-direction: alternate;
}

.animation-container .lightning-container .lightning.white {
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    box-shadow: 0px 50px 50px 0px rgba(255, 255, 255, 0.3);
}

.animation-container .lightning-container .lightning.red {
    background-color: #fc7171;
    box-shadow: 0px 50px 50px 0px rgba(252, 113, 113, 0.3);
    animation-delay: 0.2s;
}

.animation-container .boom-container {
    position: absolute;
    display: flex;
    width: 80px;
    height: 80px;
    text-align: center;
    align-items: center;
    transform: translateY(-50%);
    left: 200px;
    top: -145px;
}

.animation-container .boom-container .shape {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform-origin: center center;
}

.animation-container .boom-container .shape.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    transform-origin: 50% 80%;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    margin-left: -15px;
    border-width: 0 2.5px 5px 2.5px;
    border-color: transparent transparent #42e599 transparent;
    animation-name: boom-triangle;
}

.animation-container .boom-container .shape.triangle.big {
    margin-left: -25px;
    border-width: 0 5px 10px 5px;
    border-color: transparent transparent #fade28 transparent;
    animation-name: boom-triangle-big;
}

.animation-container .boom-container .shape.disc {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: #d15ff4;
    animation-name: boom-disc;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.animation-container .boom-container .shape.circle {
    width: 20px;
    height: 20px;
    animation-name: boom-circle;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    border-radius: 100%;
    margin-left: -30px;
}

.animation-container .boom-container .shape.circle.white {
    border: 1px solid white;
}

.animation-container .boom-container .shape.circle.big {
    width: 40px;
    height: 40px;
    margin-left: 0px;
}

.animation-container .boom-container .shape.circle.big.white {
    border: 2px solid white;
}

.animation-container .boom-container .shape.triangle,
.animation-container .boom-container .shape.circle,
.animation-container .boom-container .shape.circle.big,
.animation-container .boom-container .shape.disc {
    animation-delay: 0.38s;
    animation-duration: 3s;
}

.animation-container .boom-container .shape.circle {
    animation-delay: 0.6s;
}

.animation-container .boom-container.second {
    left: 485px;
    top: 155px;
}

.animation-container .boom-container.second .shape.triangle,
.animation-container .boom-container.second .shape.circle,
.animation-container .boom-container.second .shape.circle.big,
.animation-container .boom-container.second .shape.disc {
    animation-delay: 1.9s;
}

.animation-container .boom-container.second .shape.circle {
    animation-delay: 2.15s;
}

@keyframes woosh {
    0% {
        width: 12px;
        transform: translate(0px, 0px) rotate(-35deg);
    }
    15% {
        width: 50px;
    }
    30% {
        width: 12px;
        transform: translate(214px, -150px) rotate(-35deg);
    }
    30.1% {
        transform: translate(214px, -150px) rotate(46deg);
    }
    50% {
        width: 110px;
    }
    70% {
        width: 12px;
        transform: translate(500px, 150px) rotate(46deg);
    }
    70.1% {
        transform: translate(500px, 150px) rotate(-37deg);
    }
    85% {
        width: 50px;
    }
    100% {
        width: 12px;
        transform: translate(700px, 0) rotate(-37deg);
    }
}

@keyframes boom-circle {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    30%  { opacity: 0; transform: scale(3); }
}

@keyframes boom-triangle-big {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    40%  { opacity: 0; transform: scale(2.5) translate(50px, -50px) rotate(360deg); }
}

@keyframes boom-triangle {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    30%  { opacity: 0; transform: scale(3) translate(20px, 40px) rotate(360deg); }
}

@keyframes boom-disc {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    40%  { opacity: 0; transform: scale(2) translate(-70px, -30px); }
}

/* Button loading disable */
.load_disable {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .7;
}

/* =========================
   Simple Confirm Box
   ========================= */
.confirm-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.confirm-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 300px;
    text-align: center;
}

.confirm-box button {
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    cursor: pointer;
}

.confirm-box .yes-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

.confirm-box .no-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
}

/* =========================
   Fullscreen Popup (.cd-popup)
   ========================= */
.cd-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(94, 110, 141, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
}

.cd-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 4em auto;
    background: #FFF;
    border-radius: .25em .25em .4em .4em;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-40px);
    backface-visibility: hidden;
    transition-property: transform;
    transition-duration: 0.3s;
}

.cd-popup-container p {
    padding: 3em 1em;
}

.cd-popup-container .cd-buttons:after {
    content: "";
    display: table;
    clear: both;
}

.cd-popup-container .cd-buttons li {
    float: left;
    width: 50%;
}

.cd-popup-container .cd-buttons a {
    display: block;
    height: 60px;
    line-height: 60px;
    text-transform: uppercase;
    color: #FFF;
    transition: background-color 0.2s;
}

.cd-popup-container .cd-buttons li:first-child a {
    background: #fc7169;
    border-radius: 0 0 0 .25em;
}

.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
    background-color: #fc8982;
}

.cd-popup-container .cd-buttons li:last-child a {
    background: #b6bece;
    border-radius: 0 0 .25em 0;
}

.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
    background-color: #c5ccd8;
}

.cd-popup-container .cd-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
}

.cd-popup-container .cd-popup-close::before,
.cd-popup-container .cd-popup-close::after {
    content: '';
    position: absolute;
    top: 12px;
    width: 14px;
    height: 3px;
    background-color: #8f9cb5;
}

.cd-popup-container .cd-popup-close::before {
    transform: rotate(45deg);
    left: 8px;
}

.cd-popup-container .cd-popup-close::after {
    transform: rotate(-45deg);
    right: 8px;
}

.is-visible .cd-popup-container {
    transform: translateY(0);
}

@media only screen and (min-width: 1170px) {
    .cd-popup-container {
        margin: 8em auto;
    }
}

/* =========================
   Remove / Fade Effect
   ========================= */
.fade-slide {
    animation: fadeSlideOut 0.8s ease forwards;
}

@keyframes fadeSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
        height: auto;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
}

/* =========================
   Modal windows / images
   ========================= */
#dynamicImageModal {
    animation: fadeIn 0.3s ease-out;
}



@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* =========================
   Toast-style popup box
   ========================= */
.popup-box {
    position: fixed;
    margin: 0 10px;
    border-radius: 3px;
    color: #fff;
    font-family: Arial, sans-serif;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.popup-message {
    padding: 10px 20px;
    margin: -4px -4px;
}

.popup-bar-box {
    width: 100%;
    height: 4px;
    background-color: transparent;
}

.popup-bar-inner-box {
    height: 100%;
    width: 0%;
    background-color: #4caf50;
}


/* fields red highlight */
.field-error {
  border: 1px solid #d00 !important;
  outline: none;
}

.field-error-msg {
  color: #d00;
  margin-top: 6px;
  font-size: 12px;
}
.tox-tinymce.field-error {
  border: 1px solid #d00 !important;
}
