﻿.password-check {
    display: flex;
    align-items: center;
    width: 100%;
}

    .password-check .form-control {
        flex: 1;
        padding-right: 40px;
    }

.input-suffix {
    cursor: pointer;
    margin-left: -30px;
}

    .input-suffix svg {
        vertical-align: middle;
    }

.custom-bg {
    background-color: #007d8826 !important;
    /*background-image: url('ruta/de/la/imagen.jpg');*/
    background-size: cover;
}

.toggle-switch {
    display: inline-block;
    width: 130px;
    height: 30px;
    border-radius: 10px;
    background-color: #007d8838;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .toggle-switch input {
        display: none;
    }

    .toggle-switch label {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background-color: #007d88;
        transition: transform 0.3s ease;
    }

    .toggle-switch input:checked + label {
        transform: translateX(100%);
    }

.toggle-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.toggle-switch input:checked + label .toggle-text-right,
.toggle-switch input:not(:checked) + label .toggle-text-left {
    opacity: 1;
    pointer-events: auto;
}

.toggle-text-left {
    left: 0;
}

.toggle-text-right {
    right: 0;
}

.login-shell {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card-flip {
    width: 70%;
    max-width: 700px;
    height: 770px;
    perspective: 1200px;
}

.login-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.9s;
    transform-style: preserve-3d;
}

    .login-card-inner.flipped {
        transform: rotateY(180deg);
    }

.login-card-front, .login-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #fff;
    border-radius: 16px;
    /*box-shadow: 0 25px 60px rgba(0,0,0,.2);*/
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.login-card-back {
    transform: rotateY(180deg);
}

.login-header {
    text-align: center;
    margin-bottom: 10px;
}

    .login-header .logo {
        height: 48px;
        margin-bottom: 6px;
    }

.toggle-link {
    margin-top: auto;
    font-size: 14px;
    color: #0ea5b7;
    cursor: pointer;
    text-decoration: underline;
}

.qr-box {
    border: 1px dashed #ccc;
    border-radius: 10px;
    padding: 14px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#qrcode {
    width: 210px;
    height: 210px;
}

    #qrcode canvas, #qrcode img {
        border-radius: 1px;
        overflow: hidden;
    }

* {
    box-sizing: border-box;
}

:root {
    --step-size: 32px;
    --line: #c8d5e1;
    --primary: #0f766e;
    --dot-bg: #fff;
    --text: #111827;
    --muted: #6b7280;
    --font: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0 0 0 calc(var(--step-size) + 16px);
    counter-reset: step-counter;
    font-family: var(--font);
    color: var(--text);
    max-width: 720px;
}

.step {
    position: relative;
    padding-bottom: 20px;
}

    .step::before {
        content: "";
        position: absolute;
        left: calc(-1 * (var(--step-size) + 16px) + (var(--step-size)/2));
        top: calc(var(--step-size));
        bottom: -4px;
        width: 2px;
        background: var(--line);
    }

    .step:last-child::before {
        bottom: calc(50% - var(--step-size));
    }

.step__marker {
    position: absolute;
    left: calc(-1 * (var(--step-size) + 16px));
    top: 0;
    width: var(--step-size);
    height: var(--step-size);
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: var(--dot-bg);
    display: grid;
    place-items: center;
    font-weight: 600;
    color: var(--primary);
}

    .step__marker::after {
        counter-increment: step-counter;
        content: counter(step-counter);
    }

.step__content {
    line-height: 1.5;
    font-size: 16px;
}

    .step__content p {
        margin: 0;
    }

.icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin: 0 4px;
}

:root {
    --step-size: 32px;
    --gap-y: 22px;
    --primary: #0EA5A3;
    --line: #BFD9D8;
    --text: #111827;
}

.steps {
    list-style: none;
    margin: 16px 0 0;
    padding: 0 0 0 calc(var(--step-size) + 16px);
    counter-reset: step-counter;
    color: var(--text);
}

.step {
    position: relative;
    padding-bottom: var(--gap-y);
}

    .step::before {
        content: "";
        position: absolute;
        left: calc(-1 * (var(--step-size) + 16px) + var(--step-size)/2);
        top: calc(var(--step-size) + 2px);
        bottom: 0;
        width: 2px;
        background: var(--line);
    }

.step__marker {
    position: absolute;
    left: calc(-1 * (var(--step-size) + 16px));
    top: 0;
    width: var(--step-size);
    height: var(--step-size);
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

    .step__marker::after {
        counter-increment: step-counter;
        content: counter(step-counter);
    }

.step p {
    margin: 0;
    font-size: 15px;
}

.step strong {
    font-weight: 700;
}

.step img.icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin: 0 4px;
}

.step:last-child::before {
    bottom: 28px;
}

.segmented {
    padding: 5px;
    border: 1.5px solid #D1D5DB;
    border-radius: 12px;
    background: #FFF;
    gap: 6px;
}

    .segmented .btn {
        border-radius: 5px !important;
        border: 1px solid #E5E7EB;
        background: #F9FAFB;
        color: #6B7280;
        font-weight: 600;
        padding: .35rem .6rem;
        line-height: 1.1;
    }

        .segmented .btn:hover {
            background: #F3F4F6;
        }

        .btn-check:checked + .btn,
        .segmented .btn.active {
            background: #EEF2F6;
            color: #374151;
            border-color: #C7CDD6;
        }

        .segmented .btn .feather {
            width: 16px;
            height: 16px;
            vertical-align: -2px;
        }


.qr-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255,255,255, 0.9);
    z-index: 10;
    padding-top: 40%;
}

    .qr-loader.hidden {
        display: none;
    }

.qr-loader__spinner {
    width: 42px;
    height: 42px;
    border: 3px solid #ddd;
    border-top-color: #BCA269;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 10px;
}

.qr-loader__text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#bloqueQR {
    position: relative;
}

.max-width {
    max-width: 550px;
}

.qr-loaderv2 {
    padding-top: 36% !important;
}

.cursorPointer {
    cursor: pointer !important;
}
