/* Base styles */
body { 
    font-family: 'Inter', sans-serif; 
}

.font-serif { 
    font-family: 'Playfair Display', serif; 
}

/* Glass effect */
.glass { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
}

/* Card animations */
.doc-card { 
    transition: all 0.3s ease; 
}

.doc-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1); 
}

/* Fade in animation */
.fade-in { 
    animation: fadeIn 0.5s ease-in; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Type badges */
.type-badge { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.type-lei { 
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); 
}

.type-decreto { 
    background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%); 
}

.type-instrucao { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.type-resolucao { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
}

.type-regulamentacao { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
}

/* Status indicators */
.status-dot { 
    width: 8px; 
    height: 8px; 
    border-radius: 50%; 
    display: inline-block; 
    margin-right: 6px; 
}

.status-online { 
    background: #10b981; 
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3); 
}

.status-offline { 
    background: #ef4444; 
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3); 
}

.status-warning { 
    background: #f59e0b; 
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3); 
}

/* Console logs */
.console-log { 
    font-family: 'Courier New', monospace; 
    font-size: 12px; 
    padding: 8px; 
    margin: 2px 0; 
    border-radius: 4px; 
}

.log-info { 
    background: #dbeafe; 
    color: #1e40af; 
    border-left: 3px solid #3b82f6; 
}

.log-success { 
    background: #d1fae5; 
    color: #065f46; 
    border-left: 3px solid #10b981; 
}

.log-error { 
    background: #fee2e2; 
    color: #991b1b; 
    border-left: 3px solid #ef4444; 
}

.log-warning { 
    background: #fef3c7; 
    color: #92400e; 
    border-left: 3px solid #f59e0b; 
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}