/* Magic Copy for Elementor Admin Styles */

.magiccopyel-admin-wrap {
	max-width: none;
}

.magiccopyel-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 16px 20px;
	margin-top: 16px;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.magiccopyel-card-narrow {
	max-width: 980px;
}

.magiccopyel-hero-card {
	margin-top: 12px;
	padding: 16px 20px 20px;
}

.magiccopyel-hero-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.magiccopyel-hero-icon {
	width: 80px;
	height: 80px;
	object-fit: contain;
	flex: 0 0 80px;
}

.magiccopyel-hero-head h2 {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
}

.magiccopyel-hero-banner {
	position: relative;
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
}

.magiccopyel-hero-banner img {
	display: block;
	width: 100%;
	height: auto;
}

.magiccopyel-hero-message {
	position: absolute;
	left: 16px;
	bottom: 12px;
	margin: 0;
	padding: 8px 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.88);
	max-width: calc(100% - 32px);
	font-weight: 500;
}

.magiccopyel-info-grid {
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: stretch;
}

.magiccopyel-info-grid-spaced {
	margin-top: 16px;
}

.magiccopyel-info-grid .magiccopyel-card {
	box-sizing: border-box;
	flex: 1 1 calc(50% - 8px);
	margin-top: 0;
	display: flex;
	flex-direction: column;
}

.magiccopyel-quickstart-list {
	margin-left: 18px;
}

.magiccopyel-quickstart-list li {
	margin-bottom: 8px;
}

/* Market Grid */
.magiccopyel-market-grid {
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: stretch;
	margin-top: 16px;
}

.magiccopyel-market-grid-wide {
	margin-top: 16px;
}

.magiccopyel-market-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	flex: 1 1 calc(50% - 8px);
	min-width: 300px;
}

.magiccopyel-market-head {
	padding: 16px;
	display: flex;
	gap: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.magiccopyel-market-icon {
	width: 80px;
	height: 80px;
	object-fit: contain;
	flex: 0 0 80px;
}

.magiccopyel-market-content {
	flex: 1;
}

.magiccopyel-market-content h2 {
	margin: 0 0 8px;
	font-size: 16px;
}

.magiccopyel-market-desc {
	margin: 0 0 8px;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.magiccopyel-market-author {
	font-size: 12px;
	color: #999;
	margin: 0;
}

.magiccopyel-market-author a {
	color: #0073aa;
	text-decoration: none;
}

.magiccopyel-market-author a:hover {
	text-decoration: underline;
}

.magiccopyel-market-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.magiccopyel-market-actions .button {
	white-space: nowrap;
	font-size: 12px;
	padding: 6px 12px;
}

.magiccopyel-market-foot {
	padding: 12px 16px;
	background: #f9f9f9;
	font-size: 12px;
	color: #666;
	display: flex;
	justify-content: space-around;
	gap: 8px;
}

.magiccopyel-market-foot span {
	flex: 1;
	text-align: center;
	border-right: 1px solid #e5e5e5;
}

.magiccopyel-market-foot span:last-child {
	border-right: none;
}

.magiccopyel-market-foot strong {
	display: block;
	color: #333;
}

/* Form Table */
.magiccopyel-card .form-table {
	width: 100%;
	margin: 0;
}

.magiccopyel-card .form-table th {
	text-align: left;
	padding: 15px 10px;
	border-bottom: 1px solid #f0f0f0;
}

.magiccopyel-card .form-table td {
	padding: 15px 10px;
	border-bottom: 1px solid #f0f0f0;
}

.magiccopyel-card .form-table select {
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.magiccopyel-card .description {
	font-size: 12px;
	color: #666;
	margin-top: 8px;
	display: block;
}

/* Responsive */
@media (max-width: 782px) {
	.magiccopyel-hero-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.magiccopyel-hero-icon {
		width: 60px;
		height: 60px;
		flex: 0 0 60px;
	}

	.magiccopyel-hero-head h2 {
		font-size: 22px;
	}

	.magiccopyel-info-grid .magiccopyel-card {
		flex: 1 1 100%;
	}

	.magiccopyel-market-card {
		flex: 1 1 100%;
	}

	.magiccopyel-market-head {
		flex-direction: column;
	}

	.magiccopyel-market-icon {
		width: 60px;
		height: 60px;
		flex: 0 0 60px;
	}

	.magiccopyel-market-actions {
		flex-wrap: wrap;
	}

	.magiccopyel-market-foot {
		flex-direction: column;
	}

	.magiccopyel-market-foot span {
		border-right: none;
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 8px;
		margin-bottom: 8px;
	}

	.magiccopyel-market-foot span:last-child {
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 0;
	}
}
