/**
 * XML Sitemap Checker Widget Styles
 * Pink/red gradient theme
 */

.mte-xml-sitemap-checker {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 60px rgba(240, 147, 251, 0.3);
	transition: all 0.3s ease;
}

.mte-xml-sitemap-checker__container {
	max-width: 100%;
}

.mte-xml-sitemap-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-xml-sitemap-checker__instructions-title {
	font-size: 20px;
	font-weight: 700;
	color: #f093fb;
	margin: 0 0 15px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #f5576c;
}

.mte-xml-sitemap-checker__instructions-text {
	font-size: 15px;
	color: #4a5568;
	line-height: 1.6;
	margin: 0;
}

.mte-xml-sitemap-checker__form {
	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-xml-sitemap-checker__field {
	margin-bottom: 0;
}

.mte-xml-sitemap-checker__label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #2d3748;
	margin-bottom: 8px;
}

.mte-xml-sitemap-checker__input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #f7fafc;
	color: #2d3748;
	font-size: 15px;
	line-height: 1.6;
	transition: all 0.3s ease;
	font-family: inherit;
}

.mte-xml-sitemap-checker__input:focus {
	outline: none;
	border-color: #f093fb;
	box-shadow: 0 0 0 3px rgba(240, 147, 251, 0.1);
}

.mte-xml-sitemap-checker__buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 25px;
}

.mte-xml-sitemap-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-xml-sitemap-checker__button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mte-xml-sitemap-checker__button--check {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #ffffff;
}

.mte-xml-sitemap-checker__button--check:hover:not(:disabled) {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.mte-xml-sitemap-checker__button--clear {
	background: linear-gradient(135deg, #a8a8a8 0%, #7f7f7f 100%);
	color: #ffffff;
}

.mte-xml-sitemap-checker__button--clear:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(127, 127, 127, 0.4);
}

.mte-xml-sitemap-checker__result {
	display: flex;
	flex-direction: column;
	gap: 25px;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mte-xml-sitemap-checker__summary {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-xml-sitemap-checker__summary-title {
	font-size: 20px;
	font-weight: 700;
	color: #f093fb;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #f5576c;
}

.mte-xml-sitemap-checker__summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
}

.mte-xml-sitemap-checker__summary-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
	border-radius: 10px;
	text-align: center;
	transition: all 0.3s ease;
}

.mte-xml-sitemap-checker__summary-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(240, 147, 251, 0.2);
}

.mte-xml-sitemap-checker__summary-label {
	font-size: 12px;
	font-weight: 600;
	color: #718096;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mte-xml-sitemap-checker__summary-value {
	font-size: 24px;
	font-weight: 700;
	color: #f5576c;
}

