body.pagina-auth {
    background-color: var(--cor-escuro) !important;
    background-image: radial-gradient(ellipse 70% 60% at 0% 0%,   rgba(192,57,43,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(201,151,58,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 40% 70% at 80% 20%,  rgba(192,57,43,0.06) 0%, transparent 50%) !important;
    background-attachment: fixed !important;
}

body.pagina-auth .site-header,
body.pagina-auth .site-footer {
    display: none !important;
}

body.pagina-auth .site-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 24px 16px;
}

.auth-wrapper {
    width: 100%;
    max-width: 1020px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
}

.auth-panel-esquerdo {
    background: var(--cor-vermelho);
    position: relative;
    overflow: hidden;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 580px;
}

.auth-panel-esquerdo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0,0,0,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(255,255,255,0.07) 0%, transparent 50%);
}

.auth-panel-esquerdo::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.025) 40px,
        rgba(255,255,255,0.025) 41px
    );
}

.painel-conteudo {
    position: relative;
    z-index: 2;
}

.auth-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 48px;
    text-decoration: none;
}

.auth-logo-acento {
    font-family: var(--fonte-acento);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
}

.auth-logo-nome {
    font-family: var(--fonte-titulo);
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
}

.auth-logo-nome em {
    font-style: italic;
    color: rgba(255,255,255,0.75);
}

.painel-titulo {
    font-family: var(--fonte-titulo);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.painel-sub {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.75;
    max-width: 260px;
}

.painel-prato {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 9rem;
    line-height: 1;
    opacity: 0.15;
    z-index: 1;
    transform: rotate(15deg);
    pointer-events: none;
}

.painel-features {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.78);
}

.feature-icone {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.auth-panel-direito {
    background: var(--cor-escuro-medio);
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-header h1 {
    font-family: var(--fonte-titulo);
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--cor-branco);
    line-height: 1.1;
    margin-bottom: 6px;
}

.auth-form-header p {
    font-size: 0.88rem;
    color: rgba(250,250,248,0.42);
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.86rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.auth-alert-erro {
    background: rgba(192,57,43,0.15);
    border: 1px solid rgba(192,57,43,0.35);
    color: #f1948a;
}

.auth-alert-sucesso {
    background: rgba(39,174,96,0.12);
    border: 1px solid rgba(39,174,96,0.30);
    color: #58d68d;
}

.auth-alert-icone {
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.auth-form-group ul, .auth-panel-direito ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 2px;
}

.auth-form-group ul li, .auth-panel-direito ul li {
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.auth-form-group ul li::before, .auth-panel-direito ul li::before {
    content: '⚠';
    font-size: 0.8rem;
}

.auth-form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250,250,248,0.47);
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icone {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0.55;
    color: var(--cor-branco);
    transition: color 0.2s, opacity 0.2s;
    line-height: 1;
}

.auth-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 13px 12px 40px;
    color: var(--cor-branco);
    font-family: var(--fonte-corpo);
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-input::placeholder {
    color: rgba(250,250,248,0.20);
}

.auth-input:focus {
    outline: none;
    border-color: var(--cor-vermelho);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.18);
}

.auth-input:focus + .auth-input-icone,
.auth-input-wrap:focus-within .auth-input-icone {
    opacity: 0.9;
    color: var(--cor-vermelho-claro);
}

.toggle-senha {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
    transition: color 0.2s;
    line-height: 1;
}

.toggle-senha:hover {
    color: var(--cor-branco);
}

.auth-form-rodape {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: 8px;
}

.auth-link-esqueceu {
    font-size: 0.82rem;
    color: rgba(250,250,248,0.40);
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link-esqueceu:hover {
    color: var(--cor-vermelho-claro);
}

.auth-btn {
    width: 100%;
    background: var(--cor-vermelho);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-family: var(--fonte-corpo);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn:hover {
    background: var(--cor-vermelho-escuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,57,43,0.38);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-divisor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.auth-divisor::before,
.auth-divisor::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.07);
}

.auth-divisor span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.22);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.auth-link-cadastro {
    text-align: center;
    font-size: 0.86rem;
    color: rgba(250,250,248,0.38);
}

.auth-btn-cadastro {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 12px;
    font-family: var(--fonte-corpo);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn-cadastro:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--cor-branco);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.auth-btn-cadastro:active {
    transform: translateY(0);
}

.auth-voltar {
    text-align: center;
    margin-top: 16px;
}

.auth-btn-voltar {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--fonte-corpo);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
}

.auth-btn-voltar:hover {
    color: rgba(255, 255, 255, 0.75);
    transform: translateY(-1.5px);
}

.auth-btn-voltar:active {
    transform: translateY(0);
}

.auth-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.auth-fields-grid .full {
    grid-column: 1 / -1;
}

.forca-senha-wrap {
    margin-top: 6px;
}

.forca-senha-barra {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.forca-segmento {
    height: 3px;
    flex: 1;
    border-radius: 99px;
    background: rgba(255,255,255,0.08);
    transition: background 0.3s;
}

.forca-texto {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    transition: color 0.3s;
}

.auth-form-group ul,
.auth-form-group .form-error-list,
.auth-termos-group ul,
.auth-termos-group .form-error-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 2px;
}

.auth-form-group ul li,
.auth-form-group .form-error-list li,
.auth-form-group .form-error-item,
.auth-termos-group ul li,
.auth-termos-group .form-error-list li,
.auth-termos-group .form-error-item,
.auth-panel-direito ul li,
.auth-panel-direito .form-error-list li,
.auth-panel-direito .form-error-item {
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.auth-form-group ul li::before,
.auth-form-group .form-error-list li::before,
.auth-form-group .form-error-item::before,
.auth-termos-group ul li::before,
.auth-termos-group .form-error-list li::before,
.auth-termos-group .form-error-item::before,
.auth-panel-direito ul li::before,
.auth-panel-direito .form-error-list li::before,
.auth-panel-direito .form-error-item::before {
    content: '⚠';
    font-size: 0.8rem;
}

.auth-termos-group {
    margin-bottom: 12px;
}

.auth-termos {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.auth-termos input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--cor-vermelho);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.auth-termos label {
    font-size: 0.82rem;
    color: rgba(250,250,248,0.40);
    line-height: 1.5;
    cursor: pointer;
}

.auth-termos a {
    color: var(--cor-vermelho-claro);
    text-decoration: none;
    font-weight: 700;
}

.auth-termos a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        max-width: 460px;
        border-radius: 20px;
    }
    .auth-panel-esquerdo {
        min-height: auto;
        padding: 36px 32px;
    }
    .painel-titulo {
        font-size: 1.5rem;
    }
    .painel-features {
        display: none;
    }
    .auth-logo {
        margin-bottom: 24px;
    }
    .painel-prato {
        font-size: 6rem;
    }
    .auth-panel-direito {
        padding: 40px 32px;
    }
}

@media (max-width: 400px) {
    .auth-panel-esquerdo {
        padding: 24px 18px;
    }
    .auth-panel-direito {
        padding: 28px 18px;
    }
    .auth-form-header h1 {
        font-size: 1.55rem;
    }
}

@media (max-width: 780px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        border-radius: 20px;
    }
    .auth-panel-esquerdo {
        min-height: auto;
        padding: 32px 28px;
    }
    .auth-logo {
        margin-bottom: 20px;
    }
    .painel-features {
        display: none;
    }
    .painel-prato {
        font-size: 5rem;
    }
    .auth-panel-direito {
        padding: 36px 28px;
    }
    .auth-fields-grid {
        grid-template-columns: 1fr;
    }
    .auth-fields-grid .full {
        grid-column: auto;
    }
}
