/* Static block previews in the editor and the Stand Chat document panel. */

.stand-chat-block-preview {
	font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.stand-chat-button-preview {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 7px 14px;
	border: 1px solid #d4d4d4;
	border-radius: 4px;
	background: #fff;
	color: #0e0e0e;
	font-weight: 700;
	line-height: 1.2;
}

.stand-chat-button-preview img,
.stand-chat-button-preview__dot {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	flex: none;
}

.stand-chat-button-preview__dot {
	background: #1b90b3;
}

.stand-chat-preview-note {
	font-size: 12px;
	color: #757575;
	margin: 6px 0 0;
}

.stand-chat-preview-identity {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
}

.stand-chat-preview-identity img,
.stand-chat-preview-identity__initial {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.stand-chat-preview-identity__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e6f4f8;
	color: #146f8a;
	font-weight: 700;
}

.stand-chat-preview-identity__ai {
	font-size: 11px;
	font-weight: 700;
	color: #146f8a;
	background: #e6f4f8;
	border-radius: 4px;
	padding: 0 6px;
}

.stand-chat-preview-identity__brand {
	color: #676767;
	font-size: 12px;
}

.stand-chat-card-preview__surface {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-radius: 12px;
	padding: 18px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(14, 14, 14, 0.08);
}

.stand-chat-card-preview.is-outlined .stand-chat-card-preview__surface {
	box-shadow: none;
	border: 1px solid #d4d4d4;
}

.stand-chat-card-preview.is-elevated .stand-chat-card-preview__surface {
	box-shadow: 0 8px 30px rgba(14, 14, 14, 0.14);
}

.stand-chat-card-preview.is-horizontal .stand-chat-card-preview__surface {
	flex-direction: row;
}

.stand-chat-card-preview__media {
	max-width: 100%;
	border-radius: 8px;
	object-fit: cover;
}

.stand-chat-card-preview.is-horizontal .stand-chat-card-preview__media {
	width: 40%;
}

.stand-chat-card-preview__content {
	flex: 1;
}

.stand-chat-card-preview__field {
	border: 1px solid #d4d4d4;
	border-radius: 6px;
	padding: 8px 10px;
	color: #a3a3a3;
	margin-bottom: 10px;
}

.stand-chat-card-preview__footer {
	font-size: 13px;
	color: #676767;
	margin: 10px 0 0;
}

.stand-chat-card-preview.is-divided-footer .stand-chat-card-preview__footer {
	border-top: 1px solid #eaeaea;
	padding-top: 10px;
}

.stand-chat-chatbox-preview__surface {
	border: 1px solid #d4d4d4;
	border-radius: 12px;
	padding: 16px;
	background: #fff;
}

.stand-chat-chatbox-preview__composer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	border: 1px solid #d4d4d4;
	border-radius: 8px;
	padding: 6px 6px 6px 12px;
	color: #a3a3a3;
}

.stand-chat-chatbox-preview__send {
	background: #1b90b3;
	color: #fff;
	border-radius: 6px;
	padding: 6px 12px;
	font-weight: 700;
}

.stand-chat-panel-help {
	display: block;
	font-size: 12px;
	color: #757575;
	margin: 4px 0 0;
}

.stand-chat-panel-label {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 12px 0 6px;
}

.stand-chat-media-control {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.stand-chat-panel__group {
	border: 0;
	margin: 0 0 16px;
	padding: 0;
}

.stand-chat-panel__group legend {
	font-weight: 600;
	margin-bottom: 8px;
}

.stand-chat-panel__option {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 8px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin-bottom: 6px;
	cursor: pointer;
}

.stand-chat-panel__option.is-selected {
	border-color: #146f8a;
	box-shadow: inset 0 0 0 1px #146f8a;
}

.stand-chat-panel__option input {
	margin-top: 3px;
}

.stand-chat-panel__pending {
	color: #6b4f00;
	background: #fff4d1;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 12px;
}

.stand-chat-panel__tag {
	display: inline-block;
	font-size: 11px;
	background: #fff4d1;
	color: #6b4f00;
	border-radius: 4px;
	padding: 0 6px;
}

.stand-chat-panel__actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.stand-chat-panel__standins {
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
}

.stand-chat-panel .sc-rule-controls {
	margin-top: 12px;
}

.stand-chat-panel .sc-segmented {
	border: 0;
	padding: 0;
	margin: 0 0 12px;
}

.stand-chat-panel .sc-segmented__options {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid #8c8f94;
	border-radius: 4px;
}

.stand-chat-panel .sc-segmented__options label {
	padding: 4px 8px;
	cursor: pointer;
}

.stand-chat-panel .sc-segmented__options label.is-selected {
	background: #146f8a;
	color: #fff;
}

.stand-chat-panel .sc-segmented__options input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.stand-chat-panel .sc-help {
	font-size: 12px;
	color: #757575;
}
