@font-face {
    font-family: "Aeonik";
    src: url(../font/aeonik-medium.otf);
    font-weight: 400;
}

@font-face {
    font-family: "Aeonik";
    src: url(../font/aeonik-bold.otf);
    font-weight: 700;
}

@font-face {
    font-family: "Advercase";
    src: url(../font/AdvercaseFont-Regular.ttf);
    font-weight: 800;
}

:root {
    --bg: #f4f7f6;
    --card: #ffffff;
    --text: #fff;
    --muted: #7f8c8d;
    --accent: #f05967;
}

* {
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html,
body {
    min-height: 100vh;
}

body {
    margin: 0;
    background-color: #00291E;

    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 24px 16px;
    font-family: "Aeonik", sans-serif !important;
}

.bg-eqi {
    background-color: #f2eded;
}

img {
    max-width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input,
textarea,
button,
a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.app {
    width: min(900px, 100%);
    height: calc(100vh - 48px);

    background: rgba(53, 115, 238, 0.28);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(240, 89, 104, 0.5);
    backdrop-filter: blur(6.8px);
    -webkit-backdrop-filter: blur(6.8px);
    border: 1px solid rgba(53, 115, 238, 0.79);

    padding: 24px;

    box-sizing: border-box;

    display: grid;

    gap: 20px;
    border-radius: 12px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    width: 100%;
}

.header-eqi {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 auto 24px;
    width: 100%;
}

.logo {
    max-width: 150px;
    width: 100%;
    height: auto;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg {
    width: 100%;
}

h1 {
    margin: 0 !important;

    font-size: clamp(24px, 5vw, 32px);
    font-weight: 400;

    text-align: center;
    line-height: 1 !important;

    color: #fff !important;
}

p {
    font-size: 24px;
    color: white;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

.foto-area {
    background-color: white;
    aspect-ratio: 9/16;

    width: min(50%, 480px);
    max-width: 100%;
    margin: 24px auto;

    border: 5px solid #C4AC90;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    position: relative;

    object-fit: cover;
}

/* Garante que a foto-area do step-2-5 tenha position relative para o loading */
#fotoAreaStep25 {
    position: relative;
}

.slideshow-container {
    position: relative;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 1;
}

.rotating-image {
    object-fit: cover;
}

.mirror-x {
    transform: scaleX(-1);
    transform-origin: center;
}

.qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 15px;
    border: 5px solid #C4AC90;
    border-radius: 15px;
    box-sizing: border-box;
    max-width: 220px;
    width: 80vw;

    aspect-ratio: 1/1;
}

.qrcode-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 220px;
}

.action-buttons .tirar-foto {
    min-width: unset;
    width: 100%;
}

.qrcode canvas {
    width: 100%;
    height: auto;
    max-width: 190px;
    -o-object-fit: contain;
    object-fit: contain;
}

.qrcode canvas:nth-of-type(n+2),
.qrcode img:nth-of-type(n+2) {
    display: none !important;
}

#previewImageStep2,
#previewImageStep25,
#finalGeneratedImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;

    width: 100%;
}

.d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;

    width: 100%;
    margin-top: 16px;
}

.preview img {
    max-width: 100%;
    max-height: 100%;

    display: block;
    transition: transform 0.3s ease;
}

/* Esconde ícone padrão de imagem vazia/quebrada dentro dos previews */
.preview img:not([src]),
.preview img[src=""],
.preview img[hidden] {
    display: none;
}

.preview:hover img:not([hidden]):not([src=""]) {
    transform: scale(1.03);
}

input[type="file"] {
    display: none;
}

.tirar-foto {
    padding: 14px 24px;
    min-width: 200px;

    background-color: #6FC5A5;

    color: #000000;
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;

    display: block;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tirar-foto:hover {
    background-color: #b89a7a;
    transform: translateY(-2px);
}

.tirar-foto.btn-2 {
    background-color: transparent;
    color: #6FC5A5;
    border: 2px solid #6FC5A5;
}

.tirar-foto.btn-2:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #c4ac90;
}

