/**
 * SEOvault AI — Elementor editor panel.
 */

.seovault-elementor-toggle {
	align-items: center;
	background: #3f2b96;
	border: 0;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	height: 30px;
	justify-content: center;
	letter-spacing: 0.02em;
	margin: 0 6px;
	min-width: 34px;
	padding: 0 8px;
}

.seovault-elementor-toggle:hover,
.seovault-elementor-toggle:focus {
	background: #2f1d7a;
	color: #fff;
	outline: 2px solid #9a8cff;
	outline-offset: 1px;
}

.seovault-elementor-toggle-fallback {
	inset-block-start: 12px;
	inset-inline-start: 312px;
	position: fixed;
	z-index: 10002;
}

.seovault-elementor-panel {
	background: #f7f7f9;
	box-shadow: 6px 0 18px rgb(0 0 0 / 18%);
	color: #1f2937;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	inset-block: 0;
	inset-inline-start: 0;
	position: fixed;
	width: var(--e-editor-panel-width, 320px);
	z-index: 10001;
}

.seovault-elementor-panel[hidden] {
	display: none;
}

.seovault-elementor-header {
	align-items: center;
	background: linear-gradient(135deg, #3f2b96, #6047c4);
	color: #fff;
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
	min-height: 52px;
	padding: 8px 12px;
}

.seovault-elementor-close {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	padding: 7px 4px;
}

.seovault-elementor-close:hover,
.seovault-elementor-close:focus {
	text-decoration: underline;
}

.seovault-elementor-brand {
	font-size: 15px;
	margin-inline-start: auto;
}

.seovault-elementor-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 12px;
}

.seovault-elementor-section {
	background: #fff;
	border: 1px solid #dedee7;
	border-radius: 7px;
	margin-block-end: 10px;
	overflow: hidden;
}

.seovault-elementor-section-title {
	cursor: pointer;
	font-size: 13px;
	font-weight: 650;
	list-style-position: inside;
	padding: 12px;
}

.seovault-elementor-section[open] > .seovault-elementor-section-title {
	border-block-end: 1px solid #ececf2;
}

.seovault-elementor-section-content {
	padding: 12px;
}

.seovault-elementor-field {
	margin-block-end: 13px;
}

.seovault-elementor-field:last-child {
	margin-block-end: 0;
}

.seovault-elementor-label {
	display: flex;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	justify-content: space-between;
	margin-block-end: 5px;
}

.seovault-elementor-input {
	background: #fff;
	border: 1px solid #b8bac4;
	border-radius: 4px;
	box-sizing: border-box;
	color: #1f2937;
	font: inherit;
	font-size: 13px;
	line-height: 1.45;
	padding: 8px;
	resize: vertical;
	width: 100%;
}

.seovault-elementor-input:focus {
	border-color: #6047c4;
	box-shadow: 0 0 0 1px #6047c4;
	outline: 0;
}

.seovault-elementor-count {
	color: #6b7280;
	font-size: 10px;
	font-weight: 500;
}

.seovault-elementor-checkbox {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	font-size: 12px;
	gap: 8px;
	margin-block-end: 10px;
}

.seovault-elementor-checkbox:last-child {
	margin-block-end: 0;
}

.seovault-elementor-checkbox input {
	margin-block-start: 1px;
}

.seovault-elementor-assessment-status {
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	margin-block-end: 8px;
	padding: 8px;
}

.seovault-elementor-word-count,
.seovault-elementor-v4-badge {
	color: #52525b;
	font-size: 11px;
	margin-block-end: 8px;
}

.seovault-elementor-v4-badge {
	background: #f0edff;
	border-radius: 999px;
	color: #3f2b96;
	display: inline-block;
	padding: 4px 8px;
}

.seovault-elementor-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.seovault-elementor-check {
	border-block-start: 1px solid #ececf2;
	display: grid;
	gap: 3px;
	padding-block: 8px;
	padding-inline-start: 14px;
	position: relative;
}

.seovault-elementor-check::before {
	background: currentcolor;
	border-radius: 50%;
	content: '';
	height: 7px;
	inset-block-start: 13px;
	inset-inline-start: 0;
	position: absolute;
	width: 7px;
}

.seovault-elementor-check-label {
	color: #27272a;
	font-size: 11px;
}

.seovault-elementor-check-message {
	color: #65656f;
	font-size: 10px;
	line-height: 1.4;
}

.seovault-elementor-status-good {
	color: #157347;
}

.seovault-elementor-status-okay {
	color: #9a6700;
}

.seovault-elementor-status-bad {
	color: #b42318;
}

.seovault-elementor-status-unknown {
	color: #65656f;
}

.seovault-elementor-assessment-status.seovault-elementor-status-good {
	background: #e8f6ee;
}

.seovault-elementor-assessment-status.seovault-elementor-status-okay {
	background: #fff4cf;
}

.seovault-elementor-assessment-status.seovault-elementor-status-bad {
	background: #ffebe9;
}

.seovault-elementor-footer {
	align-items: center;
	background: #fff;
	border-block-start: 1px solid #dedee7;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	padding: 10px 12px;
}

.seovault-elementor-save {
	background: #3f2b96;
	border: 0;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 650;
	padding: 9px 12px;
}

.seovault-elementor-save:hover,
.seovault-elementor-save:focus {
	background: #2f1d7a;
}

.seovault-elementor-save-status {
	color: #65656f;
	font-size: 10px;
	line-height: 1.3;
}

.seovault-elementor-save-status.is-success {
	color: #157347;
}

.seovault-elementor-save-status.is-error {
	color: #b42318;
}
