/* Slack Gateway page styles. Generic class names only; control sizes live in the Webix config.
   Loaded after the shared theme and must not override shared Webix styles. */

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--bg-primary);
}

/* Page shell toolbars emitted by scPreset.pageLayout */
.sc-page-header .webix_el_label .webix_el_box {
	font-weight: 600;
	font-size: 15px;
}

.sc-page-header img {
	height: 28px;
	vertical-align: middle;
}

.sc-page-footer .sc-status {
	padding: 0 10px;
	font-size: 12px;
	line-height: 28px;
	color: var(--text-secondary, var(--text-primary));
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Cell alignment classes required by scPreset.scDataTable (defined by the consumer page) */
.sc-cell-right  { text-align: right; font-variant-numeric: tabular-nums; }
.sc-cell-center { text-align: center; }

/* Read-only detail panels (channel details, invite result) */
.sc-details {
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-primary);
	overflow: auto;
}

.sc-details h4 {
	margin: 0 0 6px 0;
	font-size: 14px;
}

.sc-details .sc-muted {
	color: var(--text-secondary, var(--text-primary));
	opacity: 0.8;
}

/* Messages without text (tab-messages.js): the summary (file names, subtype) in place of the text */
.sc-summary {
	color: var(--text-secondary, var(--text-primary));
	opacity: 0.7;
	font-style: italic;
}

.sc-details ul {
	margin: 4px 0 0 0;
	padding-left: 18px;
}

.sc-details .sc-error-text {
	color: var(--btn-delete-color, #c62828);
}

/* Sync log lines (tab-sync-log.js) */
.sc-log {
	font-family: Consolas, "Courier New", monospace;
	font-size: 12px;
	line-height: 1.4;
}

.sc-log .sc-log-time,
.sc-log .sc-log-level {
	color: var(--text-secondary, var(--text-primary));
	opacity: 0.8;
}

.sc-log .sc-log-level {
	display: inline-block;
	width: 56px;
}

.sc-log .sc-log-debug {
	opacity: 0.75;
}

.sc-log .sc-log-warning {
	color: var(--warning-color, #b26a00);
}

.sc-log .sc-log-error {
	color: var(--btn-delete-color, #c62828);
	font-weight: 600;
}
