/**
 * Admin styles for Validation Muse for Contact Form 7.
 *
 * @package ValidationMuse
 * @since   1.0.0
 */

.vmcf7-panel {
	padding: 20px;
}

.vmcf7-enable-toggle {
	margin-bottom: 20px;
}

.vmcf7-fields-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
}

.vmcf7-fields-table th,
.vmcf7-fields-table td {
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
}

.vmcf7-fields-table th {
	background: #f5f5f5;
}

.vmcf7-fields-table input[type="text"] {
	width: 100%;
	padding: 5px;
}

.vmcf7-fields-table.vmcf7-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.vmcf7-field-name {
	font-weight: 600;
	color: #23282d;
}

.vmcf7-field-type {
	color: #666;
	font-size: 12px;
}

.vmcf7-no-fields {
	padding: 15px;
	background: #fff;
	border-left: 4px solid #dc3232;
}

/* Flavor Translation Tabs */

.vmcf7-translations {
	margin-top: 30px;
	border-top: 1px solid #ddd;
	padding-top: 20px;
}

.vmcf7-translations.vmcf7-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.vmcf7-translations h3 {
	margin: 0 0 15px;
}

.vmcf7-lang-tabs {
	display: flex;
	align-items: center;
	gap: 0;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0;
}

.vmcf7-lang-tab {
	padding: 8px 16px;
	border: 1px solid transparent;
	border-bottom: none;
	background: none;
	cursor: pointer;
	font-size: 13px;
	color: #646970;
	margin-bottom: -1px;
	border-radius: 3px 3px 0 0;
}

.vmcf7-lang-tab:hover {
	color: #135e96;
}

.vmcf7-lang-tab.active {
	background: #fff;
	border-color: #ddd;
	color: #1d2327;
	font-weight: 600;
}

.vmcf7-ai-translate {
	margin-left: auto !important;
	margin-bottom: 4px !important;
}

.vmcf7-lang-panel {
	display: none;
}

.vmcf7-lang-panel.active {
	display: block;
}

.vmcf7-translation-table {
	margin-top: 0;
	border-top: none;
}

.vmcf7-translation-table input::placeholder {
	font-style: italic;
	color: #a7aaad;
}

.vmcf7-notice {
	margin: 10px 0;
}
