.image-resizer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	overflow: visible;
}
.image-resizer-container .subtitle {
	font-size: 16px;
	color: #6c757d;
	margin-bottom: 30px;
	text-align: center;
}
.upload-section {
	margin-bottom: 40px;
	overflow: visible;
}
.upload-area {
	border: 3px dashed #dee2e6;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	background: #f8f9fa;
	transition: border-color 0.3s, background-color 0.3s;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.upload-area:hover {
	border-color: #007bff;
}
.upload-area.has-image {
	border: none;
	background: transparent;
	padding: 0;
	display: block;
	min-height: auto;
	position: sticky;
	top: 120px;
	z-index: 10;
}
.upload-area.has-image.sticky-disabled {
	position: static;
}
.upload-area.has-image .image-preview-container {
	display: block;
}
.upload-area.has-image:hover {
	border: none;
	background: transparent;
}
.upload-content {
	width: 100%;
}
.upload-icon {
	margin-right: 8px;
}
.upload-info {
	color: #6c757d;
	font-size: 14px;
	margin: 0 !important;
}
.image-preview-container {
	width: 100%;
	text-align: center;
}
#imageCanvas {
	width: 600px;
	height: 450px;
	border-radius: 4px;
	display: block;
	margin: 0 auto;
	background: #808080;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	z-index: 10;
}
#imageCanvas:active {
	cursor: grabbing;
}
.image-info {
	margin-top: 15px;
	margin-bottom: 15px;
	font-size: 14px;
	color: #6c757d;
}
.upload-another-btn {
	margin-top: 15px;
}
.controls-section {
	margin-bottom: 30px;
}
.resize-controls {
	margin-top: 10px;
	margin-bottom: 15px;
}
.resize-controls .form-group {
	margin-bottom: 10px;
}
.resize-controls label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #495057;
}
.resize-controls input[type="number"],
.resize-controls input[type="range"] {
	width: 100%;
	padding: 8px;
	border: 2px solid #dee2e6;
	border-radius: 4px;
	font-size: 14px;
}
.resize-controls input[type="number"]:focus,
.resize-controls input[type="range"]:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: none;
}
#zoomSlider:focus {
	outline: none;
	box-shadow: none;
}
.resize-controls input[type="checkbox"] {
	margin-right: 8px;
}
#zoomSlider {
	width: 100%;
	border: none;
	box-shadow: none;
}
#zoomValue {
	display: inline-block;
	margin-left: 10px;
	font-weight: 600;
	color: #007bff;
}
.filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 8px;
	margin-top: 15px;
}
.filter-btn {
	padding: 0;
	border: 2px solid #dee2e6;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
}
.filter-btn:hover {
	border-color: #007bff;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}
.filter-btn.active {
	border-color: #007bff;
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}
.filter-thumbnail {
	width: 100%;
	height: auto;
	display: block;
	background: #f8f9fa;
}
.filter-label {
	font-size: 12px;
	font-weight: normal;
	line-height: 1.2;
	color: #495057;
	padding: 2px 4px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.filter-btn.active .filter-label {
	color: #007bff;
}
.social-platforms {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 12px;
	margin-bottom: 15px;
}
.platform-group {
	background: #fff;
	padding: 10px;
	border-radius: 4px;
	border: 1px solid #dee2e6;
}
.platform-group h4 {
	font-size: 15px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 8px;
	color: #212529;
	border-bottom: 2px solid #007bff;
	padding-bottom: 6px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.btn-select-all {
	font-size: 10px;
	padding: 3px 8px;
	border: 1px solid #007bff;
	background: #fff;
	color: #007bff;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.2s;
	font-weight: 500;
	margin-left: 8px;
}
.btn-select-all:hover {
	background: #007bff;
	color: #fff;
}
.btn-select-all:active {
	transform: scale(0.95);
}
.platform-sizes {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.platform-sizes label {
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: normal;
	color: #495057;
	cursor: pointer;
	padding: 0;
	margin-bottom: 0;
	border-radius: 3px;
	transition: background-color 0.2s;
}
.platform-sizes label:hover {
	background-color: #f8f9fa;
}
.platform-sizes input[type="checkbox"] {
	margin-right: 6px;
	cursor: pointer;
}
.download-section {
	text-align: center;
	margin-top: 15px;
	padding-top: 12px;
}
.download-section .btn i {
	margin-right: 8px;
}
@media (max-width: 992px) {
	.social-platforms {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
	
	.filter-grid {
		grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
		gap: 6px;
	}
	
	#imageCanvas {
		width: 100%;
		max-width: 800px;
		height: auto;
		aspect-ratio: 4 / 3;
	}
}
@media (max-width: 768px) {
	.image-resizer-container {
		padding: 10px;
	}
	
	.upload-area {
		padding: 20px;
		min-height: 150px;
	}
	
	#imageCanvas {
		width: 100%;
		max-width: 800px;
		height: auto;
		aspect-ratio: 4 / 3;
	}
	
	.social-platforms {
		grid-template-columns: 1fr;
	}
	
	.filter-grid {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
		gap: 6px;
	}
	
	.filter-btn {
		min-height: auto;
		padding: 0;
	}
	
	.filter-thumbnail {
		max-width: 100%;
	}
	
	.filter-label {
		font-size: 8px;
		padding: 1px 2px;
	}
	
	.download-section .btn {
		display: block;
		width: 100%;
		margin: 10px 0;
	}
}
