/*
 * Styling for the shared Jossor Tiptap editor (assets/backend/js/editor).
 * Plain, hand-authored CSS — no preprocessor/build step needed for styles.
 *
 * Design tokens are taken from the admin theme (assets/backend/css/app.css,
 * "Hyper"): primary #727cf5, body text #495057, muted #6c757d, light hover
 * bg #f1f3fa, input borders #ced4da (focus #c1c9d0), floating-panel shadow
 * 0 0 35px rgba(154,161,171,.15) — so the editor reads as a native Jossor
 * component rather than a third-party plugin.
 */

.jossor-editor {
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	background: #fff;
	transition: border-color 0.15s ease;
}

/* Same subtle focus treatment the theme applies to .form-control:focus */
.jossor-editor:focus-within {
	border-color: #c1c9d0;
}

/* --- Toolbar ------------------------------------------------------------ */

.jossor-editor-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 4px;
	column-gap: 10px;
	padding: 6px 8px;
	border-bottom: 1px solid #e9ecef;
	background: #fff;
	border-radius: 0.25rem 0.25rem 0 0;
}

.jossor-editor-toolbar-group {
	display: flex;
	align-items: center;
	gap: 2px;
}

/* Comments / version history live at the right edge, like modern editors */
.jossor-editor-toolbar-group.jossor-docs-buttons {
	margin-left: auto;
}

.jossor-editor-toolbar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	color: #6c757d;
	cursor: pointer;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.jossor-editor-toolbar-btn i {
	font-size: 13px;
	line-height: 1;
}

.jossor-editor-toolbar-btn:hover {
	background: #f1f3fa;
	color: #343a40;
}

.jossor-editor-toolbar-btn.is-active {
	background: rgba(114, 124, 245, 0.12);
	color: #727cf5;
}

.jossor-editor-toolbar-btn:disabled {
	opacity: 0.35;
	cursor: default;
	background: transparent;
	color: #6c757d;
}

.jossor-editor-toolbar-btn:focus-visible,
.jossor-editor-toolbar-select:focus-visible,
.jossor-editor-toolbar-color:focus-visible {
	outline: 2px solid rgba(114, 124, 245, 0.45);
	outline-offset: 1px;
}

.jossor-editor-toolbar-select {
	height: 28px;
	padding: 0 22px 0 8px;
	border: none;
	border-radius: 0.25rem;
	background-color: transparent;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236c757d' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 7px center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 0.8125rem;
	color: #495057;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.jossor-editor-toolbar-select:hover {
	background-color: #f1f3fa;
}

.jossor-editor-font-select {
	max-width: 118px;
}

.jossor-editor-fontsize-select {
	max-width: 86px;
}

.jossor-editor-toolbar-color {
	width: 22px;
	height: 22px;
	padding: 1px;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	background: none;
	cursor: pointer;
}

.jossor-editor-toolbar-color::-webkit-color-swatch-wrapper {
	padding: 2px;
}

.jossor-editor-toolbar-color::-webkit-color-swatch {
	border: none;
	border-radius: 2px;
}

/* --- Content area ------------------------------------------------------- */

.jossor-editor-content {
	padding: 12px 14px;
	max-height: 480px;
	overflow-y: auto;
}

.jossor-editor-content .ProseMirror {
	outline: none;
	min-height: inherit;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #495057;
}

.jossor-editor-content .ProseMirror p {
	margin: 0 0 0.75rem;
}

.jossor-editor-content .ProseMirror p:last-child {
	margin-bottom: 0;
}

.jossor-editor-content .ProseMirror h1,
.jossor-editor-content .ProseMirror h2,
.jossor-editor-content .ProseMirror h3,
.jossor-editor-content .ProseMirror h4 {
	margin: 1em 0 0.4em;
	color: #343a40;
	line-height: 1.3;
}

.jossor-editor-content .ProseMirror > h1:first-child,
.jossor-editor-content .ProseMirror > h2:first-child,
.jossor-editor-content .ProseMirror > h3:first-child,
.jossor-editor-content .ProseMirror > h4:first-child {
	margin-top: 0;
}

.jossor-editor-content .ProseMirror a {
	color: #727cf5;
}

.jossor-editor-content .ProseMirror img {
	max-width: 100%;
	height: auto;
	border-radius: 0.25rem;
}

.jossor-editor-content .ProseMirror blockquote {
	margin: 0 0 0.75rem;
	padding-left: 1rem;
	border-left: 3px solid #dee2e6;
	color: #6c757d;
}

