/* Componentes — login /plataforma/ — espelho wezos55 */

.l-painel-login .c-plataforma-auth-card__logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.l-painel-login .c-plataforma-auth-card__logo {
    width: 68px;
    height: 68px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.2);
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 24px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 44px rgba(16, 185, 129, 0.42); }
}

.l-painel-login h1 {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 0.3rem;
    background: linear-gradient(130deg, #fff 30%, var(--em));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.l-painel-login .c-plataforma-auth-card__sub {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.c-alert.is-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 0.83rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.c-alert.is-ok {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    color: #a7f3d0;
    font-size: 0.83rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.l-painel-login__sair {
    margin-top: 0.75rem;
}

.l-painel-login .c-button.is-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--muted);
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    cursor: pointer;
}

.l-painel-login .c-button.is-ghost:hover {
    color: var(--em);
    border-color: var(--em);
}

.l-painel-login .c-button.is-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 14px;
    cursor: pointer;
}

.l-painel-login .c-button.is-logout:hover {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.c-field {
    margin-bottom: 1.1rem;
}

.c-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.c-field__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.c-field__label-row label {
    margin-bottom: 0;
}

.c-field__link {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.c-field__link:hover {
    color: var(--em);
}

.c-field input[type="text"],
.c-field input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.c-field input:focus {
    border-color: var(--em);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.c-field input::placeholder {
    color: rgba(110, 231, 183, 0.3);
}

.l-painel-login .c-button.is-emerald {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    padding: 1rem;
    background: linear-gradient(135deg, var(--em) 0%, var(--em-d) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.28);
    margin-top: 0.5rem;
}

.l-painel-login .c-button.is-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.42);
}

.l-painel-login__back-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.c-link-back {
    display: block;
    text-align: center;
    margin-top: 0;
    color: rgba(110, 231, 183, 0.45);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.c-link-back:hover {
    color: var(--em);
}

@media (prefers-reduced-motion: reduce) {
    .l-painel-login .c-button.is-emerald:hover {
        transform: none;
    }
}
