.smef-settings-wrap{
	padding: 10px 0;
}

.smef-settings-header{
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 20px;
	padding: 0 0 20px;
}

.smef-settings-logo{
	display: block;
	width: 80px;
	height: auto;
	margin: 0 0 20px;
}

h1.smef-settings-title{
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.2;
	margin: 0;
	padding: 0;
}

.smef-form .form-table,
.smef-form .form-table tbody,
.smef-form .form-table tr,
.smef-form .form-table th,
.smef-form .form-table td{
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
}

.smef-form{
	position: relative;
}

.smef-form.smef-loading{
	-webkit-opacity: 0.7;
	-moz-opacity: 0.7;
	opacity: 0.7;
}

.smef-form.smef-loading:after{
	content: "";
	position: absolute;
	z-index: 200;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.smef-form .form-table{
	width: 400px;
	max-width: 100%;
}

.smef-form .form-table tr{
	margin-bottom: 20px;
}

.smef-form label{
	display: block;
	font-weight: 400;
	cursor: pointer;
	margin-bottom: 10px;
}

.smef-form .smef-form-control{
	width: 100%;
	height: 38px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.3;
	color: #495057;
	background-color: #fff;
	border: 1px solid #ced4da;
}

.smef-form textarea.smef-form-control{
	height: 100px;
	min-height: 100px;
	resize: vertical;
}

.smef-form-message{
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	margin: 0;
	padding: 1px 12px;
}

body:not(.rtl) .smef-form-message{
	border-left-width: 4px;
}

body:not(.rtl) .smef-form-message.info{
	border-left-color: #72aee6;
}

body:not(.rtl) .smef-form-message.success{
	border-left-color: #00a32a;
}

body:not(.rtl) .smef-form-message.error{
	border-left-color: #d63638;
}

body.rtl .smef-form-message{
	border-right-width: 4px;
}

body.rtl .smef-form-message.info{
	border-right-color: #72aee6;
}

body.rtl .smef-form-message.success{
	border-right-color: #00a32a;
}

body.rtl .smef-form-message.error{
	border-right-color: #d63638;
}

.smef-form-message p{
	margin: 0.5em 0 !important;
	padding: 2px !important;
}

.smef-form-message ul,
.smef-form-message ol{
	margin: 0 !important;
}

.smef-form-message ul ul{
	list-style-type: disc;
	margin-left: 20px;
}

.smef-form-message ul ul li{
	margin-bottom: 0;
}

.rtl .smef-form-message ul ul{
	margin-left: 0;
	margin-right: 20px;
}

.smef-debug-log ul.ul-square{
	margin-top: 0;
	margin-bottom: 0;
}

.smef-debug-log .smef-limit-height{
	max-height: 100vh;
	overflow: auto;

	-webkit-transition: max-height 0.3s ease-in-out;
	-moz-transition: max-height 0.3s ease-in-out;
	transition: max-height 0.3s ease-in-out;
}

.smef-debug-log .smef-limit-height:not(:hover){
	max-height: 84px;
}

a.smef-clear-logs{
	color: #d63638;
}

a.smef-clear-logs:active, 
a.smef-clear-logs:focus, 
a.smef-clear-logs:hover {
	color: #a00607;
}

/* Validation Styles */
.smef-validation-notice {
	margin: 10px 0 !important;
	padding: 8px 12px !important;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1.4;
}

.smef-validation-notice.elementor-panel-alert-warning {
	background-color: #fff3cd;
	border-color: #ffeaa7;
	color: #856404;
}

.smef-validation-notice.elementor-panel-alert-danger {
	background-color: #f8d7da;
	border-color: #f5c6cb;
	color: #721c24;
}

.smef-validation-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	margin-left: 8px;
}

.smef-validation-status.valid {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.smef-validation-status.warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

.smef-validation-status.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Popup Styles (fallback for editor.js inline styles) */
.smef-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.smef-popup-content {
	background: white;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.smef-popup-header {
	padding: 20px 20px 10px;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.smef-popup-header h3 {
	margin: 0;
	color: #d63638;
}

.smef-popup-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #666;
}

.smef-popup-body {
	padding: 20px;
	line-height: 1.6;
}

.smef-popup-footer {
	padding: 10px 20px 20px;
	text-align: right;
}

.smef-popup-ok {
	cursor: pointer;
}