/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Logo no header */
.header-logo {
    height: 100px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
}

/* ===== LOGO MODERNO ===== */
.login-logo {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo-image {
    max-height: 100px;
    max-width: 250px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.logo-image:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Modal de Empresa - Estilos específicos movidos para baixo */

/* Estilos específicos para elementos do modal de empresa */

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-weight: 500;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Main content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card h3 {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.stat-number.success {
    color: #28a745;
}

.stat-number.warning {
    color: #ffc107;
}

.dashboard-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dashboard-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon {
    font-size: 1.2rem;
}

/* Login */
/* ===== DESIGN MODERNO E FUTURISTA PARA LOGIN ===== */

.login-body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Efeitos de fundo animados */
.login-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Partículas flutuantes */
.login-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-30px) translateX(10px); }
    66% { transform: translateY(-60px) translateX(-5px); }
    100% { transform: translateY(-90px) translateX(0px); }
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 24px;
    z-index: -1;
}

.login-box h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-box h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.login-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.login-info p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* ===== BOTÕES MODERNOS PARA LOGIN ===== */
.login-box .btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.login-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.login-box .btn:hover::before {
    left: 100%;
}

.login-box .btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.login-box .btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.login-box .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-box .btn:disabled:hover {
    transform: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Garantir que o texto do botão de login esteja centralizado */
.login-box .btn,
.login-box .btn-primary {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== FORMULÁRIOS MODERNOS ===== */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(120, 219, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 40px rgba(120, 219, 255, 0.2),
        0 0 0 4px rgba(120, 219, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Seções */
.search-section,
.audit-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-section h2,
.audit-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.search-form .form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

/* Estilos específicos para o campo de busca na página de auditoria */
.search-form .form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    color: #495057 !important;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-form .form-group input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    color: #495057 !important;
    box-shadow: 
        0 0 0 3px rgba(0, 123, 255, 0.1),
        0 6px 12px rgba(0, 123, 255, 0.15),
        0 3px 6px rgba(0, 123, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.search-form .form-group input[type="text"]::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.search-form .form-group input[type="text"]::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.search-form .form-group input[type="text"]::-moz-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.search-form .form-group input[type="text"]:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

/* Estilos para o formulário de busca com botões lado a lado */
.search-form .form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.search-form .form-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Modal do Scanner de Código de Barras */
.modal-scanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-scanner .modal-content {
    background: #ffffff;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-scanner .modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-scanner .modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-scanner .modal-header .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-scanner .modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-scanner .modal-body {
    padding: 20px;
}

.scanner-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.scanner-container video,
.scanner-container canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-container #scannerCanvas {
    width: 100%;
    height: 100%;
    position: relative;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.scanner-frame {
    width: 250px;
    height: 150px;
    border: 3px solid #00ff00;
    border-radius: 10px;
    position: relative;
    animation: scannerPulse 2s infinite;
}

.scanner-frame::before,
.scanner-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #00ff00;
}

.scanner-frame::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.scanner-frame::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

@keyframes scannerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.scanner-overlay p {
    color: white;
    margin-top: 20px;
    font-size: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
}

.scanner-tips {
    margin-top: 10px;
    text-align: center;
}

.scanner-tips small {
    color: #ffeb3b;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
}

.scanner-tips i {
    margin-right: 5px;
}

.scanner-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.scanner-actions .btn {
    flex: 1;
    max-width: 150px;
}

/* Responsividade para o scanner */
@media (max-width: 768px) {
    .modal-scanner .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .scanner-container {
        height: 250px;
    }
    
    .scanner-frame {
        width: 200px;
        height: 120px;
    }
    
    .scanner-actions {
        flex-direction: column;
    }
    
    .scanner-actions .btn {
        max-width: none;
    }
}

/* Informações do produto */
.product-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.info-item span {
    font-size: 1rem;
    color: #333;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status.audited {
    background: #d4edda;
    color: #155724;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.status-group .status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

/* Ações do formulário */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Lista de produtos */
.products-list h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-card.audited {
    border-left-color: #28a745;
}

.product-card.pending {
    border-left-color: #ffc107;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-header h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

.product-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Alertas */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form .form-group {
        min-width: auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .login-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    .login-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .login-box h1 {
        font-size: 1.8rem;
    }
    
    .login-box h2 {
        font-size: 1rem;
    }
    
    .logo-image {
        max-height: 80px;
        max-width: 200px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .login-box .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main {
        padding: 1rem 0;
    }
    
    .search-section,
    .audit-section {
        padding: 1.5rem;
    }
    
    .stats-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-section,
.audit-section,
.stats-card,
.product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Melhorias de acessibilidade */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Métricas de Atualizações */
.metrics-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.metrics-section h2 {
    margin-bottom: 1.5rem;
    color: #495057;
    font-size: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.metric-card h3 {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.25rem;
}

.metric-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-detail {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Usuários Mais Ativos */
.top-users-section {
    margin-bottom: 2rem;
}

.top-users-section h3 {
    margin-bottom: 1rem;
    color: #495057;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.user-rank {
    background: #667eea;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.user-stats {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Atividade Recente */
.recent-activity-section h3 {
    margin-bottom: 1rem;
    color: #495057;
}

.activity-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.activity-day {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.day-date {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.day-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.day-stats span {
    font-size: 0.8rem;
    color: #6c757d;
}

.day-stats .updates {
    color: #28a745;
    font-weight: 600;
}

.day-stats .users {
    color: #17a2b8;
}

/* Design Profissional - Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header h1 i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.user-profile i {
    font-size: 1.2rem;
}

.user-profile span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Botões Profissionais */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Cards de Estatísticas Profissionais */
.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stats-card.success::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.stats-card.warning::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stats-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stats-card.success .stats-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.stats-card.warning .stats-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.stats-content {
    flex: 1;
}

.stats-content h3 {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.stat-trend i {
    font-size: 0.8rem;
}

/* Seções de Métricas */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 400;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.metric-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto 1rem auto;
}

.metric-content h3 {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.metric-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.metric-detail {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.metric-detail i {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Gráficos */
.chart-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.chart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.chart-header h3 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.chart-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 400;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-top: 1rem;
}

/* Usuários Mais Ativos */
.top-users-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.top-users-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.top-users-section h3 {
    margin: 0 0 1.5rem 0;
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.user-rank {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.user-stats {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-stats span:first-child {
    color: #28a745;
    font-weight: 600;
}

.user-stats span:last-child {
    color: #17a2b8;
    font-weight: 600;
}

/* Responsive Design Melhorado */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .user-profile {
        justify-content: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stats-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

/* Override para modal de empresa */
.modal-empresa.modal-content {
    background: linear-gradient(135deg, rgba(12, 12, 12, 0.95) 0%, rgba(26, 26, 46, 0.95) 25%, rgba(22, 33, 62, 0.95) 50%, rgba(15, 52, 96, 0.95) 75%, rgba(83, 52, 131, 0.95) 100%) !important;
    backdrop-filter: blur(20px);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-header {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px 16px 0 0;
}

/* Override para modal de empresa */
.modal-empresa .modal-header {
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px 15px 0 0 !important;
}

.modal-header h3 {
    margin: 0;
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

/* Override para modal de empresa */
.modal-empresa .modal-body {
    background: transparent !important;
    color: white !important;
}

/* Garantir que todos os elementos dentro do modal de empresa tenham texto visível */
.modal-empresa * {
    color: inherit !important;
}

.modal-empresa h1,
.modal-empresa h2,
.modal-empresa h3,
.modal-empresa h4,
.modal-empresa h5,
.modal-empresa h6 {
    color: white !important;
}

.modal-empresa p,
.modal-empresa span,
.modal-empresa div {
    color: rgba(255, 255, 255, 0.9) !important;
}

.modal-empresa button {
    color: white !important;
}

/* Estilos específicos para elementos do modal de empresa */
.modal-empresa .empresas-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-empresa .empresa-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.modal-empresa .empresa-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.modal-empresa .empresa-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-empresa .empresa-info {
    flex: 1;
    width: 100%;
}

.modal-empresa .empresa-info h3 {
    color: white !important;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.modal-empresa .empresa-info p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    font-size: 0.9rem;
}

.modal-empresa .empresa-select-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-empresa .empresa-item:hover .empresa-select-icon {
    color: white;
    transform: translateX(5px);
}

.modal-empresa .modal-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-empresa .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
}

.modal-empresa .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal .product-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.modal .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.modal .info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.modal .info-item label {
    font-weight: 600;
    color: #495057;
    margin: 0;
    flex: 1;
}

.modal .info-value {
    color: #6c757d;
    font-weight: 500;
    text-align: right;
    flex: 2;
    word-break: break-word;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.modal .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.modal .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal .help-text {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.modal .alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal .alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.modal .alert i {
    font-size: 1.2rem;
}

/* Animações dos Modais */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive para Modais */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .modal .form-actions {
        flex-direction: column;
    }
    
    .modal .form-actions .btn {
        width: 100%;
    }
    
    .modal .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal .info-value {
        text-align: left;
    }
}

/* Botão Warning */
.btn-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Layout Vertical para Modais */
.product-info-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item-full {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item-full label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-value-ean {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    word-break: break-all;
}

.info-value-descriptive {
    font-size: 1rem;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    min-height: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
}

.info-value-descriptive:hover {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    background: #e9ecef;
    transition: all 0.3s ease;
}

.info-value-left {
    font-size: 1rem;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    text-align: left;
    font-weight: 500;
}

/* Cores de Fundo para Modais */
.modal-audit {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 3px solid #ffc107;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.modal-audit .modal-header {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-audit .modal-header h3 {
    color: white;
}

.modal-audit .modal-header .modal-close {
    color: white;
}

.modal-audit .modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Estilos específicos para textarea no modal de auditoria */
.modal-audit .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    color: #495057 !important;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.modal-audit .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    color: #495057 !important;
    box-shadow: 
        0 0 0 3px rgba(0, 123, 255, 0.1),
        0 6px 12px rgba(0, 123, 255, 0.15),
        0 3px 6px rgba(0, 123, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.modal-audit .form-group textarea::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-audit .form-group textarea::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-audit .form-group textarea::-moz-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-audit .form-group textarea:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-audited {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 3px solid #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.modal-audited .modal-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-audited .modal-header h3 {
    color: white;
}

.modal-audited .modal-header .modal-close {
    color: white;
}

.modal-audited .modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Ajustes para campos dentro dos modais */
.modal-audit .info-value-ean,
.modal-audit .info-value-descriptive,
.modal-audit .info-value-left {
    background: rgba(255, 255, 255, 0.8);
    border-color: #ffc107;
}

.modal-audited .info-value-ean,
.modal-audited .info-value-descriptive,
.modal-audited .info-value-left {
    background: rgba(255, 255, 255, 0.8);
    border-color: #28a745;
}

/* Modal de Cadastro (Laranja) */
.modal-register {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border: 3px solid #e17055;
    box-shadow: 0 10px 30px rgba(225, 112, 85, 0.3);
}

.modal-register .modal-header {
    background: linear-gradient(135deg, #e17055, #d63031);
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-register .modal-header h3 {
    color: white;
}

.modal-register .modal-header .modal-close {
    color: white;
}

.modal-register .modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-register .info-value-ean,
.modal-register .info-value-descriptive,
.modal-register .info-value-left {
    background: rgba(255, 255, 255, 0.8);
    border-color: #e17055;
}

.modal-register .form-group input[type="text"],
.modal-register .form-group textarea,
.modal-register .form-group select {
    background: #ffffff !important;
    border-color: #e17055 !important;
    color: #495057 !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.modal-register .form-group input[type="text"]:focus,
.modal-register .form-group textarea:focus,
.modal-register .form-group select:focus {
    border-color: #d63031 !important;
    color: #495057 !important;
    box-shadow: 
        0 0 0 3px rgba(225, 112, 85, 0.1),
        0 6px 12px rgba(225, 112, 85, 0.15),
        0 3px 6px rgba(225, 112, 85, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.modal-register .form-group input[type="text"]::placeholder,
.modal-register .form-group textarea::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-register .form-group input[type="text"]::-webkit-input-placeholder,
.modal-register .form-group textarea::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-register .form-group input[type="text"]::-moz-placeholder,
.modal-register .form-group textarea::-moz-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-register .form-group input[type="text"]:-ms-input-placeholder,
.modal-register .form-group textarea:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

/* Regra específica para o campo registerEan com máxima especificidade */
#registerEan {
    color: #495057 !important;
    background: #ffffff !important;
    border-color: #e17055 !important;
}

#registerEan:focus {
    color: #495057 !important;
    background: #ffffff !important;
    border-color: #d63031 !important;
}

#registerEan::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

/* Regras específicas para todos os campos do modal de cadastro */
#registerDescritivo {
    color: #495057 !important;
    background: #ffffff !important;
    border-color: #e17055 !important;
}

#registerDescritivo:focus {
    color: #495057 !important;
    background: #ffffff !important;
    border-color: #d63031 !important;
}

#registerDescritivo::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

#registerUnidade {
    color: #495057 !important;
    background: #ffffff !important;
    border-color: #e17055 !important;
}

#registerUnidade:focus {
    color: #495057 !important;
    background: #ffffff !important;
    border-color: #d63031 !important;
}

.modal-register .alert-warning {
    background: rgba(255, 193, 7, 0.2);
    border-color: #e17055;
    color: #856404;
}

/* Modal de EAN Inválido (Vermelho) */
.modal-invalid {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 3px solid #dc3545;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.modal-invalid .modal-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-invalid .modal-header h3 {
    color: white;
}

.modal-invalid .modal-header .modal-close {
    color: white;
}

.modal-invalid .modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-invalid .info-value-ean,
.modal-invalid .info-value-descriptive,
.modal-invalid .info-value-left {
    background: rgba(255, 255, 255, 0.8);
    border-color: #dc3545;
}

.modal-invalid .form-group input[type="text"],
.modal-invalid .form-group textarea,
.modal-invalid .form-group select {
    background: #ffffff !important;
    border-color: #dc3545 !important;
    color: #495057 !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.modal-invalid .form-group input[type="text"]:focus,
.modal-invalid .form-group textarea:focus,
.modal-invalid .form-group select:focus {
    border-color: #c82333 !important;
    color: #495057 !important;
    box-shadow: 
        0 0 0 3px rgba(220, 53, 69, 0.1),
        0 6px 12px rgba(220, 53, 69, 0.15),
        0 3px 6px rgba(220, 53, 69, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.modal-invalid .form-group input[type="text"]::placeholder,
.modal-invalid .form-group textarea::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-invalid .form-group input[type="text"]::-webkit-input-placeholder,
.modal-invalid .form-group textarea::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-invalid .form-group input[type="text"]::-moz-placeholder,
.modal-invalid .form-group textarea::-moz-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.modal-invalid .form-group input[type="text"]:-ms-input-placeholder,
.modal-invalid .form-group textarea:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

/* Instruções de Auditoria - Layout 3 Colunas */
.audit-instructions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.instructions-header {
    text-align: center;
    margin-bottom: 30px;
}

.instructions-header h3 {
    color: #495057;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.instructions-header i {
    color: #007bff;
    font-size: 1.4rem;
}

.instructions-subtitle {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.instruction-column {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instruction-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.column-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.column-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.3rem;
}

.column-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.column-content {
    padding: 25px;
}

.column-intro {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    text-align: center;
    font-weight: 500;
}

.instruction-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.instruction-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.instruction-text h4 {
    color: #343a40;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.instruction-text p {
    color: #6c757d;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.tmpv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tmpv-list li {
    background: #f8f9fa;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tmpv-label {
    color: #007bff;
    font-weight: 600;
}

.instruction-examples {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.instruction-examples h4 {
    color: #343a40;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instruction-examples i {
    color: #ffc107;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.example-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
    line-height: 1.6;
}

.example-item strong {
    color: #495057;
    font-weight: 600;
}

.example-item .before {
    color: #dc3545;
    text-decoration: line-through;
    font-style: italic;
}

.example-item .after {
    color: #28a745;
    font-weight: 600;
}

.instruction-rules {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.instruction-rules h4 {
    color: #343a40;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instruction-rules i {
    color: #dc3545;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid #f8f9fa;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.rules-list li i.fa-check {
    color: #28a745;
}

.rules-list li i.fa-times {
    color: #dc3545;
}

.rules-list li i.fa-info {
    color: #17a2b8;
}

/* Responsive adjustments for instructions */
@media (max-width: 768px) {
    .audit-instructions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .instruction-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .instruction-icon {
        align-self: center;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .instruction-examples h4,
    .instruction-rules h4 {
        font-size: 1rem;
    }
}

/* Instruções de Abreviação */
.instruction-abbreviations {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #dc3545;
}

.instruction-abbreviations h4 {
    color: #343a40;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instruction-abbreviations i {
    color: #dc3545;
}

.abbreviation-warning {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #f1aeb5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.warning-icon {
    background: #dc3545;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.warning-text {
    color: #721c24;
    font-weight: 600;
    line-height: 1.4;
}

.warning-detail {
    font-weight: 400;
    font-size: 0.9rem;
    color: #856404;
}

.abbreviation-table h5 {
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.abbreviation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.abbreviation-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.full-word {
    color: #495057;
    font-weight: 600;
}

.arrow {
    color: #6c757d;
    font-weight: bold;
}

.abbreviation {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

.abbreviation-examples {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.abbreviation-examples p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #495057;
}

.abbreviation-examples ul {
    margin: 0;
    padding-left: 20px;
}

.abbreviation-examples li {
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.correct {
    color: #28a745;
    font-weight: 600;
}

.incorrect {
    color: #dc3545;
    font-weight: 600;
    text-decoration: line-through;
}

.instruction-intro {
    color: #495057 !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
}

.modal-invalid .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    color: #721c24;
}

/* Cards TMPV */
.tmpv-cards {
    display: grid;
    gap: 15px;
}

.tmpv-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.tmpv-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.tmpv-letter {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tmpv-info {
    flex: 1;
}

.tmpv-info strong {
    color: #495057;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.tmpv-info span {
    color: #6c757d;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 3px;
}

.tmpv-info small {
    color: #007bff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Cards de Exemplo */
.example-cards {
    display: grid;
    gap: 15px;
}

.example-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.example-header i.fa-times-circle {
    color: #dc3545;
}

.example-header i.fa-check-circle {
    color: #28a745;
}

.example-text {
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.example-text.incorrect {
    background: #f8d7da;
    color: #721c24;
    text-decoration: line-through;
}

.example-text.correct {
    background: #d4edda;
    color: #155724;
}

/* Seção de Regras */
.rules-section {
    display: grid;
    gap: 20px;
}

.rule-category {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.rule-category h5 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rule-category h5 i.fa-check-circle {
    color: #28a745;
}

.rule-category h5 i.fa-ban {
    color: #dc3545;
}

.rule-category h5 i.fa-compress-alt {
    color: #17a2b8;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rule-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.rule-list li i {
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.rule-list li i.fa-check {
    color: #28a745;
}

.rule-list li i.fa-times {
    color: #dc3545;
}

/* Abreviações Mini */
.abbreviation-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.abbreviation-mini {
    display: grid;
    gap: 8px;
}

.abbreviation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
}

.abbreviation-item .full {
    color: #495057;
    font-weight: 600;
}

.abbreviation-item .short {
    background: #007bff;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Responsive para 3 colunas */
@media (max-width: 1200px) {
    .instructions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instructions-grid {
        grid-template-columns: 1fr;
    }
    
    .audit-instructions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .column-content {
        padding: 20px;
    }
}

/* Estilos específicos para página de Logs */
.logs-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.logs-page .stat-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logs-page .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
}

.logs-page .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.18),
        0 10px 25px rgba(0, 0, 0, 0.12),
        0 5px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: #007bff;
}

.logs-page .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.logs-page .stat-item div:last-child {
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Seção de Filtros - Melhorada com Mais Sombras */
.logs-page .filters-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    transition: all 0.3s ease;
}

.logs-page .filters-section:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.logs-page .filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 20px 20px 0 0;
}

.logs-page .filters-section h3 {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logs-page .filters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.logs-page .filters-grid .form-group:nth-child(4),
.logs-page .filters-grid .form-group:nth-child(5) {
    grid-column: span 1;
}

.logs-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logs-page .form-group label {
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logs-page .form-group select,
.logs-page .form-group input[type="date"],
.logs-page .form-group input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #495057 !important;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.logs-page .form-group select:focus,
.logs-page .form-group input[type="date"]:focus,
.logs-page .form-group input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    color: #495057 !important;
    box-shadow: 
        0 0 0 3px rgba(0, 123, 255, 0.1),
        0 6px 12px rgba(0, 123, 255, 0.15),
        0 3px 6px rgba(0, 123, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.logs-page .form-group input[type="date"] {
    position: relative;
    color: #495057 !important;
}

.logs-page .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.logs-page .form-group input[type="text"] {
    color: #495057 !important;
}

/* Garantir visibilidade do texto em todos os campos */
.logs-page .form-group input[type="date"]::-webkit-datetime-edit-text,
.logs-page .form-group input[type="date"]::-webkit-datetime-edit-month-field,
.logs-page .form-group input[type="date"]::-webkit-datetime-edit-day-field,
.logs-page .form-group input[type="date"]::-webkit-datetime-edit-year-field {
    color: #495057 !important;
}

.logs-page .form-group input[type="date"]::-webkit-datetime-edit-month-field:focus,
.logs-page .form-group input[type="date"]::-webkit-datetime-edit-day-field:focus,
.logs-page .form-group input[type="date"]::-webkit-datetime-edit-year-field:focus {
    color: #495057 !important;
    background-color: rgba(0, 123, 255, 0.1);
}

.logs-page .form-group select option {
    color: #495057 !important;
    background-color: #ffffff !important;
}

.logs-page .form-group select:focus option {
    color: #495057 !important;
    background-color: #ffffff !important;
}

.logs-page .form-group input[type="text"]::placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.logs-page .form-group input[type="text"]::-webkit-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.logs-page .form-group input[type="text"]::-moz-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.logs-page .form-group input[type="text"]:-ms-input-placeholder {
    color: #6c757d !important;
    opacity: 0.8;
}

.logs-page .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 20px;
}

.logs-page .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logs-page .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 
        0 6px 20px rgba(0, 123, 255, 0.3),
        0 3px 10px rgba(0, 123, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logs-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(0, 123, 255, 0.4),
        0 5px 15px rgba(0, 123, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.logs-page .btn-secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    box-shadow: 
        0 6px 20px rgba(108, 117, 125, 0.3),
        0 3px 10px rgba(108, 117, 125, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logs-page .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(108, 117, 125, 0.4),
        0 5px 15px rgba(108, 117, 125, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Responsividade para Filtros */
@media (max-width: 768px) {
    .logs-page .filters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logs-page .filters-grid .form-group:nth-child(4),
    .logs-page .filters-grid .form-group:nth-child(5) {
        grid-column: span 1;
    }
    
    .logs-page .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .logs-page .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logs-page .filters-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .logs-page .filters-section h3 {
        font-size: 1.2rem;
    }
    
    .logs-page .form-group label {
        font-size: 0.9rem;
    }
    
    .logs-page .form-group select,
    .logs-page .form-group input[type="date"],
    .logs-page .form-group input[type="text"] {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
    text-transform: uppercase;
    letter-spacing:  !important;0.5px;


.logs-page .filter-group input,
.logs-page .filter-group select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.logs-page .filter-group input:focus,
.logs-page .filter-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.logs-page .filter-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.logs-page .btn-filter {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.logs-page .btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.logs-page .btn-clear {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.logs-page .btn-clear:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Seção de Histórico - Melhorada com Mais Sombras */
.logs-page .logs-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    transition: all 0.3s ease;
}

.logs-page .logs-section:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.2),
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.logs-page .logs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #dc3545, #fd7e14);
    border-radius: 20px 20px 0 0;
}

.logs-page .logs-section::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #007bff, #28a745, #ffc107, #dc3545);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.1;
}

.logs-page .logs-section h3 {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tabela de Logs */
.logs-page .logs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08),
        0 2px 5px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.logs-page .logs-table:hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 3px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.logs-page .logs-table thead {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
}

.logs-page .logs-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #ffffff !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    background: transparent !important;
}

.logs-page .logs-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.logs-page .logs-table thead tr:hover {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    transform: none !important;
    box-shadow: none !important;
    border-left: none !important;
    border-right: none !important;
}

.logs-page .logs-table tbody tr:hover {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb) !important;
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    border-left: 4px solid #007bff;
    border-right: 4px solid #007bff;
}

.logs-page .logs-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.logs-page .logs-table td {
    padding: 15px;
    font-size: 0.9rem;
    color: #495057;
    border-right: 1px solid #f8f9fa;
}

.logs-page .logs-table td:last-child {
    border-right: none;
}

/* Paginação */
.logs-page .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.logs-page .pagination button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.logs-page .pagination button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.logs-page .pagination button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.logs-page .pagination .current-page {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.logs-page .pagination .page-info {
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 15px;
}

/* Botão de Exportação */
.logs-page .export-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    position: relative;
}

.logs-page .export-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 15px 15px 0 0;
}

.logs-page .export-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logs-page .export-info .total-logs {
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
}

.logs-page .export-info .showing-info {
    color: #6c757d;
    font-size: 0.9rem;
}

.logs-page .export-buttons {
    display: flex;
    gap: 10px;
}

.logs-page .btn-export {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logs-page .btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.logs-page .btn-export i {
    font-size: 1rem;
}

/* Estilos específicos para página de Produtos */
.products-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

/* Estatísticas da página de produtos */
.products-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.products-page .stat-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
}

.products-page .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
}

.products-page .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.products-page .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.products-page .stat-content {
    flex: 1;
}

.products-page .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.products-page .stat-label {
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Seção de gráfico */
.products-page .chart-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.products-page .chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 20px 20px 0 0;
}

.products-page .chart-container {
    text-align: center;
}

.products-page .chart-container h3 {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Filtros melhorados para página de produtos */
.products-page .filters-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.products-page .filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 20px 20px 0 0;
}

.products-page .filters-section h3 {
    color: #495057;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-page .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.products-page .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-page .filter-group label {
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-page .filter-select,
.products-page .filter-input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.products-page .filter-select:focus,
.products-page .filter-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.products-page .filter-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.products-page .btn-filter {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-page .btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.products-page .btn-clear {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.products-page .btn-clear:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: white;
    text-decoration: none;
}

.products-page .page-header h2 {
    color: #495057;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-page .results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.products-page .total-info {
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-page .showing-info {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Grid de Produtos */
.products-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.products-page .product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.products-page .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.products-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #28a745;
}

.products-page .product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.products-page .product-title {
    color: #495057;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.products-page .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.products-page .status-badge.revisado {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.products-page .status-badge.pendente {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.products-page .product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-page .info-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.products-page .info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.products-page .info-item label {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-page .ean-code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 600;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.products-page .descritivo-text {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.products-page .unidade-text {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 600;
    background: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    display: inline-block;
    width: fit-content;
}

.products-page .no-products {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.products-page .no-products h3 {
    color: #495057;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.products-page .no-products p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0 0 25px 0;
}

/* Responsive para página de produtos */
@media (max-width: 768px) {
    .products-page .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .products-page .results-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .products-page .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-page .filters-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .products-page .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .products-page .product-card {
        padding: 15px;
    }
    
    .products-page .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .products-page .product-title {
        font-size: 1rem;
    }
    
    .products-page .info-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .products-page .filter-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* Estilos para ícones de ação */
.logs-page .log-action i {
    margin-right: 8px;
    font-size: 1rem;
}

.logs-page .log-action i.fa-edit {
    color: #007bff;
}

.logs-page .log-action i.fa-plus-circle {
    color: #28a745;
}

/* Responsive para página de logs */
@media (max-width: 768px) {
    .logs-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .logs-page .stat-item {
        padding: 20px;
    }
    
    .logs-page .stat-number {
        font-size: 2rem;
    }
    
    .logs-page .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .logs-page .filters-section,
    .logs-page .logs-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .logs-page .logs-table {
        font-size: 0.8rem;
    }
    
    .logs-page .logs-table th,
    .logs-page .logs-table td {
        padding: 10px 8px;
    }
}
