.cedula-dialog #cedulaAceptar,
.cedula-pagina #cedulaAceptar {
    --bs-btn-bg: #7a60ff;
    --bs-btn-border-color: #7a60ff;
    --bs-btn-hover-bg: var(--dimViolet, #684ee6);
    --bs-btn-hover-border-color: var(--dimViolet, #684ee6);
    --bs-btn-active-bg: var(--dimViolet, #684ee6);
    --bs-btn-active-border-color: var(--dimViolet, #684ee6);
    background-color: #7a60ff !important;
    border-color: #7a60ff !important;
    background-image: none !important;
}

.cedula-dialog #cedulaAceptar:hover,
.cedula-dialog #cedulaAceptar:active,
.cedula-pagina #cedulaAceptar:hover,
.cedula-pagina #cedulaAceptar:active {
    background-color: var(--dimViolet, #684ee6) !important;
    border-color: var(--dimViolet, #684ee6) !important;
}

.cedula-dialog {
    position: fixed;
    inset: 0;
    width: min(28rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    height: fit-content;
    margin: auto;
    border: 0;
}

.cedula-dialog::backdrop {
    background: rgb(15 23 42 / 55%);
}

.cedula-pagina {
    width: min(28rem, calc(100% - 2rem));
    margin-block: clamp(1rem, 9vh, 5rem);
}

.cedula-dialog,
.cedula-pagina {
    padding: 1.5rem !important;
}

.cedula-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.4rem, 2vw, 0.65rem);
    flex: 0 0 auto;
    margin: -1.5rem -1.5rem 1.5rem;
    padding: 1.2rem 0.75rem;
    border-radius: 1rem 1rem 0 0;
    background: linear-gradient(110deg, #c496ef, #7157ff);
    color: #fff;
    font-size: clamp(1rem, 5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    white-space: nowrap;
}

.cedula-marca img {
    width: clamp(2rem, 9vw, 2.75rem);
    height: auto;
    flex: 0 0 auto;
}

.cedula-aviso {
    padding: 0.9rem 1rem;
    border: 1px solid rgb(122 96 255 / 22%);
    border-radius: 0.75rem;
    background: rgb(122 96 255 / 7%);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.cedula-exito-icono:not([hidden]) {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #e8f7ef;
    color: #198754;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.cedula-completada {
    text-align: center;
}

.cedula-completada .cedula-aviso {
    margin-bottom: 0 !important;
    border-color: rgb(25 135 84 / 22%);
    background: rgb(25 135 84 / 7%);
}

[data-bs-theme="dark"] .cedula-dialog,
[data-bs-theme="dark"] .cedula-pagina {
    color-scheme: dark;
    background-color: #221f2e !important;
    color: #f4f1f8 !important;
}

[data-bs-theme="dark"] .cedula-aviso {
    border-color: rgb(183 157 255 / 40%);
    background: rgb(183 157 255 / 10%);
}

[data-bs-theme="dark"] .cedula-exito-icono:not([hidden]) {
    background: #233e33;
    color: #78d9a9;
}

[data-bs-theme="dark"] .cedula-completada .cedula-aviso {
    border-color: rgb(120 217 169 / 40%);
    background: rgb(120 217 169 / 9%);
}

.cedula-video {
    width: 100%;
    max-height: 46vh;
    background: #111;
    object-fit: contain;
}

#cedulaQr {
    max-width: 100%;
    height: auto;
}
#cedulaContinuar:disabled,
#signupFormApoderado button[type="submit"]:disabled,
#signupFormInstitucion button[type="submit"]:disabled {
    opacity: 0.35 !important;
    filter: grayscale(0.65);
    box-shadow: none !important;
    cursor: not-allowed;
}

