/* ── Reset / Base ── */
.ln-body {
    margin: 0;
    padding: 0;
    background: #f0f2f5;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #0C3444;
}

/* ── Container principal (duas colunas) ── */
.ln-container {
    display: flex;
    min-height: 100vh;
}

/* ════════════════════════════════════════
   COLUNA ESQUERDA
════════════════════════════════════════ */
.ln-left {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    border-radius: 0 24px 24px 0;
    /*box-shadow: 8px 0 40px rgba(0, 0, 0, 0.22);*/
    border-right: 2px solid #F7A500;
    z-index: 1;
}

.ln-left-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ── Imagem central ── */
.ln-carousel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.ln-carousel-link {
    display: block;
    text-decoration: none;
}

.ln-carousel-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #FFF;
    box-shadow: 2.67px 2.67px 2.67px 0px #00000040;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ln-carousel-img {
    width: 147px;
    height: 175px;
    object-fit: contain;
    transition: opacity 0.6s ease;
}

.ln-carousel-img.active {
    opacity: 1;
}

/* ── Indicadores (dots) ── */
.ln-carousel-dots {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.ln-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.ln-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ── Texto central ── */
.ln-text-central {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 0 24px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ln-text-central strong {
    font-weight: 700;
    color: #ffe082;
}

/* ── Botão CTA ── */
.ln-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #DCDCDC;
    border: 1.5px solid #DCDCDC;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    backdrop-filter: blur(4px);
    margin-bottom: 36px;
    box-shadow: 0px 4px 4px 0px #0000000D;

}

.ln-btn-cta:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Área de selos ── */
.ln-selos-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
}

.ln-selos-slider {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.ln-selos-viewport {
    flex: 1;
    overflow: hidden;
}

.ln-selos-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.ln-selos-arrow {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 48px;
    background: transparent;
    border: none;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}

.ln-selos-arrow.ln-visible {
    display: flex;
}

.ln-selos-arrow:hover {
    color: #fff;
}

.ln-selo-img {
    width: 83.33px;
    height: 83.33px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
    transition: opacity 0.3s;
}

@media (max-width: 1200px) {
    .ln-selo-img { width: 68px; height: 68px; }
}

@media (max-width: 960px) {
    .ln-selo-img { width: 56px; height: 56px; }
}

@media (max-width: 480px) {
    .ln-selo-img { width: 44px; height: 44px; }
}

.ln-selo-ativo {
    opacity: 1;
}

.ln-selo-inativo {
    opacity: 0.4;
}

.ln-selos-counter-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    white-space: nowrap;
}

.ln-selos-counter-link:hover {
    color: #fff;
    text-decoration: none;
}

/* ════════════════════════════════════════
   COLUNA DIREITA
════════════════════════════════════════ */
.ln-right {
    flex: 0 0 500px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 52px 56px;
    margin-left: -20px;
    background: #fff;
}

/* ── Logo ── */
.ln-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.ln-logo-epa,
.ln-logo-cliente {
    max-height: 64px;
    max-width: 200px;
    object-fit: contain;
}

/* ── Loading bar ── */
.ln-loading {
    margin-bottom: 12px;
}

.ln-loading.hide { display: none; }

.ln-loading-bar {
    /*background: #e8f6ff;
    border-radius: 6px;
    padding: 8px 14px;*/
    font-size: 16px;
    color: #0C9DFF;
    font-weight: 600;
    text-align: start;
}

/* ── Alertas ── */
.ln-alert {
    display: block;
    text-align: left;
    width: 100%;
}

.ln-alert.hide { display: none; }

.ln-alert--error {
    font-size: 12px;
    color: #E10505;
}

/* ── Form ── */
.ln-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.ln-auth {
    width: 80%;
    max-width: 334px;
    height: 100%;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 32px 0 32px 0;
}

.ln-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.ln-field-label {
    font-family: 'Open Sans';
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #0C3444;
}

.ln-required {
    color: #e53e3e;
    margin-right: 2px;
}