.jossor-editor-content .ProseMirror pre {
	background: #313a46;
	color: #f8f9fa;
	padding: 0.75rem 1rem;
	border-radius: 0.25rem;
	overflow-x: auto;
	font-size: 0.85em;
}

.jossor-editor-content .ProseMirror pre code {
	background: none;
	color: inherit;
	padding: 0;
}

.jossor-editor-content .ProseMirror code {
	background: #f1f3fa;
	color: #d63384;
	padding: 0.1em 0.35em;
	border-radius: 0.2rem;
	font-size: 0.875em;
}

.jossor-editor-content .ProseMirror hr {
	border: none;
	border-top: 2px solid #e9ecef;
	margin: 1.25rem 0;
}

.jossor-editor-content .ProseMirror mark {
	border-radius: 0.15rem;
	padding: 0 0.05rem;
}

.jossor-editor-content .ProseMirror ul[data-type='taskList'] {
	list-style: none;
	padding-left: 0.25rem;
}

.jossor-editor-content .ProseMirror ul[data-type='taskList'] li {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
}

.jossor-editor-content .ProseMirror ul[data-type='taskList'] li > label {
	margin: 0.2rem 0 0;
}

.jossor-editor-content .ProseMirror table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 0.75rem;
}

.jossor-editor-content .ProseMirror table td,
.jossor-editor-content .ProseMirror table th {
	border: 1px solid #dee2e6;
	padding: 0.4rem 0.6rem;
	vertical-align: top;
}

.jossor-editor-content .ProseMirror table th {
	background: #f1f3fa;
	font-weight: 600;
	color: #343a40;
}

.jossor-editor-content .ProseMirror table .selectedCell {
	background: rgba(114, 124, 245, 0.08);
}

.jossor-editor-content .ProseMirror p.is-editor-empty:first-child::before {
	content: attr(data-placeholder);
	float: left;
	color: #adb5bd;
	pointer-events: none;
	height: 0;
}

.jossor-editor-content .ProseMirror .jossor-mention {
	background: rgba(114, 124, 245, 0.12);
	color: #727cf5;
	border-radius: 0.2rem;
	padding: 0 0.25rem;
	font-weight: 500;
}

/* --- Floating panels (shared look) --------------------------------------
   One visual language for every popup: mention list, slash menu, AI menu,
   AI result panel, comments/versions panel. Matches the theme's
   .dropdown-menu shadow and radii, with a short pop-in animation. */

@keyframes jossorPopIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.jossor-mention-list,
.jossor-slash-menu,
.jossor-ai-menu,
.jossor-ai-panel,
.jossor-ai-inputbar,
.jossor-media-panel,
.jossor-docs-panel {
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 0.3rem;
	box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.25);
	animation: jossorPopIn 0.12s ease-out;
}

@media (prefers-reduced-motion: reduce) {
	.jossor-mention-list,
	.jossor-slash-menu,
	.jossor-ai-menu,
	.jossor-ai-panel,
	.jossor-ai-inputbar,
	.jossor-media-panel,
	.jossor-docs-panel {
		animation: none;
	}
}

/* --- Bubble menu (selection format bar) ---------------------------------- */

.jossor-bubble-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	background: #313a46;
	border-radius: 0.3rem;
	box-shadow: 0 4px 14px rgba(49, 58, 70, 0.35);
}

/* Hidden while an AI popup is open - both at once is just noise */
body.jossor-ai-open .jossor-bubble-menu {
	visibility: hidden;
}

.jossor-bubble-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	color: #dee2e6;
	cursor: pointer;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.jossor-bubble-menu-btn i {
	font-size: 12px;
}

.jossor-bubble-menu-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.jossor-bubble-menu-btn.is-active {
	background: #727cf5;
	color: #fff;
}

.jossor-bubble-menu-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.55);
	outline-offset: 1px;
}

/* --- @mention + slash menus ---------------------------------------------- */

.jossor-mention-list,
.jossor-slash-menu {
	min-width: 220px;
	max-width: min(280px, calc(100vw - 24px));
	max-height: 260px;
	overflow-y: auto;
	padding: 4px;
}

.jossor-mention-item,
.jossor-slash-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 6px 10px;
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	text-align: left;
	font-size: 0.875rem;
	color: #495057;
	cursor: pointer;
}

.jossor-mention-item.is-selected,
.jossor-slash-item.is-selected,
.jossor-mention-item:hover,
.jossor-slash-item:hover {
	background: rgba(114, 124, 245, 0.1);
	color: #4a52c4;
}

