/* Professional Badge Styles */
.badge-soft-danger {
    background-color: #fee;
    color: #dc3545;
    border: 1px solid #fcc;
}

.badge-soft-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-soft-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-soft-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-soft-secondary {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Professional Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transition: background-color 0.15s ease-in-out;
}

.table-sm th,
.table-sm td {
    padding: 0.5rem;
    vertical-align: middle;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
}

/* Log Level Icons */
.fe-12 {
    font-size: 12px;
}

/* Professional Card Styling */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Avatar Styling */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.avatar-title {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Improved Button Styling */
.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

/* Table Row Hover Effects */
.table-danger {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.table-warning {
    background-color: rgba(255, 193, 7, 0.05) !important;
}

/* Code Block Styling */
pre code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
}

/* Status Badge Improvements */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    font-size: 0.75rem;
}

/* Responsive Table */
.table-responsive {
    -webkit-overflow-scrolling: touch;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Hover Effect for Interactive Elements */
a:hover {
    text-decoration: none;
}

/* Professional Spacing */
.fw-semibold {
    font-weight: 600;
}

/* Details Toggle Link */
.text-primary:hover {
    color: #0056b3 !important;
    cursor: pointer;
}
