/**
 * DevOps Error Logs - Custom Styles
 * Application ID: devops-error-logs
 */

/* Layout */
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Cards */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Tables */
.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Code and pre */
pre {
    font-size: 0.8rem;
    margin-bottom: 0;
}

code {
    font-size: 0.85em;
}

/* Text utilities */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Login page */
.login-container {
    max-width: 400px;
    margin: 0 auto;
}

/* Dashboard stats cards */
.card.bg-danger,
.card.bg-primary,
.card.bg-warning,
.card.bg-info {
    border: none;
}

/* Navbar customization */
.navbar-dark .navbar-brand {
    font-weight: 600;
}

/* Footer */
footer {
    border-top: 1px solid #dee2e6;
}

/* Form labels */
.form-label {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Alert in error detail */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Monospace text */
.font-monospace {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Severity colors for consistency */
.severity-critical { color: #dc3545; }
.severity-error { color: #dc3545; }
.severity-warning { color: #ffc107; }
.severity-info { color: #17a2b8; }
.severity-debug { color: #6c757d; }
