/**
 * Admin Styles
 *
 * @package AppsFruit_Elementor_Embed
 */

/* Shortcode column styling */
.aefe-shortcode-wrapper {
	display: flex;
	align-items: center;
	gap: 5px;
}

.aefe-shortcode-input {
	padding: 4px 8px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #f9f9f9;
}

.aefe-copy-shortcode {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.aefe-copy-shortcode:hover {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

.aefe-copy-shortcode .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.aefe-copy-feedback {
	font-size: 12px;
	font-weight: 600;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Meta box styling */
.aefe-meta-box code {
	background: #f5f5f5;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
	display: inline-block;
	margin: 3px 0;
}

.aefe-shortcode-box {
	position: relative;
}

.aefe-copy-shortcode-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.aefe-copy-feedback-meta {
	font-weight: 600;
	animation: fadeIn 0.3s ease;
}

/* Help page styling */
.wrap .card {
	margin-top: 20px;
	padding: 20px;
}

.wrap .card h2 {
	margin-top: 0;
	padding-top: 0;
}

.wrap .card code {
	background: #f5f5f5;
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 13px;
	display: inline-block;
	margin: 3px 0;
}

.wrap .card ol,
.wrap .card ul {
	margin-left: 20px;
}

.wrap .card li {
	margin-bottom: 8px;
}

/* Admin list table enhancements */
.widefat .column-aefe_shortcode {
	width: 280px;
}

/* Quick edit styling */
.inline-edit-col .aefe-shortcode-input {
	width: 100%;
	font-family: monospace;
}
