/**
 * Remove Extra Spaces Widget Styles
 * Mint/green gradient theme
 */

.mte-remove-extra-spaces {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 60px rgba(67, 233, 123, 0.3);
	transition: all 0.3s ease;
}

.mte-remove-extra-spaces__container {
	max-width: 100%;
}

.mte-remove-extra-spaces__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-remove-extra-spaces__section-title {
	font-size: 20px;
	font-weight: 700;
	color: #43e97b;
	margin: 0 0 20px 0;
	padding-bottom: 12px;
	border-bottom: 3px solid #38f9d7;
}

.mte-remove-extra-spaces__textarea {
	width: 100%;
	padding: 15px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	color: #2d3748;
	font-size: 15px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	resize: vertical;
	transition: all 0.3s ease;
}

.mte-remove-extra-spaces__textarea:focus {
	outline: none;
	border-color: #43e97b;
	box-shadow: 0 0 0 3px rgba(67, 233, 123, 0.1);
}

.mte-remove-extra-spaces__textarea[readonly] {
	background: #f7fafc;
	cursor: default;
}

.mte-remove-extra-spaces__options {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 25px 30px;
	margin-bottom: 25px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mte-remove-extra-spaces__options-title {
	font-size: 18px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mte-remove-extra-spaces__option-group {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mte-remove-extra-spaces__checkbox-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-size: 15px;
	color: #2d3748;
	transition: all 0.3s ease;
	padding: 8px;
	border-radius: 8px;
}

.mte-remove-extra-spaces__checkbox-label:hover {
	background: rgba(67, 233, 123, 0.1);
}

.mte-remove-extra-spaces__checkbox {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #43e97b;
}

.mte-remove-extra-spaces__buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 25px;
}

.mte-remove-extra-spaces__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-remove-extra-spaces__button--remove,
.mte-remove-extra-spaces__button--copy {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
	color: #ffffff;
}

.mte-remove-extra-spaces__button--remove:hover,
.mte-remove-extra-spaces__button--copy:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(67, 233, 123, 0.4);
}

.mte-remove-extra-spaces__button--clear {
	background: linear-gradient(135deg, #a8a8a8 0%, #7f7f7f 100%);
	color: #ffffff;
}

.mte-remove-extra-spaces__button--clear:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(127, 127, 127, 0.4);
}

.mte-remove-extra-spaces__output-section {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mte-remove-extra-spaces__output-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	gap: 15px;
	flex-wrap: wrap;
}

.mte-remove-extra-spaces__output-header .mte-remove-extra-spaces__section-title {
	margin: 0;
	padding: 0;
	border: none;
}

.mte-remove-extra-spaces__output-header .mte-remove-extra-spaces__button {
	min-width: auto;
	padding: 12px 30px;
	font-size: 14px;
}

.mte-remove-extra-spaces__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 2px solid #e2e8f0;
}

.mte-remove-extra-spaces__stat {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 15px;
	background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
	border-radius: 10px;
	text-align: center;
}

.mte-remove-extra-spaces__stat-label {
	font-size: 13px;
	font-weight: 600;
	color: #718096;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mte-remove-extra-spaces__stat-value {
	font-size: 24px;
	font-weight: 700;
	color: #43e97b;
}

.mte-remove-extra-spaces__notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 25px;
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
	color: #ffffff;
	border-radius: 50px;
	box-shadow: 0 8px 25px rgba(67, 233, 123, 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-remove-extra-spaces__notification.show {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767px) {
	.mte-remove-extra-spaces {
		padding: 20px;
	}

	.mte-remove-extra-spaces__section,
	.mte-remove-extra-spaces__options {
		padding: 20px;
	}

	.mte-remove-extra-spaces__button {
		width: 100%;
	}

	.mte-remove-extra-spaces__output-header {
		flex-direction: column;
		align-items: stretch;
	}

	.mte-remove-extra-spaces__output-header .mte-remove-extra-spaces__button {
		width: 100%;
	}

	.mte-remove-extra-spaces__stats {
		grid-template-columns: 1fr;
	}
}
