/* Monitor VPS Simple - Estilos Personalizados */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.log-container {
    max-height: 600px;
    overflow-y: auto;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
}

.log-content {
    padding: 15px;
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-wrap;
    color: #f8f9fa;
}

.log-line {
    padding: 3px 0;
    border-bottom: 1px solid #333;
    transition: background-color 0.2s ease;
}

.log-line:hover {
    background-color: #2d2d2d;
}

.alert-highlight {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107;
    padding-left: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-normal { background-color: #28a745; }
.status-warning { background-color: #ffc107; }
.status-critical { background-color: #dc3545; }

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 1rem;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    border-radius: 6px;
}

.table th {
    border-top: none;
    background-color: #f8f9fa;
    font-weight: 600;
}

.badge {
    font-size: 0.8em;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

/* Animaciones */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .log-container {
        max-height: 400px;
    }

    .log-content {
        font-size: 12px;
        padding: 10px;
    }

    .table-responsive {
        font-size: 0.9em;
    }
}

/* Scrollbar personalizado */
.log-container::-webkit-scrollbar {
    width: 8px;
}

.log-container::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.log-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.log-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}