.custom-login {
    max-width: 500px;
    width: 100%;
    padding: 1rem;
    overflow: hidden;
}

.custom-login-logo {
    width: 100%;
    max-height: 200px;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

    .custom-login-logo img {
        width: 100%;
        object-fit: contain;
        max-width: 250px;
    }

[data-theme="dark"] .custom-login-logo img {
    filter: invert(1);
}

.custom-login-box {
    width: 100%;
    position: relative;
}

.custom-login-title {
    text-align: center;
    margin: 1.2rem 0;
}

    .custom-login-title h3 {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

.custom-login-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.custom-login-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}

    .custom-login-dot.active {
        background: #000;
    }

.custom-login-step {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    position: absolute;
    width: 100%;
    transition: all .3s ease;
}

    .custom-login-step.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        position: relative;
        transition: all .3s ease;
    }

.custom-login-nav button {
    color: #000;
    display: block;
    cursor: pointer;
    margin-top: 10px;
    background: transparent !important;
    border: none;
}

[data-theme="dark"] .custom-login-nav button {
    color: #fff;
}

.custom-login-loading {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #16a34a;
    padding: 2rem 0;
}

    .custom-login-loading .dots span {
        opacity: 0;
        animation: dotFade 1.4s infinite;
    }

        .custom-login-loading .dots span:nth-child(1) {
            animation-delay: 0s;
        }

        .custom-login-loading .dots span:nth-child(2) {
            animation-delay: .2s;
        }

        .custom-login-loading .dots span:nth-child(3) {
            animation-delay: .4s;
        }

[data-theme="dark"] .custom-login {
    background: #1b1b1b;
    color: #fff;
}

    [data-theme="dark"] .custom-login .custom-login-dot {
        background: #555;
    }

        [data-theme="dark"] .custom-login .custom-login-dot.active {
            background: #fff;
        }

[data-theme="dark"] .custom-login-loading {
    color: #4ade80;
}

@keyframes dotFade {
    0% {
        opacity: 0
    }

    40% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}