.ln-input {
    font-size: 14px;
    border: 0.5px solid #CCCCCC;
    border-radius: 8px;
    outline: none;
    color: #01384C;
    background: #fff;    
    box-sizing: border-box;
    width: 100%;
    max-width: 334px;
    height: 32px;
    opacity: 1;
    gap: 8px;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    border-radius: 4px;
    border-width: 0.5px;
    box-shadow: 1px 1px 5px 0px #D4D4D480 inset;


}

.ln-input:focus {
    border-color: #0C9DFF;
    box-shadow: 0 0 0 3px rgba(12, 157, 255, 0.12);
}

.ln-input--error {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12) !important;
}

.ln-input--padded {
    padding-right: 44px;
}

/* ── Ícone de erro no campo ── */
.ln-field-error-icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 0;
}

.ln-input-wrap--error .ln-field-error-icon {
    display: inline-flex;
}

/* No estado de erro da senha: olho recua, ícone de erro vai para a extrema direita */
.ln-input-wrap--error .ln-eye-btn {
    right: 34px;
}

.ln-input-wrap--error .ln-input--padded {
    padding-right: 64px;
}

/* ── Campo senha com ícone ── */
.ln-input-wrap {
    position: relative;
}

.ln-eye-btn {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #01384C;
    padding: 0;
    display: flex;
    align-items: center;
}

.ln-eye-btn:hover { color: #01384C; }

/* ── Link esqueci senha ── */
.ln-link-forgot {
    align-self: flex-start;
}

.ln-link-forgot a {
    font-size: 14px;
    color: #01384C;
    text-decoration: none;
    display: inline-block;
    padding: 16px 8px;
    align-items: flex-start;
}

.ln-link-forgot a:hover {
    text-decoration: none;
    color: #01384C;
}

/* ── Botões principais ── */
.ln-btn-primary {
    width: 100%;
    max-width: 334px;
    height: 32px;
    background: #02BCFF;
    color: #01384C;
    border: 1.5px #42A9CC;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    border-width: 1.5px;
}

.ln-btn-primary:hover:not(:disabled) {
    background: #0a87dd;
    box-shadow: 0 4px 14px rgba(12, 157, 255, 0.35);
}

.ln-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes ln-spin {
    to { transform: rotate(360deg); }
}

.ln-spinner {
    display: inline-block;
    animation: ln-spin 0.75s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

.ln-btn-microsoft {
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #EFEFEF;
    border: 1.5px solid #DCDCDC;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #01384C;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    margin-top: 10px;
    box-shadow: 0px 4px 4px 0px #0000000D;
}

.ln-btn-microsoft:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Ações secundárias ── */
.ln-secondary-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: start;
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.ln-link-secondary {
    font-size: 14px;
    color: #01384C;
    text-decoration: none;
}

.ln-link-secondary:hover {
    color: #01384C;
    text-decoration: underline;
}

/* ── Rodapé ── */
.ln-footer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-bottom: 20px;
}

.ln-footer-logo {
    width: 65px;
    height: 25.99px;
    object-fit: contain;
    opacity: 0.7;
}

.ln-footer-sep {
    color: #d1d5db;
    font-size: 14px;
}

.ln-footer-version {
    font-size: 14px;
    font-weight: 400;
    color: #0C3444;
}

/* ════════════════════════════════════════
   RESPONSIVIDADE
════════════════════════════════════════ */
@media (max-width: 960px) {
    .ln-container {
        flex-direction: column;
    }

    .ln-left {
        flex: none;
        min-height: 340px;
        padding: 36px 24px;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
    }

    .ln-carousel-circle {
        width: 160px;
        height: 160px;
    }

    .ln-right {
        flex: none;
        max-width: 100%;
        padding: 36px 32px;
    }
}

@media (max-width: 480px) {
    .ln-body {
        padding: 16px 12px;
    }

    .ln-left {
        min-height: 280px;
        padding: 28px 16px;
    }

    .ln-carousel-circle {
        width: 120px;
        height: 120px;
    }

    .ln-text-central {
        font-size: 14px;
    }

    .ln-right {
        padding: 28px 20px;
    }
}
