/**
 * Telas externas (login, esqueci a senha, cadastro, contato, desbloqueio, portal do
 * tutor) no formato do InspX: .login-panel do tema à esquerda e a metade direita
 * (.login-image) com a arte roxa e as propagandas em rodízio
 * (templates/painel-propaganda.xhtml). Carregado depois do layout-light.css.
 */

/* ---------- metade esquerda (formulário) ---------- */
.login-body .login-wrapper .login-panel .logo {
    height: 52px;
}
.login-body .login-wrapper .login-panel h2 {
    color: #2F1C6A;
    font-weight: 800;
    margin: 0 0 4px;
}
.login-body .login-wrapper .login-panel .pz-sub {
    color: #6c757d;
    font-weight: 500;
    margin: 0 0 24px;
}
.login-body .login-wrapper .login-panel p > a,
.login-body .login-wrapper .login-panel .login-form > p > a,
.login-body .login-wrapper .login-panel .pz-links a {
    color: #673DE6;
}
.login-body .login-wrapper .login-panel .login-form .ui-inputfield,
.login-body .login-wrapper .login-panel .login-form .ui-password,
.login-body .login-wrapper .login-panel .login-form .ui-inputmask {
    width: 85%;
    max-width: 310px;
    margin-bottom: 14px;
}
.login-body .login-wrapper .login-panel .login-form .ui-password input {
    width: 100%;
}
.login-body .login-wrapper .login-panel .login-form .ui-button,
.login-body .login-wrapper .login-panel .login-form .pz-btn {
    width: 85%;
    max-width: 310px;
    background: #673DE6;
    border-color: #673DE6;
}
.login-body .login-wrapper .login-panel .login-form .ui-button:enabled:hover,
.login-body .login-wrapper .login-panel .login-form .pz-btn:hover {
    background: #2F1C6A;
    border-color: #2F1C6A;
}
.pz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #673DE6;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}
.pz-input {
    width: 85%;
    max-width: 310px;
    margin-bottom: 14px;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: inherit;
    box-sizing: border-box;
}
.pz-input:focus {
    outline: 0 none;
    border-color: #673DE6;
    box-shadow: 0 0 0 0.2rem #EBE4FF;
}
.pz-label {
    width: 85%;
    max-width: 310px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}
.pz-erro {
    width: 85%;
    max-width: 310px;
    background: #FCEBEB;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #791F1F;
    text-align: left;
}
.pz-ok {
    width: 85%;
    max-width: 310px;
    background: #E1F5EE;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #085041;
    text-align: left;
}
.pz-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 85%;
    max-width: 310px;
    margin: 4px 0 18px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}
.pz-tutor {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #6c757d;
}
.pz-tutor a {
    color: #1D9E75 !important;
    font-weight: 700;
}

/* ---------- metade direita (propagandas) ---------- */
.login-body .login-wrapper .login-image.pz-propaganda {
    position: relative;
    justify-content: space-between;
    align-items: stretch;
    padding: 48px 7%;
    color: #ffffff;
    background-color: #2F1C6A;
    overflow: hidden;
}
.pz-propaganda::after {
    /* véu em degradê sobre a arte, para o texto branco ler bem */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(47, 28, 106, 0.55) 0%, rgba(103, 61, 230, 0.15) 100%);
    pointer-events: none;
}
.pz-propaganda > * {
    position: relative;
    z-index: 1;
}
.pz-prop-topo img {
    height: 44px;
}
.pz-prop-slides {
    display: grid;
    max-width: 640px;
}
.pz-prop-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}
.pz-prop-slide.ativo {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.pz-prop-selo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 4px 14px;
}
.pz-prop-slide h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
    font-weight: 800;
    margin: 20px 0 14px;
    color: #ffffff;
}
.pz-prop-slide p {
    font-size: 1.1rem;
    line-height: 1.55;
    color: #E3DBFF;
    margin: 0 0 18px;
    max-width: 560px;
}
.pz-prop-slide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pz-prop-slide li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.pz-prop-slide li .pi {
    color: #5DCAA5;
}
.pz-prop-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.pz-prop-cta {
    display: inline-block;
    background: #1D9E75;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
}
.pz-prop-cta:hover {
    background: #18875f;
}
.pz-prop-cta-sec {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
}
.pz-prop-cta-sec:hover {
    background: rgba(255, 255, 255, 0.12);
}
.login-body .login-wrapper .login-image .image-footer.pz-prop-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pz-prop-rodape p {
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 !important;
}
.pz-prop-dots {
    display: flex;
    gap: 8px;
}
.pz-prop-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.3s, background 0.3s;
}
.pz-prop-dots button.ativo {
    width: 28px;
    background: #ffffff;
}

/* telas externas só de texto (erro, desbloqueio, cancelar inscrição) */
.login-body .login-wrapper .login-panel .pz-texto {
    max-width: 380px;
}
.login-body .login-wrapper .login-panel .pz-texto p {
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.login-body .login-wrapper .login-panel .pz-texto ul {
    list-style: none;
    padding: 0;
}

/* portal do tutor: as telas têm card e CSS próprios; aqui só vira a página dividida */
body.login-body.pz-tutor-body {
    display: block;
    min-height: 100vh;
    padding: 0;
}
.pz-tutor-body .login-wrapper {
    width: 100%;
    min-height: 100vh;
    height: auto;
}
.pz-tutor-body .login-wrapper .login-panel.pz-tutor-panel {
    width: 42%;
    height: auto;
    min-height: 100vh;
    justify-content: center;
    text-align: left;
    padding: 32px 24px;
}
.pz-tutor-body .login-wrapper .login-image.pz-propaganda {
    width: 58%;
    height: auto;
    min-height: 100vh;
}
.pz-tutor-icone {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto 8px;
}
@media (max-width: 992px) {
    .pz-tutor-body .login-wrapper .login-panel.pz-tutor-panel {
        width: 100%;
    }
}
