/* ===========================
   AUTH SCREEN - CSS CENTRALIZADO
   Estilo padrao azul para todas as telas de login
   Usado por: Financas, Servicos, Estoque, Custo, Acompanhar Pedido
   =========================== */

/* Tela de login fullscreen */
.auth-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-loading, 9998);
    background: linear-gradient(135deg, #0a0a1a 0%, #0a1a2d 50%, #0a0a1a 100%);
    justify-content: center;
    align-items: center;
    animation: fadeInAuth 0.3s ease-out;
}

.auth-screen.active {
    display: flex;
}

/* Efeito de luz azul no fundo */
.auth-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 150, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Container do conteudo */
.auth-content {
    position: relative;
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    animation: slideUpAuth 0.4s ease-out;
}

/* Logo/Titulo principal */
.auth-logo {
    margin-bottom: 1rem;
}

.auth-logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.auth-logo p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    line-height: 1.4;
    margin: 0;
}

/* Icone circular com glow */
.auth-icon {
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 150, 200, 0.3));
    border: 3px solid #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2),
        inset 0 0 30px rgba(0, 212, 255, 0.1);
    animation: pulseAuth 2s infinite;
}

.auth-icon i {
    font-size: 3.5rem;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* Titulo da secao */
.auth-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

/* Mensagem/descricao */
.auth-message {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

/* Botao de login Google */
.auth-btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: none;
    border-radius: 12px;
    color: #333333;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.auth-btn-google:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.auth-btn-google i {
    font-size: 1.3rem;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rodape da tela de login */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.auth-footer a:hover {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Animacoes */
@keyframes fadeInAuth {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpAuth {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseAuth {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(0, 212, 255, 0.4),
            0 0 60px rgba(0, 212, 255, 0.2),
            inset 0 0 30px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow:
            0 0 50px rgba(0, 212, 255, 0.6),
            0 0 80px rgba(0, 212, 255, 0.3),
            inset 0 0 40px rgba(0, 212, 255, 0.2);
    }
}

/* Responsivo */
@media (max-width: 480px) {
    .auth-content {
        padding: 2rem 1.5rem;
    }

    .auth-logo h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .auth-icon {
        width: 100px;
        height: 100px;
    }

    .auth-icon i {
        font-size: 2.5rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .auth-message {
        font-size: 0.9rem;
    }

    .auth-btn-google {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