.jossor-mention-avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #dee2e6 center/cover no-repeat;
	flex: none;
}

.jossor-mention-empty {
	padding: 6px 10px;
	color: #6c757d;
	font-size: 0.8125rem;
}

.jossor-slash-item i {
	width: 16px;
	text-align: center;
	color: #98a6ad;
}

.jossor-slash-item.is-selected i,
.jossor-slash-item:hover i {
	color: #727cf5;
}

/* --- AI actions (menu + result panel) ------------------------------------ */

.jossor-ai-menu {
	min-width: 220px;
	max-width: min(280px, calc(100vw - 24px));
	max-height: min(320px, calc(100vh - 48px));
	overflow-y: auto;
	padding: 4px;
	outline: none;
}

.jossor-ai-menu-item {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	padding: 6px 10px;
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	text-align: left;
	font-size: 0.875rem;
	color: #495057;
	cursor: pointer;
}

.jossor-ai-menu-item i {
	width: 16px;
	text-align: center;
	color: #98a6ad;
	font-size: 12px;
}

.jossor-ai-menu-item:hover,
.jossor-ai-menu-item.is-selected {
	background: rgba(114, 124, 245, 0.1);
	color: #4a52c4;
}

.jossor-ai-menu-item:hover i,
.jossor-ai-menu-item.is-selected i {
	color: #727cf5;
}

/* "Ask AI anything…" header entry: accented + separated from the contextual actions */
.jossor-ai-menu-item-prompt {
	color: #727cf5;
	font-weight: 500;
	border-bottom: 1px solid #f1f3fa;
	border-radius: 0.25rem 0.25rem 0 0;
	margin-bottom: 4px;
	padding-bottom: 8px;
}

.jossor-ai-menu-item-prompt i {
	color: #727cf5;
}

/* --- Floating AI prompt bar ("Ask AI anything…") --- */

.jossor-ai-inputbar {
	display: flex;
	align-items: center;
	gap: 8px;
	width: min(440px, calc(100vw - 24px));
	padding: 8px 8px 8px 12px;
	border: 1px solid rgba(114, 124, 245, 0.55);
	border-radius: 0.45rem;
}

.jossor-ai-inputbar:focus-within {
	border-color: #727cf5;
	box-shadow: 0 0 0 3px rgba(114, 124, 245, 0.12), 0 0 35px 0 rgba(154, 161, 171, 0.25);
}

.jossor-ai-inputbar-icon {
	color: #727cf5;
	font-size: 13px;
	flex: none;
}

.jossor-ai-inputbar-input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font-size: 0.875rem;
	color: #495057;
}

.jossor-ai-inputbar-input::placeholder {
	color: #adb5bd;
}

.jossor-ai-inputbar-submit {
	flex: none;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: #727cf5;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.jossor-ai-inputbar-submit:hover {
	background: #616dda;
	box-shadow: 0px 2px 6px 0px rgba(114, 124, 245, 0.5);
}

.jossor-ai-inputbar-submit:focus-visible {
	outline: 2px solid rgba(114, 124, 245, 0.45);
	outline-offset: 1px;
}

.jossor-ai-inputbar-submit i {
	font-size: 11px;
}

.jossor-ai-panel {
	width: min(340px, calc(100vw - 24px));
	padding: 12px;
}

.jossor-ai-panel-body {
	font-size: 0.875rem;
	color: #495057;
	line-height: 1.6;
	max-height: min(240px, calc(100vh - 160px));
	overflow-y: auto;
	white-space: pre-wrap;
	margin-bottom: 10px;
}

.jossor-ai-panel-body.jossor-ai-loading {
	color: #6c757d;
	font-style: italic;
}

.jossor-ai-panel-body.jossor-ai-error {
	color: #fa5c7c; /* theme danger */
}

.jossor-ai-panel-actions {
	display: flex;
	gap: 6px;
}

