/* Log viewer page styles */
.log-content {
    background-color: #f8f9fa;
    border: none;
    border-radius: 0;
    color: #333;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    max-height: 70vh;
    overflow: auto;
    padding: 1rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.log-content.no-wrap {
    white-space: pre;
    word-break: normal;
}

/* Dark mode support */
.dark-mode .log-content {
    background-color: var(--theme-surface);
    color: var(--theme-text-primary);
    border-color: var(--theme-border);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: var(--border-radius, 0.375rem) !important;
}

.card-header {
    border-top-left-radius: calc(var(--border-radius, 0.375rem) - 1px) !important;
    border-top-right-radius: calc(var(--border-radius, 0.375rem) - 1px) !important;
    display: flex;
    align-items: center;
    min-height: 3.5rem;
    padding: 0.75rem 1.25rem;
}

.card-header > .d-flex {
    width: 100%;
}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.card-header h6 {
    margin: 0;
    line-height: 1.2;
}

.btn-group-sm .btn {
    font-size: 0.8125rem;
}

/* Syntax highlighting for log levels */
.log-content {
    white-space: pre-wrap;
}

/* Style different log levels - placeholder for future enhancements */

@media (max-width: 768px) {
    .log-content {
        font-size: 0.75rem;
        max-height: 60vh;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 0.25rem;
        border-radius: 0.25rem !important;
    }
}
