/* Custom styles for IBM Assistant History Admin Interface */

body {
    background-color: #f8f9fa;
}

.cursor-pointer {
    cursor: pointer;
}

.screenshot-thumbnail {
    transition: transform 0.2s ease-in-out;
}

.screenshot-thumbnail:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.badge {
    font-size: 0.75em;
}

.table th {
    border-top: none;
    font-weight: 600;
}

.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);
}

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

.text-break {
    word-break: break-all;
}

.opacity-75 {
    opacity: 0.75;
}

/* Accordion customizations */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}

.accordion-button:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Custom progress bar colors */
.progress-bar {
    background-color: #0d6efd;
}

/* Code block styling */
pre {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Screenshot modal */
#screenshotModal .modal-body {
    padding: 0;
}

#screenshotModal .modal-body img {
    border-radius: 0;
}

/* Filter form styling */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Button group styling */
.btn-group .btn {
    border-radius: 0.375rem;
}

.btn-group .btn:not(:first-child) {
    margin-left: 0.125rem;
}

/* Table responsive improvements */
.table-responsive {
    border-radius: 0.375rem;
}

/* Alert styling */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Footer styling */
footer {
    margin-top: auto;
}

/* Utility classes */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Severity badge customizations */
.badge-secondary {
    background-color: #6c757d !important;
}

.badge-warning {
    background-color: #fd7e14 !important;
}

.badge-danger {
    background-color: #dc3545 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .table-responsive table {
        font-size: 0.875rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn:not(:first-child) {
        margin-left: 0;
        margin-top: 0.125rem;
    }
    
    .card-body {
        padding: 1rem;
    }
} 