.jossor-ai-btn {
	flex: 1;
	padding: 6px 8px;
	font-size: 0.8125rem;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	background: #fff;
	color: #495057;
	cursor: pointer;
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.jossor-ai-btn:hover {
	background: #f1f3fa;
}

.jossor-ai-btn:focus-visible {
	outline: 2px solid rgba(114, 124, 245, 0.45);
	outline-offset: 1px;
}

.jossor-ai-btn-accept {
	background: #727cf5;
	border-color: #727cf5;
	color: #fff;
}

.jossor-ai-btn-accept:hover {
	background: #616dda;
	box-shadow: 0px 2px 6px 0px rgba(114, 124, 245, 0.5);
}

.jossor-ai-btn-reject {
	background: transparent;
}

/* --- Comments & version history ------------------------------------------ */

.jossor-docs-panel {
	width: min(320px, calc(100vw - 24px));
	max-height: min(420px, calc(100vh - 48px));
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.jossor-docs-panel-title {
	padding: 10px 12px;
	font-weight: 600;
	font-size: 0.875rem;
	color: #343a40;
	border-bottom: 1px solid #e9ecef;
}

.jossor-docs-panel-list {
	overflow-y: auto;
	padding: 6px 12px;
	flex: 1;
}

.jossor-docs-empty {
	color: #6c757d;
	font-size: 0.8125rem;
	padding: 10px 0;
}

.jossor-docs-comment {
	padding: 8px 0;
	border-bottom: 1px solid #f1f3fa;
	font-size: 0.8125rem;
}

.jossor-docs-comment.is-reply {
	margin-left: 16px;
}

.jossor-docs-comment.is-resolved {
	opacity: 0.55;
}

.jossor-docs-comment-meta {
	display: flex;
	justify-content: space-between;
	color: #495057;
	font-size: 0.75rem;
	margin-bottom: 2px;
}

.jossor-docs-comment-anchor {
	font-style: italic;
	color: #6c757d;
	font-size: 0.75rem;
	margin-bottom: 3px;
}

.jossor-docs-comment-actions {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}

.jossor-docs-comment-actions button {
	border: none;
	background: none;
	color: #727cf5;
	font-size: 0.75rem;
	cursor: pointer;
	padding: 0;
}

.jossor-docs-panel-form {
	border-top: 1px solid #e9ecef;
	padding: 8px 12px 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.jossor-docs-panel-form textarea {
	resize: vertical;
	min-height: 50px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	padding: 6px 8px;
	font-size: 0.8125rem;
	color: #495057;
}

.jossor-docs-panel-form textarea:focus {
	outline: none;
	border-color: #c1c9d0;
}

.jossor-docs-panel-form button {
	align-self: flex-end;
	border: none;
	border-radius: 0.25rem;
	background: #727cf5;
	color: #fff;
	padding: 5px 14px;
	font-size: 0.8125rem;
	cursor: pointer;
}

.jossor-docs-panel-form button:hover {
	background: #616dda;
}

.jossor-docs-version {
	padding: 8px 0;
	border-bottom: 1px solid #f1f3fa;
	font-size: 0.8125rem;
}

.jossor-docs-version-meta {
	display: flex;
	flex-direction: column;
	margin-bottom: 4px;
}

.jossor-docs-version-meta span {
	color: #6c757d;
	font-size: 0.75rem;
}

.jossor-docs-version button {
	border: 1px solid #dee2e6;
	background: #fff;
	border-radius: 0.25rem;
	padding: 4px 10px;
	font-size: 0.75rem;
	color: #495057;
	cursor: pointer;
}

.jossor-docs-version button:hover {
	background: #f1f3fa;
}

/* --- Live cursors (real-time collaboration) ------------------------------ */

.jossor-collab-cursor {
	position: relative;
	margin-left: -1px;
	margin-right: -1px;
	border-left: 2px solid;
	border-right: none;
	word-break: normal;
	pointer-events: none;
}

.jossor-collab-cursor-label {
	position: absolute;
	top: -1.3em;
	left: -2px;
	font-size: 0.68rem;
	white-space: nowrap;
	line-height: normal;
	color: #fff;
	padding: 1px 6px;
	border-radius: 3px 3px 3px 0;
	user-select: none;
}

.jossor-collab-selection {
	border-radius: 0.1rem;
}

/* --- Small screens -------------------------------------------------------- */

@media (max-width: 575.98px) {
	.jossor-editor-toolbar {
		padding: 4px 6px;
		column-gap: 6px;
	}

	.jossor-editor-font-select {
		max-width: 96px;
	}

	.jossor-editor-fontsize-select {
		max-width: 70px;
	}

	.jossor-editor-content {
		padding: 10px 12px;
	}
}

/* --- Media popovers (image / video / table picker) ------------------------ */

.jossor-media-panel {
	width: min(320px, calc(100vw - 24px));
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.jossor-media-panel-title {
	font-weight: 600;
	font-size: 0.875rem;
	color: #343a40;
}

.jossor-media-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 8px 10px;
	border: none;
	border-radius: 0.25rem;
	background: #727cf5;
	color: #fff;
	font-size: 0.8425rem;
	cursor: pointer;
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.jossor-media-btn-primary:hover {
	background: #616dda;
	box-shadow: 0px 2px 6px 0px rgba(114, 124, 245, 0.5);
}

.jossor-media-btn-primary:focus-visible {
	outline: 2px solid rgba(114, 124, 245, 0.45);
	outline-offset: 1px;
}

.jossor-media-panel-hint {
	font-size: 0.75rem;
	color: #6c757d;
	line-height: 1.5;
}

.jossor-media-panel-divider {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #98a6ad;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.jossor-media-panel-divider::before,
.jossor-media-panel-divider::after {
	content: '';
	flex: 1;
	border-top: 1px solid #e9ecef;
}

.jossor-media-panel-urlrow {
	display: flex;
	gap: 6px;
}

.jossor-media-panel-urlrow input {
	flex: 1;
	min-width: 0;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	padding: 6px 8px;
	font-size: 0.8125rem;
	color: #495057;
}

.jossor-media-panel-urlrow input:focus {
	outline: none;
	border-color: #c1c9d0;
}

.jossor-media-panel-urlrow button {
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	background: #f8f9fa;
	color: #495057;
	padding: 6px 12px;
	font-size: 0.8125rem;
	cursor: pointer;
}

.jossor-media-panel-urlrow button:hover {
	background: #f1f3fa;
}

.jossor-html-source-panel {
	width: min(420px, calc(100vw - 24px));
}

.jossor-html-source-textarea {
	width: 100%;
	min-height: 140px;
	resize: vertical;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	padding: 8px 10px;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 0.8125rem;
	color: #495057;
}

.jossor-html-source-textarea:focus {
	outline: none;
	border-color: #c1c9d0;
}

/* --- Drag & drop indicator ------------------------------------------------ */

.jossor-editor.jossor-editor-dropping {
	border-color: #727cf5;
	position: relative;
}

.jossor-editor.jossor-editor-dropping::after {
	content: 'Drop images to insert';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(114, 124, 245, 0.08);
	border: 2px dashed #727cf5;
	border-radius: 0.25rem;
	color: #727cf5;
	font-weight: 600;
	font-size: 0.9rem;
	pointer-events: none;
	z-index: 5;
}

/* --- Video embeds inside the content -------------------------------------- */

.jossor-editor-content .ProseMirror iframe.jossor-video-embed {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 0.25rem;
	margin: 0 0 0.75rem;
	background: #f1f3fa;
}

.jossor-editor-content .ProseMirror video.jossor-video-embed {
	width: 100%;
	max-height: 420px;
	border-radius: 0.25rem;
	margin: 0 0 0.75rem;
	background: #000;
}

.jossor-editor-content .ProseMirror .ProseMirror-selectednode.jossor-video-embed,
.jossor-editor-content .ProseMirror .ProseMirror-selectednode img {
	outline: 2px solid rgba(114, 124, 245, 0.55);
	outline-offset: 2px;
}

/* --- Table size picker ----------------------------------------------------- */

.jossor-table-picker-label {
	font-size: 0.78rem;
	color: #6c757d;
	min-height: 1em;
}

.jossor-table-picker-grid {
	display: grid;
	gap: 3px;
}

.jossor-table-picker-cell {
	width: 22px;
	height: 18px;
	padding: 0;
	border: 1px solid #dee2e6;
	border-radius: 2px;
	background: #fff;
	cursor: pointer;
}

.jossor-table-picker-cell.is-hot {
	background: rgba(114, 124, 245, 0.25);
	border-color: #727cf5;
}

.jossor-table-picker-exact {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	color: #6c757d;
}

.jossor-table-picker-exact input {
	width: 56px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	padding: 4px 6px;
	font-size: 0.8125rem;
	color: #495057;
}

.jossor-table-picker-exact button {
	margin-left: auto;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	background: #f8f9fa;
	color: #495057;
	padding: 4px 12px;
	font-size: 0.8125rem;
	cursor: pointer;
}

.jossor-table-picker-exact button:hover {
	background: #f1f3fa;
}

/* --- Table edit context menu ----------------------------------------------- */

.jossor-table-menu .jossor-bubble-menu-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.jossor-table-menu-divider {
	width: 1px;
	height: 16px;
	background: rgba(255, 255, 255, 0.2);
	margin: 0 3px;
}
