.lic-dba-edit-button {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 99996;
	border: 0;
	border-radius: 999px;
	padding: 13px 20px;
	background: #0b4aa2;
	color: #fff;
	font: 600 14px/1.2 Arial, sans-serif;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	cursor: pointer;
}

.lic-dba-edit-button:hover,
.lic-dba-edit-button:focus {
	background: #073879;
	color: #fff;
	outline: 3px solid rgba(11, 74, 162, .22);
	outline-offset: 2px;
}

.lic-dba-editor-overlay[hidden] {
	display: none !important;
}

.lic-dba-editor-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(8, 20, 39, .72);
}

.lic-dba-editor-modal {
	width: min(720px, 100%);
	max-height: min(90vh, 820px);
	overflow: auto;
	border-radius: 16px;
	background: #fff;
	color: #17233c;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .36);
	font-family: Arial, sans-serif;
}

.lic-dba-editor-header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	border-bottom: 1px solid #dde5ef;
	background: #fff;
}

.lic-dba-editor-header h2 {
	margin: 0;
	color: #102c58;
	font: 700 22px/1.25 Georgia, serif;
}

.lic-dba-editor-close {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #eef3f8;
	color: #17233c;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.lic-dba-editor-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 24px;
}

.lic-dba-editor-field:first-child {
	grid-column: 1 / -1;
}

.lic-dba-editor-field {
	display: grid;
	gap: 7px;
}

.lic-dba-editor-field span {
	color: #30425f;
	font-size: 13px;
	font-weight: 700;
}

.lic-dba-editor-field input {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
	border: 1px solid #bdc9d8;
	border-radius: 8px;
	padding: 9px 11px;
	background: #fff;
	color: #17233c;
	font-size: 15px;
}

.lic-dba-editor-field input:focus {
	border-color: #0b4aa2;
	outline: 3px solid rgba(11, 74, 162, .13);
}

.lic-dba-editor-status,
.lic-dba-editor-actions {
	grid-column: 1 / -1;
}

.lic-dba-editor-status {
	min-height: 20px;
	font-size: 14px;
	font-weight: 600;
}

.lic-dba-editor-status.is-success {
	color: #137333;
}

.lic-dba-editor-status.is-error {
	color: #b3261e;
}

.lic-dba-editor-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 4px;
}

.lic-dba-editor-admin-link {
	color: #0b4aa2;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.lic-dba-editor-save {
	border: 0;
	border-radius: 8px;
	padding: 12px 20px;
	background: #0b4aa2;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.lic-dba-editor-save:disabled {
	opacity: .65;
	cursor: wait;
}

html.lic-dba-editor-open {
	overflow: hidden;
}

@media (max-width: 650px) {
	.lic-dba-edit-button {
		right: 14px;
		bottom: 14px;
	}

	.lic-dba-editor-overlay {
		align-items: flex-end;
		padding: 0;
	}

	.lic-dba-editor-modal {
		width: 100%;
		max-height: 94vh;
		border-radius: 18px 18px 0 0;
	}

	.lic-dba-editor-form {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.lic-dba-editor-field:first-child,
	.lic-dba-editor-status,
	.lic-dba-editor-actions {
		grid-column: auto;
	}
}
