/* ========================================
   ROTINAS CSS - Workline System
   Estilos para alertas e componentes reutilizáveis
   ======================================== */

/* Alerta de Carregamento */
#loading-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe0b2 100%);
    color: #856404;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

#loading-alert.show {
    transform: translateY(0);
}

#loading-alert i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

#loading-alert .loading-text {
    display: inline;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    #loading-alert {
        font-size: 1rem;
        padding: 12px;
    }
}
