* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Nunito', -apple-system, sans-serif;
    color: #1c1c1e;
}

.login-header {
    height: 56px;
    text-align: center;
    background: #263850;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-header .brand-image { height: 54px; }

.login-container {
    height: calc(100vh - 56px);
    overflow-x: hidden;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.login-area {
    background: #f6f9fc;
    display: flex;
    height: 100%;
}
.image-area .fullscreen-image {
    width: 100%;
    height: calc(100vh - 56px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media screen and (max-width: 768px) {
    .login-container { grid-template-columns: 1fr; }
    .image-area { display: none; }
}

.cn-banner-foto {
    position: relative;
    display: flex;
    align-items: flex-end;
}
.cn-banner-scrim {
    width: 100%;
    padding: 3rem 2.5rem 2.5rem;
    background: linear-gradient(to top, rgba(16, 21, 43, 0.92) 0%, rgba(16, 21, 43, 0.55) 55%, rgba(16, 21, 43, 0) 100%);
    color: #fff;
}
.cn-banner-etiqueta {
    display: inline-block;
    background: #91d905;
    color: #16204a;
    font-weight: 800;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: .75rem;
}
.cn-banner-titulo { font-weight: 800; font-size: 26px; line-height: 1.25; margin-bottom: 8px; text-wrap: balance; }
.cn-banner-texto { color: #cfd4ea; font-size: 14.5px; line-height: 1.5; margin: 0; max-width: 380px; }

.cn-aviso-entregador {
    background: #fff8ec;
    border: 1px solid #ffe3a8;
    color: #7a5b16;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}
.cn-aviso-entregador a { display: block; color: #4e73df; font-weight: 700; margin-top: 2px; text-decoration: none; }
.cn-aviso-entregador a:hover { text-decoration: underline; }

.cn-aviso-indicacao {
    background: #f2fbe6;
    border: 1px solid #cbe999;
    color: #3a4a12;
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}
.cn-aviso-indicacao i { color: #6ea70a; margin-right: 6px; }
.cn-aviso-indicacao strong { color: #16204a; }

.cn-login-area {
    align-items: center;
    padding: 2.5rem 0;
}
.cn-login-area.cn-login-area-form {
    overflow-y: auto;
    align-items: flex-start;
}
.cn-miolo { width: 100%; max-width: 380px; margin: 0 auto; }

.cn-titulo { font-weight: 800; font-size: 22px; margin-bottom: 4px; color: #1c1c1e; }
.cn-subtitulo { color: #858796; font-size: 14px; margin-bottom: 1.75rem; }

.cn-escolhas { display: flex; gap: 14px; }
.cn-card-escolha {
    flex: 1;
    background: #fff;
    border: 1.5px solid #e3e6f0;
    border-radius: 0.6rem;
    padding: 1.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color .15s, transform .15s;
}
.cn-card-escolha:hover { border-color: #4e73df; transform: translateY(-2px); }
.cn-card-escolha i { font-size: 28px; color: #202c5e; margin-bottom: 4px; }
.cn-card-escolha-titulo { font-weight: 800; color: #1c1c1e; font-size: 15px; }
.cn-card-escolha-sub { color: #858796; font-size: 12.5px; }

.cn-btn-voltar-topo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #858796;
    font-weight: 700;
    font-size: 13.5px;
    padding: 0;
    margin-bottom: 1.25rem;
    cursor: pointer;
}
.cn-btn-voltar-topo:hover { color: #4e73df; }

.cn-campo { margin-bottom: 1.1rem; }
.cn-label {
    display: block;
    color: #858796;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}
.cn-opcional { font-weight: 400; }

.cn-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 15px;
    color: #1c1c1e;
    background: #fff;
    border: 1.5px solid #e3e6f0;
    border-radius: 0.4rem;
    transition: border-color .15s, box-shadow .15s;
}
.cn-input::placeholder { color: #b7b9cc; }
.cn-input:focus {
    outline: none;
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
}
.cn-input.cn-invalido { border-color: #e74a3b; }
.cn-input.cn-valido { border-color: #1cc88a; }

.cn-linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cn-input-senha-wrapper { position: relative; }
.cn-input-senha-wrapper .cn-input { padding-right: 44px; }
.cn-btn-olho {
    position: absolute;
    right: 0;
    top: 0;
    height: 46px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #858796;
    cursor: pointer;
}
.cn-btn-olho:hover { color: #4e73df; }

.cn-erro-campo { color: #e74a3b; font-size: 12.5px; margin-top: 5px; }
.cn-erro-campo:empty { margin-top: 0; }
.cn-status { display: block; margin-top: 5px; font-size: 12.5px; color: #858796; }
.cn-status.ok { color: #1cc88a; }
.cn-status.erro { color: #e74a3b; }

.cn-secao-label {
    display: flex; align-items: center; gap: 8px;
    color: #858796;
    font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: .3px;
    margin: 1.5rem 0 1rem;
}
.cn-secao-label i { color: #202c5e; }

.cn-btn-primario {
    display: block;
    width: 100%;
    height: 48px;
    background: #4e73df;
    color: #fff;
    font-weight: 700;
    font-size: 15.5px;
    border: none;
    border-radius: 0.4rem;
    margin-top: .5rem;
    transition: background .15s;
}
.cn-btn-primario:hover { background: #375bc8; color: #fff; }
.cn-btn-primario:disabled { opacity: .6; cursor: not-allowed; }

.cn-btn-primario .fa-spinner { margin-right: 8px; }

.cn-sucesso-icone {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eaf7ee;
    color: #1cc88a;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.cn-sucesso-titulo { text-align: center; }
.cn-sucesso-texto { text-align: center; margin-bottom: 1.75rem; }
.cn-btn-sucesso-login { text-decoration: none; line-height: 48px; text-align: center; }
.cn-btn-sucesso-login:hover { color: #fff; text-decoration: none; }

.cn-divisor {
    width: 100%;
    border: none;
    border-top: 1px solid #d8d8d8;
    margin: 1.5rem 0 1rem;
}
.cn-conta-existe-texto {
    text-align: center;
    color: #858796;
    font-size: 13.5px;
    margin-bottom: .75rem;
}

.btn.btn-default {
    color: rgba(0, 0, 0, 0.87);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: none;
    text-decoration: none;
    transition: background 0.25s;
}
.btn.btn-default:hover { background: #efefef; color: rgba(0, 0, 0, 0.87); text-decoration: none; }
.btn.btn-default:active { background: #e1e1e1; }

.cn-btn-entrar {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 44px;
    text-align: center;
    padding: 0;
}

.btn-outline-primary {
    color: #202c5e;
    border-color: #202c5e;
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #202c5e;
    border-color: #202c5e;
    color: #fff;
}
.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 44, 94, 0.5);
}

@media (max-width: 768px) {
    .cn-login-area { padding: 1.5rem 0; }
    .cn-miolo { padding: 0 1.25rem; }
}

@media (max-width: 400px) {
    .cn-escolhas { flex-direction: column; }
}