/* Opcoes de escolha */
.options-container {
    margin: 24px 0;
}

.option-group {
    margin-bottom: 24px;
}

.option-group label {
    display: block;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.option-btn {
    aspect-ratio: 1/1;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;

    font-size: clamp(14px, 3vw, 18px);
    font-weight: 600;
    color: #fff;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
}

.option-btn:hover {
    border-color: #6FC5A5;
    background-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.option-btn.selected {
    background-color: #6FC5A5;
    color: #000;
    border-color: #6FC5A5;
}

.option-btn.selected:hover {
    background-color: #6FC5A5;
    border-color: #6FC5A5;
}

.option-btn:disabled,
.tirar-foto:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.options-container.disabled {
    pointer-events: none;
}

.step-2-5.generating {
    pointer-events: none;
    position: relative;
}

.step-2-5.generating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: transparent;
}

.grid-ref {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 24px;

    margin: 32px auto;
}

.grid-ref img {
    aspect-ratio: 1/1;

    object-fit: cover;
    object-position: top;

    width: 90%;

    border-radius: 8px;
}

.selected {
    outline: 2px solid #6FC5A5;
    background-color: #6FC5A5;
}

footer {
    /* position: absolute;
    bottom: 5%;
    left: 0;
    right: 0; */

    display: flex;
    align-items: center;
    justify-content: center;
}

.patrocinios {
    width: 500px;
}

.divisoria {
    width: 2px;
    height: 50%;
    background: white;
}

h2 {
    margin: 0;
    font-size: 24px;
    color: #fff;

    text-align: center;
}

.grid {
    display: grid;
    gap: 20px
}

/* Tablet e Desktop */
@media (min-width: 768px) {
    body {
        padding: 48px;
    }

    .header {
        margin-bottom: 32px;
    }

    .logo {
        max-width: 150px;
    }

    h1 {
        font-size: 40px;
        margin-bottom: 32px;
    }

    /* 
    .foto-area {
        width: min(50%, 400px);
        margin: 32px auto;
        border: 5px solid #C4AC90;
    } */

    .tirar-foto {
        min-width: 250px;
        padding: 16px 40px;
        font-size: 22px;
    }

    .d-flex {
        gap: 32px;
    }

    /* .options-grid {
        gap: 12px;
    } */

    /* .option-btn {
        padding: 12px 16px;
        font-size: 18px;
        min-height: 50px;
    } */

    .option-group label {
        font-size: 24px;
    }

    /* .step-4 {
        flex-wrap: nowrap;
        gap: 64px;
    } */

    .step-4-image {
        width: 45%;
        max-width: 400px;
    }

    .step-4-content {
        width: 50%;
        align-items: flex-start;
        padding-left: 24px;
    }

    .step-4 .foto-area {
        width: 100%;
        margin: 0 auto;
    }

    .step-4 h1 {
        text-align: left;
        margin-bottom: 32px;
    }

    .w-50 {
        width: 50%;
    }

    .step-1,
    .step-2,
    .step-2-5 {
        padding: 0;
    }

    .step-2-5 .foto-area {
        width: min(50%, 350px);
        margin: 32px auto;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body {
        padding: 16px 12px;
        overflow-x: hidden;
    }

    .header {
        margin-bottom: 20px;
    }

    .logo {
        max-width: 120px;
    }

    h1 {
        font-size: clamp(20px, 6vw, 28px);
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .foto-area {
        width: min(90%, 280px);
        margin: 20px auto;
        border-width: 4px;
    }

    .tirar-foto {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }

    .d-flex {
        flex-direction: column;
        gap: 12px;
    }

    .d-flex .tirar-foto {
        width: 100%;
    }

    .options-container {
        margin: 20px 0;
    }

    .option-group {
        margin-bottom: 20px;
    }

    .option-group label {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .option-btn {
        padding: 8px 10px;
        font-size: 14px;
        min-height: 44px;
    }

    /* .step-4 {
        flex-direction: column;
        gap: 32px;
    }
    
    .step-4-image {
        width: 100%;
    }

    .step-4-content {
        width: 100%;
        align-items: center;
        gap: 20px;
    }

    .step-4 .foto-area {
        width: min(90%, 300px);
        margin: 0 auto;
    }

    .step-4 h1 {
        text-align: center;
        margin-bottom: 0;
        margin-top: 24px;
        font-size: clamp(18px, 5vw, 24px);
    } */

    .w-50 {
        width: 100%;
    }

    .qrcode {
        max-width: 200px;
        width: 70vw;
        padding: 12px;
        border-width: 4px;
    }

    .qrcode-actions {
        flex-direction: column;
        gap: 12px;
    }

    .qrcode canvas {
        max-width: 170px;
    }

    .app {
        padding: 10px;
        height: auto;
        max-height: none;
    }

    .panel {
        padding: 10px;
        gap: 10px;
    }

    .grid {
        gap: 15px;
    }

    #loader_container {
        padding: 20px 24px;
        max-width: 90%;
    }

    #loadingMessage {
        font-size: 14px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    body {
        padding: 12px 8px;
    }

    .logo {
        max-width: 100px;
    }

    h1 {
        font-size: clamp(18px, 7vw, 24px);
    }

    .foto-area {
        width: min(95%, 250px);
        border-width: 3px;
    }

    .options-grid {
        gap: 6px;
    }

    .option-btn {
        padding: 6px 8px;
        font-size: 12px;
        min-height: 40px;
    }

    .tirar-foto {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.panel {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.8px);
    -webkit-backdrop-filter: blur(6.8px);
    border: 1px solid rgba(255, 255, 255, 0.79);

    padding: 20px;
    display: grid;
    gap: 15px;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
}

/* label {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
    color: white;

    font-family: "Advercase", sans-serif !important;
} */



input[type=file],
select,
textarea {
    width: 100%;
    border: 1px solid #a1cfff;
    background: #fff;
    color: var(--text);
    padding: 10px 12px;
    font: inherit;
    outline: none;
    border-radius: 4px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
}

textarea {
    min-height: 120px;
    resize: vertical
}

button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.inline {
    display: flex;
    gap: 8px
}

.inline>* {
    flex: 1
}

.bar {
    height: 8px;
    width: 100%;
    background: #7c7c7c;
    border-radius: 999px;
    overflow: hidden
}

.bar>i {
    display: block;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.status {
    font-size: 13px;
    min-height: 1.5em;
    color: var(--muted);
    padding: 4px 0;
}

.thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.foot {
    font-size: 12px;
    color: var(--muted);
    text-align: center
}

.hint {
    font-size: 12px;
    color: var(--muted)
}

/* Loading dentro da foto-area */
.loading-in-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 0;
}

/* Container interno do loader */
#loader_container {
    background: transparent;
    border-radius: 0;
    padding: 20px;
    width: 100%;
    text-align: center;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Mensagem principal de loading */
#loadingMessage {
    margin: 0 0 16px 0;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    color: #C4AC90;
    font-family: "Advercase", sans-serif;
    text-transform: uppercase;
}

/* Barra de progresso */
#bar_container {
    width: 80%;
    max-width: 300px;
    height: 8px;
    background: rgba(196, 172, 144, 0.2);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

#progress_bar {
    height: 100%;
    width: 0;
    background: #C4AC90;
    transition: width 0.3s ease;
    border-radius: 999px;
}

/* Texto auxiliar abaixo da barra, se necessário */
#text_container {
    margin-top: 12px;
    font-size: clamp(12px, 2vw, 14px);
    color: #666;
    font-family: "Aeonik", sans-serif;
}

.camera-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    flex-direction: column;
}

