/**
 * Heading Tag Checker Widget Styles
 * Deep purple/violet gradient theme
 */

.mte-heading-tag-checker {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
}

.mte-heading-tag-checker__container {
	max-width: 100%;
}

.mte-heading-tag-checker__instructions {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 25px;
	margin-bottom: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-heading-tag-checker__instructions-title {
	font-size: 20px;
	font-weight: 700;
	color: #667eea;
	margin: 0 0 15px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #764ba2;
}

.mte-heading-tag-checker__instructions-text {
	font-size: 15px;
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
}

.mte-heading-tag-checker__section {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-heading-tag-checker__section-title {
	font-size: 20px;
	font-weight: 700;
	color: #667eea;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #764ba2;
}

.mte-heading-tag-checker__textarea {
	width: 100%;
	padding: 15px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #f7fafc;
	color: #2d3748;
	font-size: 14px;
	font-family: 'Courier New', Courier, monospace;
	line-height: 1.6;
	resize: vertical;
	transition: all 0.3s ease;
}

.mte-heading-tag-checker__textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mte-heading-tag-checker__buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 25px;
}

.mte-heading-tag-checker__button {
	padding: 15px 40px;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	min-width: 180px;
}

.mte-heading-tag-checker__button--analyze {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
}

.mte-heading-tag-checker__button--analyze:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.mte-heading-tag-checker__button--clear {
	background: linear-gradient(135deg, #a8a8a8 0%, #7f7f7f 100%);
	color: #ffffff;
}

.mte-heading-tag-checker__button--clear:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(127, 127, 127, 0.4);
}

.mte-heading-tag-checker__results {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mte-heading-tag-checker__summary {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-heading-tag-checker__summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 15px;
	margin-top: 20px;
}

.mte-heading-tag-checker__summary-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
	border-radius: 10px;
	text-align: center;
	transition: all 0.3s ease;
}

.mte-heading-tag-checker__summary-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.mte-heading-tag-checker__summary-label {
	font-size: 13px;
	font-weight: 600;
	color: #718096;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mte-heading-tag-checker__summary-value {
	font-size: 32px;
	font-weight: 700;
	color: #667eea;
}

.mte-heading-tag-checker__issues {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	margin-bottom: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-heading-tag-checker__issues-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mte-heading-tag-checker__issue {
	padding: 20px;
	border-radius: 10px;
	border-left: 4px solid;
	background: #f7fafc;
	transition: all 0.3s ease;
}

.mte-heading-tag-checker__issue:hover {
	transform: translateX(5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-heading-tag-checker__issue--error {
	border-left-color: #f56565;
	background: rgba(245, 101, 101, 0.05);
}

.mte-heading-tag-checker__issue--warning {
	border-left-color: #ed8936;
	background: rgba(237, 137, 54, 0.05);
}

.mte-heading-tag-checker__issue--info {
	border-left-color: #4299e1;
	background: rgba(66, 153, 225, 0.05);
}

.mte-heading-tag-checker__issue--success {
	border-left-color: #48bb78;
	background: rgba(72, 187, 120, 0.05);
}

.mte-heading-tag-checker__issue-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.mte-heading-tag-checker__issue-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
}

.mte-heading-tag-checker__issue--error .mte-heading-tag-checker__issue-icon {
	background: #f56565;
	color: #ffffff;
}

.mte-heading-tag-checker__issue--warning .mte-heading-tag-checker__issue-icon {
	background: #ed8936;
	color: #ffffff;
}

.mte-heading-tag-checker__issue--info .mte-heading-tag-checker__issue-icon {
	background: #4299e1;
	color: #ffffff;
}

.mte-heading-tag-checker__issue--success .mte-heading-tag-checker__issue-icon {
	background: #48bb78;
	color: #ffffff;
}

.mte-heading-tag-checker__issue-type {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mte-heading-tag-checker__issue--error .mte-heading-tag-checker__issue-type {
	color: #f56565;
}

.mte-heading-tag-checker__issue--warning .mte-heading-tag-checker__issue-type {
	color: #ed8936;
}

.mte-heading-tag-checker__issue--info .mte-heading-tag-checker__issue-type {
	color: #4299e1;
}

.mte-heading-tag-checker__issue--success .mte-heading-tag-checker__issue-type {
	color: #48bb78;
}

.mte-heading-tag-checker__issue-message {
	font-size: 15px;
	color: #2d3748;
	margin-bottom: 10px;
	line-height: 1.6;
}

.mte-heading-tag-checker__issue-recommendation {
	font-size: 14px;
	color: #4a5568;
	line-height: 1.6;
	padding: 12px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 8px;
}

.mte-heading-tag-checker__issue-recommendation strong {
	color: #667eea;
}

.mte-heading-tag-checker__no-issues {
	text-align: center;
	padding: 40px;
	font-size: 16px;
	color: #48bb78;
	font-weight: 600;
}

.mte-heading-tag-checker__structure {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-heading-tag-checker__structure-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mte-heading-tag-checker__structure-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px 15px;
	background: #f7fafc;
	border-radius: 8px;
	border-left: 3px solid #667eea;
	transition: all 0.3s ease;
}

.mte-heading-tag-checker__structure-item:hover {
	background: #edf2f7;
	transform: translateX(5px);
}

.mte-heading-tag-checker__structure-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 50px;
	padding: 6px 12px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	border-radius: 6px;
	text-transform: uppercase;
}

.mte-heading-tag-checker__structure-text {
	flex: 1;
	font-size: 14px;
	color: #2d3748;
	line-height: 1.5;
}

.mte-heading-tag-checker__structure-text em {
	color: #a0aec0;
	font-style: italic;
}

.mte-heading-tag-checker__structure-length {
	font-size: 12px;
	color: #718096;
	font-weight: 600;
	padding: 4px 10px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 12px;
}

.mte-heading-tag-checker__no-structure {
	text-align: center;
	padding: 40px;
	font-size: 16px;
	color: #a0aec0;
}

.mte-heading-tag-checker__notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 25px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	border-radius: 50px;
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
	font-weight: 600;
	font-size: 14px;
	opacity: 0;
	transform: translateY(-20px);
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 9999;
}

.mte-heading-tag-checker__notification.show {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767px) {
	.mte-heading-tag-checker {
		padding: 20px;
	}

	.mte-heading-tag-checker__instructions,
	.mte-heading-tag-checker__section,
	.mte-heading-tag-checker__summary,
	.mte-heading-tag-checker__issues,
	.mte-heading-tag-checker__structure {
		padding: 20px;
	}

	.mte-heading-tag-checker__button {
		width: 100%;
	}

	.mte-heading-tag-checker__summary-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mte-heading-tag-checker__structure-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.mte-heading-tag-checker__structure-tag {
		align-self: flex-start;
	}
}
