/**
 * ST4 / SCHEMA safety callout and inline step content styles for user guides.
 */

/* -------------------------------------------------------------------------
   Constrain safety callout icons (SVG / raster)
   ------------------------------------------------------------------------- */

.ss-user-guide .safety-symbol,
.ss-user-guide .safety-symbol img,
.ss-user-guide .safety-symbol svg,
.ss-user-guide .safety-body img,
.ss-user-guide .safety-body svg,
.safety-symbol,
.safety-symbol img,
.safety-symbol svg,
.safety-body img,
.safety-body svg {
	max-width: 70px !important;
	width: 70px !important;
	height: auto !important;
	flex-shrink: 0;
}

.ss-user-guide .safety-symbol,
.safety-symbol {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 70px !important;
	width: 70px !important;
}

/* -------------------------------------------------------------------------
   Flexbox side-by-side symbol + consequence text
   ------------------------------------------------------------------------- */

.ss-user-guide .safety-body,
.ss-user-guide section[class*='safety'] .safety-body,
.safety-body,
.ss-user-guide section[class*='safety'] {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 1.5rem !important;
	padding: 1rem !important;
}

.ss-user-guide section.safety,
.ss-user-guide section[class*='safety'] {
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
	margin-bottom: 1rem;
}

.ss-user-guide .safety-body.row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.ss-user-guide .safety-body .col-sm-2,
.ss-user-guide .safety-body .col-sm-10,
.ss-user-guide .safety-body [class*='col-'] {
	flex: 1 1 auto;
	max-width: none;
	width: auto;
	padding-left: 0;
	padding-right: 0;
}

.ss-user-guide .safety-body .safety-symbol,
.ss-user-guide .safety-body .col-sm-2.safety-symbol {
	flex: 0 0 70px !important;
	max-width: 70px !important;
	width: 70px !important;
}

.ss-user-guide .safety-body .col-sm-10,
.ss-user-guide .safety-body [aria-label='description'] {
	flex: 1 1 auto;
	min-width: 0;
}

/* -------------------------------------------------------------------------
   Callout banner headers
   ------------------------------------------------------------------------- */

.ss-user-guide .safety-header,
.safety-header {
	display: block;
	width: 100%;
	margin: 0 0 0.5rem;
	font-size: 125%;
	line-height: 1.3;
}

.ss-user-guide .safety-severity-warning > .safety-header,
.ss-user-guide section.safety-severity-warning > .safety-header,
.safety-severity-warning > .safety-header {
	background-color: #f39c12 !important;
	color: #fff !important;
	padding: 6px 12px !important;
	font-weight: bold !important;
}

.ss-user-guide .safety-severity-caution > .safety-header,
.ss-user-guide section.safety-severity-caution > .safety-header,
.safety-severity-caution > .safety-header {
	background-color: #f1c40f !important;
	color: #000 !important;
	padding: 6px 12px !important;
	font-weight: bold !important;
}

.ss-user-guide .safety-severity-notice > .safety-header,
.ss-user-guide section.safety-severity-notice > .safety-header,
.safety-severity-notice > .safety-header {
	background-color: #3498db !important;
	color: #fff !important;
	padding: 6px 12px !important;
	font-weight: bold !important;
}

/* -------------------------------------------------------------------------
   General step content images (non-callout)
   ------------------------------------------------------------------------- */

.ss-user-guide .step-content img,
.ss-user-guide .ss-ug-segment-content img,
.step-content img {
	max-width: 100%;
	height: auto;
}