.camera-overlay.active {
    display: flex;
}

.camera-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cameraVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    background: #000;
    z-index: 1;
    position: relative;
    transform: scaleX(1);
    /* Padrão: não espelhar */
    transition: transform 0.1s ease;
}

.camera-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 10001;
}

.camera-capture-btn {
    width: 80px;
    height: 80px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
    z-index: 10002;
    position: relative;
}

.camera-capture-btn:hover {
    transform: scale(1.1);
}

.camera-capture-btn:active {
    transform: scale(0.9);
}

.camera-capture-btn svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.camera-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: invert(1);
}

.camera-close-btn,
.camera-switch-btn {
    position: fixed;
    top: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 10002;
    transition: background 0.2s;
}

.camera-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.camera-close-btn {
    right: 32px;
}

.camera-switch-btn {
    left: 32px;
}

body.camera-open {
    padding: 0;
    margin: 0;
    background: #000;
    overflow: hidden;
    display: block;
}

body.camera-open .header,
body.camera-open footer {
    display: none !important;
}

body.camera-open main {
    width: 100%;
    min-height: 100vh !important;
}

body.camera-open .bg {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #000;
}

.step-1,
.step-2,
.step-2-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 8px;
}

.step-2-5 .foto-area {
    width: min(90%, 280px);
    margin: 20px auto;
}

