/**
 * WebTidy Guidelines Frontend Styles
 */

.webtidy-guidelines-shortcode {
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border-left: 4px solid #2ecc71;
	border-radius: 4px;
}

.webtidy-guidelines-shortcode h2 {
	color: #2ecc71;
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 28px;
}

.webtidy-guidelines-shortcode p {
	color: #555;
	line-height: 1.6;
	margin: 15px 0;
}

.webtidy-steps-shortcode {
	margin: 20px 0;
}

.webtidy-step-shortcode {
	border-left: 4px solid #2ecc71;
	padding: 20px;
	margin-bottom: 20px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.webtidy-step-shortcode h3 {
	margin-top: 0;
	color: #2ecc71;
	font-size: 20px;
}

.webtidy-step-shortcode p {
	color: #555;
	line-height: 1.6;
	margin: 10px 0;
}

.webtidy-code-block-shortcode {
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin: 15px 0;
	overflow: hidden;
}

.webtidy-code-header-shortcode {
	background: #333;
	color: #fff;
	padding: 10px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	font-weight: bold;
}

.webtidy-code-language-shortcode {
	text-transform: uppercase;
	letter-spacing: 1px;
}

.webtidy-code-block-shortcode pre {
	margin: 0;
	padding: 15px;
	background: #f5f5f5;
	overflow-x: auto;
	font-size: 12px;
	line-height: 1.5;
	color: #333;
	font-family: 'Courier New', monospace;
}

.webtidy-copy-btn-shortcode {
	background: #2ecc71;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 11px;
	font-weight: bold;
	transition: background 0.2s;
}

.webtidy-copy-btn-shortcode:hover {
	background: #27ae60;
}

.webtidy-tips-shortcode {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 15px;
	margin-top: 15px;
	border-radius: 4px;
}

.webtidy-tips-shortcode strong {
	color: #856404;
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
}

.webtidy-tips-shortcode ul {
	margin: 0;
	padding-left: 20px;
	color: #856404;
}

.webtidy-tips-shortcode li {
	margin: 8px 0;
	line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
	.webtidy-guidelines-shortcode {
		padding: 15px;
	}

	.webtidy-step-shortcode {
		padding: 15px;
		margin-bottom: 15px;
	}

	.webtidy-code-block-shortcode pre {
		font-size: 11px;
		padding: 10px;
	}

	.webtidy-code-header-shortcode {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}
