body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.sse-console {
    background-color: #0a0a0a;
    color: #d2d6dc;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 0.85rem;
    min-height: 220px;
    max-height: 360px;
    overflow-y: auto;
    border-radius: 0.35rem;
    padding: 1rem;
}

.table tr.danger {
    background-color: #fff5f5;
}

.engine-instance-list .instance-scroll {
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.35rem;
}

.engine-checkboxes {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.35rem;
    padding: 0.75rem;
    max-height: 220px;
    overflow-y: auto;
    background-color: #fff;
}

.api-key-output {
    min-height: 120px;
}

.users-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.35rem;
}

.users-table-container thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

#manage-search-results .no-results {
    color: #6c757d;
}

#manage-search-results pre {
    background-color: #f8f9fc;
    border-radius: 0.35rem;
    padding: 1rem;
}

.btn-icon-ghost {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 0.35rem;
    border: 1px solid transparent;
    background-color: transparent;
    color: rgba(33, 37, 41, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 0.85rem;
}

.btn-icon-ghost i {
    font-size: 0.95rem;
}

.btn-icon-ghost:hover,
.btn-icon-ghost:focus-visible {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.25);
    color: rgba(33, 37, 41, 1);
}

.btn-icon-ghost-danger {
    color: rgba(220, 53, 69, 0.8);
    border-color: transparent;
}

.btn-icon-ghost-danger:hover,
.btn-icon-ghost-danger:focus-visible {
    border-color: rgba(220, 53, 69, 0.5);
    background-color: rgba(220, 53, 69, 0.08);
    color: rgba(220, 53, 69, 1);
}

.search-type-checkboxes {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.35rem;
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fc;
}

.search-type-checkbox .custom-control-label {
    font-weight: 500;
}

.media-type-stack {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
}

.media-type-stack--disabled .media-type-indicator {
    color: #adb5bd;
}

.media-type-stack--enabled .media-type-indicator {
    color: #198754;
}

.media-type-indicator {
    display: flex;
    align-items: center;
    line-height: 1.1;
    color: #4e4e4e;
}

.media-type-indicator i {
    margin-right: 0.25rem;
}

.engine-status-stack {
    min-width: 100px;
}

#search-engines-table .status-column,
#search-engines-table .engine-status-cell {
    width: 140px;
    max-width: 180px;
}

#search-engines-table .base-url-column,
#search-engines-table .base-url-cell {
    min-width: 180px;
}