.content {
    width: 100%;
    margin-top: 120px;
    display: flex;

    justify-content: space-between;
    align-items: flex-start;
}

.step-4-image {
    flex: 0 0 auto;
}

.step-4-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step-4 .foto-area {
    width: 100%;
    margin: 0 auto;
}

.step-4 h1 {
    margin-bottom: 0;
    margin-top: 32px;

    font-size: 28px;
    text-align: center;
}

.step-4 .qrcode-actions {
    margin-top: 8px;
}

.w-50 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-3 p {
    font-size: 24px;
    color: #00291E;
    line-height: 1.5;
}

.content-eqi {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    bottom: 0;
}

.celular {
    /* max-width: 360px; */
    width: 50%;
}

.qr-code {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code p {
    text-align: left;
    color: #00291E;
    font-size: 24px;
}

/* HTML: <div class="loader"></div> */
.loader-position {
    position: absolute;
    top: 7%;
    left: 7%;
    z-index: 1001;
}
.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #00291E;
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

.form-check {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  padding-left: 1.5em;
}
.form-check label {
  margin-bottom: 0 !important;
  font-size: 24px;
}
.form-check a {
  color: #6fc5a5 !important;
}

.form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
}

.form-check-reverse {
  padding-right: 1.5em;
  padding-left: 0;
  text-align: right;
}

.form-check-reverse .form-check-input {
  float: right;
  margin-right: -1.5em;
  margin-left: 0;
}

.form-check-input {
  --bs-form-check-bg: var(--bs-body-bg);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 0.25em;
  vertical-align: top;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: white;
  background-image: var(--bs-form-check-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 3px solid #c4ac90;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}

.form-check-input[type=radio] {
  border-radius: 50%;
}

.form-check-input:active {
  filter: brightness(90%);
}

.form-check-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
  background-color: #6fc5a5;
  border-color: #6fc5a5;
}

.form-check-input:checked[type=checkbox] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox]:indeterminate {
  background-color: #6fc5a5;
  border-color: #6fc5a5;
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.form-check-input:disabled {
  pointer-events: none;
  filter: none;
  opacity: 0.5;
}

.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
  cursor: default;
  opacity: 0.5;
}

.form-switch {
  padding-left: 2.5em;
}

.form-switch .form-check-input {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
  width: 2em;
  margin-left: -2.5em;
  background-image: var(--bs-form-switch-bg);
  background-position: left center;
  border-radius: 2em;
  transition: background-position 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-switch .form-check-input {
    transition: none;
  }
}
.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
  background-position: right center;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch.form-check-reverse {
  padding-right: 2.5em;
  padding-left: 0;
}

.form-switch.form-check-reverse .form-check-input {
  margin-right: -2.5em;
  margin-left: 0;
}

.form-check-inline {
  display: inline-block;
  margin-right: 1rem;
}

.mb-3 {
  margin-bottom: 3rem;
}


label {
  display: block;
  font-size: 32px;
  font-weight: 400;
  color: white;
  margin-bottom: 8px;
  margin-left: 8px;
}