.mte-xml-sitemap-checker__validation {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-xml-sitemap-checker__validation-title {
	font-size: 20px;
	font-weight: 700;
	color: #f093fb;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #f5576c;
}

.mte-xml-sitemap-checker__validation-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mte-xml-sitemap-checker__validation-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.mte-xml-sitemap-checker__validation-item--success {
	background: linear-gradient(135deg, rgba(56, 239, 125, 0.1) 0%, rgba(17, 153, 142, 0.1) 100%);
	border-left: 4px solid #38ef7d;
}

.mte-xml-sitemap-checker__validation-item--warning {
	background: linear-gradient(135deg, rgba(254, 202, 87, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
	border-left: 4px solid #feca57;
}

.mte-xml-sitemap-checker__validation-item--error {
	background: linear-gradient(135deg, rgba(245, 87, 108, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
	border-left: 4px solid #f5576c;
}

.mte-xml-sitemap-checker__validation-icon {
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
}

.mte-xml-sitemap-checker__validation-item--success .mte-xml-sitemap-checker__validation-icon {
	color: #38ef7d;
}

.mte-xml-sitemap-checker__validation-item--warning .mte-xml-sitemap-checker__validation-icon {
	color: #feca57;
}

.mte-xml-sitemap-checker__validation-item--error .mte-xml-sitemap-checker__validation-icon {
	color: #f5576c;
}

.mte-xml-sitemap-checker__validation-text {
	font-size: 14px;
	color: #2d3748;
	line-height: 1.5;
}

.mte-xml-sitemap-checker__urls {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-xml-sitemap-checker__urls-title {
	font-size: 20px;
	font-weight: 700;
	color: #f093fb;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #f5576c;
}

.mte-xml-sitemap-checker__urls-filter {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 15px;
	margin-bottom: 20px;
}

.mte-xml-sitemap-checker__search,
.mte-xml-sitemap-checker__sort {
	padding: 12px 15px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #f7fafc;
	color: #2d3748;
	font-size: 14px;
	transition: all 0.3s ease;
	font-family: inherit;
}

.mte-xml-sitemap-checker__search:focus,
.mte-xml-sitemap-checker__sort:focus {
	outline: none;
	border-color: #f093fb;
	box-shadow: 0 0 0 3px rgba(240, 147, 251, 0.1);
}

.mte-xml-sitemap-checker__urls-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 600px;
	overflow-y: auto;
	padding-right: 10px;
}

.mte-xml-sitemap-checker__urls-list::-webkit-scrollbar {
	width: 8px;
}

.mte-xml-sitemap-checker__urls-list::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.mte-xml-sitemap-checker__urls-list::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	border-radius: 10px;
}

.mte-xml-sitemap-checker__url-item {
	display: flex;
	gap: 15px;
	padding: 15px;
	background: #f7fafc;
	border-radius: 10px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
}

.mte-xml-sitemap-checker__url-item:hover {
	border-color: #f093fb;
	box-shadow: 0 4px 15px rgba(240, 147, 251, 0.2);
}

.mte-xml-sitemap-checker__url-number {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #ffffff;
	border-radius: 50%;
	font-weight: 700;
	font-size: 14px;
}

.mte-xml-sitemap-checker__url-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.mte-xml-sitemap-checker__url-loc {
	font-size: 14px;
	color: #2d3748;
	font-weight: 600;
	word-break: break-all;
}

.mte-xml-sitemap-checker__url-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
}

.mte-xml-sitemap-checker__url-priority,
.mte-xml-sitemap-checker__url-lastmod,
.mte-xml-sitemap-checker__url-changefreq {
	padding: 4px 10px;
	background: rgba(240, 147, 251, 0.1);
	border-radius: 5px;
	color: #718096;
	font-weight: 600;
}

.mte-xml-sitemap-checker__urls-empty,
.mte-xml-sitemap-checker__urls-notice {
	text-align: center;
	padding: 30px;
	color: #718096;
	font-size: 14px;
}

.mte-xml-sitemap-checker__urls-notice {
	background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
	border-radius: 10px;
	margin-top: 12px;
}

.mte-xml-sitemap-checker__notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 25px;
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: #ffffff;
	border-radius: 50px;
	box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
	font-weight: 600;
	font-size: 14px;
	opacity: 0;
	transform: translateY(-20px);
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 9999;
	max-width: 400px;
}

.mte-xml-sitemap-checker__notification.show {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767px) {
	.mte-xml-sitemap-checker {
		padding: 20px;
	}

	.mte-xml-sitemap-checker__instructions,
	.mte-xml-sitemap-checker__form,
	.mte-xml-sitemap-checker__summary,
	.mte-xml-sitemap-checker__validation,
	.mte-xml-sitemap-checker__urls {
		padding: 20px;
	}

	.mte-xml-sitemap-checker__button {
		width: 100%;
	}

	.mte-xml-sitemap-checker__summary-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mte-xml-sitemap-checker__urls-filter {
		grid-template-columns: 1fr;
	}

	.mte-xml-sitemap-checker__notification {
		max-width: calc(100% - 40px);
		left: 20px;
		right: 20px;
	}
}
