.spm-aj-width {width:100%;max-width:1440px;margin-inline:auto;}
.spm-aj-live iframe {border:0;}
.spm-aj-toggle {display:flex;justify-content:center;align-items:center;gap:.8rem;margin-block:1.5rem;padding:.75rem 1rem;border-radius:50rem;background:#0b011d;width:max-content;max-width:100%;margin-inline:auto;direction:ltr;}
.spm-aj-toggle .toggle-wrapper {font-size:1.5rem;min-height:44px;}
.spm-aj-language {border:0;background:none;color:#b6adc7;font-weight:700;min-height:44px;padding:.25rem;}
.spm-aj-language[aria-pressed="true"] {color:#fff;text-shadow:0 0 8px #ffffff99,0 0 16px #ffffff66;}
.spm-aj-toggle button:focus-visible {outline:3px solid #fff;outline-offset:4px;border-radius:.25rem;}
.spm-aj-toggle .toggle-checkbox:focus-visible ~ .toggle-container {outline:3px solid #fff;outline-offset:4px;}
.spm-aj-panels [hidden] {display:none!important;}
.spm-aj-panels [lang="ar"] {text-align:right;}
.spm-aj-toggle .toggle-wrapper{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.25em;
}

.spm-aj-toggle .toggle-icon{
  width: 0.5em;
  height: 0.5em;
  fill: #4c9bab;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.4));
  transition: fill 0.4s;
}
.spm-aj-toggle .toggle-checkbox:not(:checked) + .toggle-icon.off, .spm-aj-toggle .toggle-checkbox:checked ~ .toggle-icon.on{
  fill: #e0f9fc;
}

.spm-aj-toggle .toggle-checkbox{
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  z-index: 1;
  border-radius: 3.125em;
  width: 4.05em;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.spm-aj-toggle .toggle-container{
  position: relative;
  border-radius: 3.125em;
  width: 4.05em;
  height: 1.5em;
  background-image: repeating-conic-gradient(#0b66a0 0% 25%, #1093a8 0% 50%);
  background-size: 0.125em 0.125em;
  box-shadow: inset 0 0.125em 0.25em rgba(0, 9, 38, 0.6), inset -1.5em 0 0.0625em rgba(0, 9, 38, 0.5), inset 0.5em 0 0.5em rgba(0, 9, 38, 0.5), 0 1px 1px rgba(255, 255, 255, 0.4);
}

.spm-aj-toggle .toggle-button{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0.0625em;
  left: 0.0625em;
  border-radius: inherit;
  width: 2.55em;
  height: calc(100% - .125em);
  background-image: linear-gradient(to right, #86e2fa, #125e79);
  box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.6);
  transition: left 0.4s;
}
.spm-aj-toggle .toggle-checkbox:checked ~ .toggle-container > .toggle-button{
  left: 1.4375em;
}
.spm-aj-toggle .toggle-button::before{
  content: "";
  position: absolute;
  top: inherit;
  border-radius: inherit;
  width: calc(100% - .375em);
  height: inherit;
  background-image: linear-gradient(to right, #0f73a8, #57cfe2, #b3f0ff);
}
.spm-aj-toggle .toggle-button::after{
  content: "";
  position: absolute;
  width: 0.5em;
  height: 38%;
  background-image: repeating-linear-gradient(to right, #d2f2f6 0 0.0625em, #4ea0ae 0.0625em 0.125em, transparent 0.125em 0.1875em);
}
@media(prefers-reduced-motion:reduce){.spm-aj-toggle *{transition:none!important;}}
