/* Docker Logs Browser Styles */

/* Base styles */
body {
    font-family: monospace;
    padding: 20px;
    background: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
}

h1 {
    color: #0db7ed;
}

/* Table styles */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #333;
}

th {
    background: #2a2a2a;
    color: #0db7ed;
}

tr:hover {
    background: #2a2a2a;
}

/* Link styles */
a {
    color: #0db7ed;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* State indicators */
.running {
    color: #4caf50;
}

.exited {
    color: #f44336;
}

.paused {
    color: #ff9800;
}

/* Terminal link */
.terminal-link {
    color: #4caf50;
}

/* Terminal page styles */
body.terminal-page {
    padding: 0;
    font-family: Menlo, Monaco, "Courier New", monospace;
}

#terminal {
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #2a2a2a;
    padding: 10px 20px;
    z-index: 10;
    color: #f0f0f0;
    font-family: Menlo, Monaco, "Courier New", monospace;
    border-bottom: 1px solid #444;
}

.info {
    color: #0db7ed;
    margin-right: 20px;
}

.back-link {
    color: #0db7ed;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Retry button */
.retry-button {
    background: #0db7ed;
    color: #1a1a1a;
    border: none;
    padding: 4px 12px;
    margin-left: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    border-radius: 3px;
}

.retry-button:hover {
    background: #0a9fd4;
}

/* xterm overrides */
.xterm {
    font-feature-settings: "liga" 0;
}

.xterm-viewport {
    background-color: #1a1a1a;
}
