/* ================================
   SELL SOFT - CSS EXCLUSIVO LOGIN
   ================================ */

/* Wrapper geral */
.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background-color: #f8f9fa;
}

/* Coluna esquerda (formulário) */
.login-form-area {
    width: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.login-form-box {
    width: 100%;
    max-width: 420px;
}

.login-form-box .logo-img-login{
    width: 250px;
    display: block;
    margin: 0 auto 10px auto;
}

.login-form-box p {
    font-size: 1rem;
    color: #555;
}

.btn-login {
    background: #002b5b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.9rem;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-login:hover {
    background: #004080;
    transform: translateY(-2px);
}

/* ================================
   COLUNA DIREITA (SLIDE + IMAGEM)
   ================================ */

.login-slide {
    width: 50%;
    height: 100vh;
    background: linear-gradient(135deg, #031C33, #031C33);
    position: relative;
    overflow: hidden;
}

/* Imagem ocupa 100% da área */
.login-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Textos sobrepostos */
.login-slide-message {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 3;
    text-align: center;
    font-size: 1.3rem;
}

.login-slide-message p {
    margin: 3px 0;
}

/* ================================
   RESPONSIVIDADE
   ================================ */

@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-slide {
        height: 300px;
        width: 100%;
    }

    .login-form-area {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .login-slide-message {
        font-size: 1.1rem;
        bottom: 20px;
    }

    .login-slide-img {
        filter: brightness(0.6);
    }
}

.login-slide-message {
    position: absolute;
    top: 55px;
    /* Ajusta a distância do topo */
    /* Ajusta a distância da direita */
    background: rgba(255, 255, 255, 0.06);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    width: 260px;
    /* opcional, deixa mais uniforme */
    z-index: 5;
    margin-left: 100px;
    height: 250px;
}


.login-slide-message p {
    font-size: 1.0rem;
    margin: 0 0 8px 0;
    font-weight: 500;
    color: #E4E8FF;
    position: relative;
    padding-left: 22px;
}

/* Bolinha / ícone personalizado */
.login-slide-message p::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #4C8BFF;
    font-weight: bold;
}

/* OVERRIDE FINAL - COLE NO FINAL DO SEU CSS */
.login-slide-message {
    position: absolute !important;
    top: 28px !important;
    /* distância do topo */
    right: 28px !important;
    /* distância da direita - evita usar margin-left */
    left: auto !important;
    bottom: auto !important;

    width: 200px !important;
    /* reduzido */
    height: auto !important;
    padding: 12px 14px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(6px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    text-align: left !important;
    z-index: 9999 !important;
    /* garante estar acima da imagem */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    transform: none !important;
    margin: 0 !important;
    font-size: 0.92rem !important;
}

/* reduz texto e icone quando necessário */
.login-slide-message p {
    font-size: 0.82rem !important;
    margin: 0 0 8px 0 !important;
    padding-left: 26px !important;
}

/* ícone (caso ainda use ::before) */
.login-slide-message p::before {
    font-size: 0.9rem !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* RESPONSIVO - garantido */
@media (max-width: 992px) {
    .login-slide-message {
        top: auto !important;
        bottom: 18px !important;
        right: 16px !important;
        width: 180px !important;
        padding: 10px !important;
        font-size: 0.8rem !important;
    }

    .login-slide-message p {
        font-size: 0.72rem !important;
        padding-left: 22px !important;
    }

    .login-slide-img {
        object-position: center right !important;
        filter: brightness(0.58) !important;
    }
}

/* TELAS GRANDES - aumenta a caixa */
@media (min-width: 992px) {
    .login-slide-message {
        width: 300px !important;
        padding: 20px !important;
        font-size: 1rem !important;
    }

    .login-slide-message p {
        font-size: 0.95rem !important;
    }
}

/* ============================
   UNIFICAÇÃO DO ESTILO DOS 3 MODAIS
   ============================ */

/* Estilo uniforme da caixa */
.modal-content,
.custom-modal-content {
    background: #ffffff !important;
    color: #02041E !important;
    border-radius: 15px !important;
    padding: 25px !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35) !important;
    animation: fadeInModal .25s ease !important;
}

/* Centralização reforçada */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 20px);
}

/* Fundo escuro uniforme */
.modal-backdrop.show {
    opacity: 0.25 !important;
    background-color: #000 !important;
}

/* Animação */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal customizado sempre centralizado */
.custom-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    background: rgba(0, 0, 0, 0.25);
    /* igual ao bootstrap */
    backdrop-filter: blur(2px);

    z-index: 99999 !important;
}

/* esconder corretamente */
.custom-modal.d-none {
    display: none !important;
}

.botao {
    background-color: #02041E;
    border: #02041E;
    transition: transform 0.3s ease, background-color 0.3s ease;

}

.botao:hover {
    background-color: #02041E;
    color: white;
}