/* Melhorias Visuais - MMG Eletrônica */

/* ===== ANIMAÇÕES E EFEITOS ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }
}

/* ===== RESPONSIVIDADE LOGO ===== */
.mmg-responsive-logo {
    height: 120px;
    margin-right: 30px;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .mmg-responsive-logo {
        height: 80px;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    
    .mmg-main-title {
        font-size: 2.5rem !important;
    }
    
    .mmg-subtitle {
        font-size: 1.8rem !important;
    }
    
    .header div:first-child {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* ===== ÍCONES E PLACEHOLDERS VISUAIS ===== */

/* Placeholder para imagens de aparelhos */
.aparelho-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.aparelho-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Avatares de clientes com iniciais */
.cliente-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    text-transform: uppercase;
}

/* Ícones de status coloridos */
.status-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-aguardando { background-color: #ff9800; }
.status-em-andamento { background-color: #2196f3; }
.status-concluido { background-color: #4caf50; }
.status-entregue { background-color: #9c27b0; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Cards com gradientes modernos */
.card-modern {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Backgrounds temáticos por categoria */
.bg-lavadora { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.bg-tv { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.bg-geladeira { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.bg-microondas { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.bg-som { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

/* Padrões SVG como background */
.pattern-dots {
    background-image: radial-gradient(circle, #000 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.pattern-grid {
    background-image: 
        linear-gradient(rgba(0,0,0,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Ilustrações com CSS */
.oficina-icon {
    width: 100px;
    height: 100px;
    background: #2196f3;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
}

.oficina-icon::before {
    content: '🔧';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
}

/* Gráficos simples com CSS */
.progress-bar-custom {
    height: 20px;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: rgba(255,255,255,0.3);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Timeline visual */
.timeline-modern {
    position: relative;
    padding-left: 40px;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #2196f3, #4caf50);
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item-modern::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2196f3;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #2196f3;
}

/* Hover effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Cores da marca MMG */
:root {
    --mmg-primary: #2196f3;
    --mmg-secondary: #4caf50;
    --mmg-accent: #ff9800;
    --mmg-gradient: linear-gradient(135deg, var(--mmg-primary) 0%, var(--mmg-secondary) 100%);
}

.btn-mmg {
    background: var(--mmg-gradient);
    border: none;
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-mmg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
    color: white;
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s infinite;
}

@keyframes loading-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsividade */
@media (max-width: 768px) {
    .aparelho-placeholder {
        height: 120px;
        font-size: 2rem;
    }
    
    .cliente-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
