html, body {
    height: 100%;
    margin: 0;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* ── Coluna Esquerda ── */
.col-form {
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 3rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

    /* Chrome, Edge e Safari */
    .col-form::-webkit-scrollbar {
        width: 6px;
    }

    .col-form::-webkit-scrollbar-track {
        background: transparent;
    }

    .col-form::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        transition: background 0.3s ease;
    }

        .col-form::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.35);
        }

    .col-form::-webkit-scrollbar {
        display: none;
    }

@media (max-width: 767px) {
    .col-form {
        width: 100%;
        padding: 2rem 1rem;
    }
}


.form-inner {
    width: 100%;
    max-width: 400px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: #0d6efd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-logo i {
        color: #fff;
        font-size: 1.4rem;
    }

.form-inner h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .35rem;
    letter-spacing: -.02em;
}

.form-inner .subtitle {
    color: #64748b;
    font-size: .92rem;
    margin-bottom: 2rem;
}

.form-label {
    font-size: .83rem;
    font-weight: 600;
    color: #838383;
    margin-bottom: .35rem;
}

.form-control {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    padding: .6rem .9rem;
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,.12);
    }

.input-icon-wrap {
    position: relative;
}

    .input-icon-wrap i[class^="feather-"],
    .input-icon-wrap i[class*=" feather-"] {
        position: absolute;
        top: 50%;
        right: .85rem;
        transform: translateY(-50%);
        color: #94a3b8;
        width: 18px;
        height: 18px;
        cursor: pointer;
        user-select: none;
        stroke-width: 2;
    }

    .input-icon-wrap .form-control {
        padding-right: 2.8rem;
    }

.form-check-label {
    font-size: .85rem;
    color: #374151;
}

.forgot-link {
    font-size: .85rem;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: .7rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    background: var(--color-primary);
    border: none;
    color: #fff;
    transition: background .2s, transform .1s;
    margin-top: .5rem;
}

    .btn-login:hover {
        background: var(--color-secondary);
        color: #fff;
    }

    .btn-login:active {
        transform: scale(.98);
    }

.divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #94a3b8;
    font-size: .8rem;
    margin: 1.25rem 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e2e8f0;
    }

.btn-social {
    width: 100%;
    padding: .6rem;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: .88rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: border-color .2s, background .2s;
    cursor: pointer;
}

    .btn-social:hover {
        border-color: #0d6efd;
        background: #f0f6ff;
    }

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .85rem;
    color: #64748b;
}

    .form-footer a {
        color: #0d6efd;
        font-weight: 600;
        text-decoration: none;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

/* ── Coluna direita ── */
.col-custom {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

    .col-custom.overlay-gradient::before,
    .col-custom.overlay-gradient::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 120px;
        z-index: 2;
        pointer-events: none;
    }

    .col-custom.overlay-gradient::before {
        top: 0;
        background: linear-gradient(to bottom, #0f172a 30%, transparent);
    }

    .col-custom.overlay-gradient::after {
        bottom: 0;
        background: linear-gradient(to top, #0f172a 30%, transparent);
    }

/* Trilha do carrossel */
.vc-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    will-change: transform;
}

/* Card de imagem */
.vc-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    height: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
}

    .vc-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

    .vc-card:hover img {
        transform: scale(1.04);
    }

/* Legenda no card */
.vc-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .02em;
}

/* Responsivo */
@media (max-width: 768px) {
    .col-custom {
        display: none;
    }
}

video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh; /* proporção 9:16 */
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    /*pointer-events: none;*/
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.gradient {
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

/* Lendo a imagem diretamente do seu servidor local! */
:root {
    /* essa biblioteca usa .webp tive que pegar a versão 18.5.3 para pegar uma versão que usava .png */
    --iti-path-flags-1x: url('/template01/assets/img/flags.png');
    --iti-path-flags-2x: url('/template01/assets/img/flags@2x.png');
}

.iti {
    width: 100%;
    display: block;
}

.iti__country-container {
    border-right: 1px solid #ced4da;
    background-color: #f8f9fa;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.iti__selected-flag:focus {
    outline: none !important;
}

.iti input.form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Spinner */
.lds-ring {
    color: #002aff;
}

    .lds-ring,
    .lds-ring div {
        box-sizing: border-box;
    }

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid currentColor;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: currentColor transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Desktop / Tablet */
.margin-top-desktop {
    margin-top: 1000px;
}

/* Mobile */
@media (max-width: 767.98px) {
    .margin-top-desktop {
        margin-top: 1300px !important;
    }
}
