/* main.css - Dark Theme Base Styles */
body.dark-theme {
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
}

.btn-group {
    margin-bottom: 10px;
}

pre {
    font-family: Consolas, "Courier New", monospace;
    color: #e0e0e0;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333333;
    font-size: 0.9rem;
    line-height: 1.4;
}

.details {
    display: none;
    padding: 10px;
    background-color: #1a1a1a;
    border-top: 1px solid #333333;
}

.toggle-btn {
    background-color: #6c63ff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background-color: #5752d4;
    transform: scale(1.05);
}

/* Additional utility classes for dark theme */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rounded-lg {
    border-radius: 8px;
}

/* Loading animation for dark theme */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Dark theme specific overrides */
.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.05);
    color: var(--bs-table-color);
}

/* Ensure all text has proper contrast in dark mode */
.text-muted {
    color: #8a8a8a !important;
}