.io-frontend-container {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: #080808;
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 12px 40px rgba(0,0,0,0.8);
	border: 1px solid rgba(255,255,255,0.06);
	max-width: 700px;
	margin: 0 auto;
	color: #f5f5f7;
}

.io-header {
	text-align: center;
	margin-bottom: 2rem;
}

.io-title {
	font-size: 1.8rem;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, #ff2d55 0%, #ff5e62 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.5px;
}

.io-desc {
	font-size: 1rem;
	color: #888888;
	line-height: 1.5;
}

.io-dropzone {
	border: 2px dashed rgba(255,255,255,0.15);
	border-radius: 12px;
	padding: 4rem 2rem;
	text-align: center;
	background: rgba(255,255,255,0.02);
	transition: all 0.3s ease;
	cursor: default;
}

.io-dropzone.io-dragover {
	border-color: #ff2d55;
	background: rgba(255,45,85,0.05);
	transform: scale(1.02);
}

.io-upload-icon {
	width: 64px;
	height: 64px;
	color: rgba(255,45,85,0.8);
	margin-bottom: 1rem;
	transition: transform 0.3s ease;
}

.io-dropzone:hover .io-upload-icon {
	transform: translateY(-5px);
}

.io-dropzone-text {
	font-size: 1.25rem;
	font-weight: 600;
	color: #dddddd;
	margin-bottom: 0.25rem;
}

.io-browse-link {
	color: #ff2d55;
	text-decoration: underline;
	cursor: pointer;
}

.io-browse-link:hover {
	color: #ff5e62;
}

.io-dropzone-sub {
	font-size: 0.875rem;
	color: #71717a;
}

.io-hidden {
	display: none !important;
}

.io-status-board {
	margin-top: 2rem;
	animation: slideUp 0.5s ease;
}

@keyframes slideUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.io-progress-section {
	margin-bottom: 1.5rem;
}

.io-progress-bar-bg {
	background: rgba(255,255,255,0.1);
	height: 8px;
	border-radius: 99px;
	overflow: hidden;
}

.io-progress-bar-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #ff2d55, #ff5e62);
	border-radius: 99px;
	transition: width 0.3s ease;
}

.io-progress-text {
	display: flex;
	justify-content: space-between;
	font-size: 0.875rem;
	font-weight: 500;
	color: #888888;
	margin-top: 0.5rem;
}

.io-stats-summary {
	display: flex;
	justify-content: space-between;
	background: rgba(255,255,255,0.03);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(255,255,255,0.06);
}

.io-stat-item {
	text-align: center;
	flex: 1;
}

.io-stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: #f5f5f7;
}

.io-stat-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #71717a;
	font-weight: 600;
	margin-top: 0.25rem;
}

.io-accent-stat .io-stat-number {
	color: #ff2d55;
	text-shadow: 0 0 10px rgba(255,45,85,0.3);
}

.io-btn-download {
	width: 100%;
	padding: 1rem;
	border-radius: 8px;
	border: none;
	background: linear-gradient(135deg, #ff2d55 0%, #ff5e62 100%);
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 25px rgba(255, 45, 85, 0.3);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.io-btn-download:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(255, 45, 85, 0.4);
}

.io-btn-download:disabled {
	background: #444444;
	background-image: none;
	box-shadow: none;
	color: #888888;
	cursor: not-allowed;
	transform: none;
}

.io-btn-refresh {
	width: 100%;
	padding: 1rem;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.1);
	background: rgba(255,255,255,0.05);
	color: #dddddd;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	margin-top: 1rem;
	transition: all 0.2s ease;
}

.io-btn-refresh:hover:not(:disabled) {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.2);
	color: #ffffff;
}

.io-btn-refresh:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.io-preview-list {
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.io-preview-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: rgba(255,255,255,0.02);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 10px;
	transition: all 0.2s ease;
}

.io-preview-item:hover {
	border-color: rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.04);
}

.io-preview-left {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.io-preview-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	background: rgba(0,0,0,0.4);
	border: 1px solid rgba(255,255,255,0.1);
}

.io-preview-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	text-align: left;
}

.io-preview-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: #f5f5f7;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
}

.io-preview-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.io-badge {
	font-size: 0.65rem;
	font-weight: 800;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	background: rgba(255,45,85,0.15);
	color: #ff2d55;
	border: 1px solid rgba(255,45,85,0.3);
}

.io-badge-png { background: rgba(2, 132, 199, 0.15); color: #38bdf8; border-color: rgba(2, 132, 199, 0.3); }
.io-badge-webp { background: rgba(22, 101, 52, 0.15); color: #4ade80; border-color: rgba(22, 101, 52, 0.3); }
.io-badge-jpg, .io-badge-jpeg { background: rgba(133, 77, 14, 0.15); color: #facc15; border-color: rgba(133, 77, 14, 0.3); }

.io-orig-size {
	font-size: 0.8rem;
	color: #71717a;
}

.io-preview-right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.io-preview-savings {
	text-align: right;
}

.io-pct {
	font-size: 0.95rem;
	font-weight: 700;
	color: #f5f5f7;
}

.io-comp-size {
	font-size: 0.8rem;
	color: #71717a;
	margin-top: 2px;
}

.io-btn-individual {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 0.75rem;
	background: rgba(255,255,255,0.05);
	color: #f5f5f7;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	border: 1px solid rgba(255,255,255,0.1);
}

.io-btn-individual:hover {
	background: rgba(255,255,255,0.1);
	color: #ffffff;
}
