.container {
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
}

.header {
	background: linear-gradient(135deg, #4a6ee0 0%, #2d55cc 100%);
	color: white;
	padding: 25px;
	text-align: center;
}

.header h1 {
	font-size: 28px;
	margin-bottom: 8px;
}

.header p {
	opacity: 0.9;
	font-size: 16px;
}

.content {
	padding: 30px;
}

.upload-area {
	border: 2px dashed #4a6ee0;
	border-radius: 8px;
	padding: 40px 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
	margin-bottom: 25px;
	background: #f8faff;
}

.upload-area:hover {
	background: #eef2ff;
}

.upload-icon {
	font-size: 48px;
	color: #4a6ee0;
	margin-bottom: 15px;
}

.upload-text {
	font-size: 18px;
	color: #4a6ee0;
	margin-bottom: 10px;
}

.upload-hint {
	color: #777;
	font-size: 14px;
}

.file-input {
	display: none;
}

.compression-options {
	background: #f8faff;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 25px;
}

.option-title {
	font-size: 18px;
	margin-bottom: 15px;
	color: #333;
	font-weight: 600;
}

.slider-container {
	margin-bottom: 20px;
}

.slider-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-weight: 500;
}

.slider-value {
	color: #4a6ee0;
	font-weight: 600;
}

.slider {
	width: 100%;
	height: 8px;
	-webkit-appearance: none;
	background: linear-gradient(to right, #e0e0e0, #4a6ee0);
	border-radius: 4px;
	outline: none;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #4a6ee0;
	cursor: pointer;
	border: 3px solid white;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.compression-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 20px;
}

.feature {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
	background: white;
	border-radius: 6px;
	border: solid 1px #4a6ee0;
	border-left: 4px solid #4a6ee0;
	font-size: 14px;
}

.feature-icon {
	font-size: 16px;
	color: #4a6ee0;
}

.action-buttons {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}

.btn {
	flex: 1;
	padding: 16px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.btn-primary {
	background: linear-gradient(135deg, #4a6ee0 0%, #2d55cc 100%);
	color: white;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(74, 110, 224, 0.3);
}

.btn-secondary {
	background: #f0f0f0;
	color: #333;
}

.btn-secondary:hover {
	background: #e0e0e0;
}

.btn:disabled {
	background: #cccccc;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.result-area {
	margin-top: 30px;
	display: none;
}

.result-title {
	font-size: 20px;
	margin-bottom: 20px;
	color: #333;
	font-weight: 600;
	text-align: center;
}

.file-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 20px;
}

.file-card {
	background: white;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	border-top: 4px solid #4a6ee0;
}

.file-card.compressed {
	border-top-color: #10b981;
}

.file-card-title {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
}

.file-size {
	font-size: 20px;
	font-weight: 700;
	color: #333;
}

.compression-stats {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: white;
	padding: 25px;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 20px;
}

.stats-value {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 5px;
}

.stats-label {
	font-size: 16px;
	opacity: 0.9;
}

.download-btn {
	display: block;
	width: 100%;
	padding: 18px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: white;
	text-align: center;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 18px;
	border: none;
	cursor: pointer;
	transition: all 0.3s;
}

.download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.loading {
	display: none;
	text-align: center;
	padding: 30px;
}

.progress-container {
	width: 100%;
	background: #e0e0e0;
	border-radius: 10px;
	margin: 20px 0;
	overflow: hidden;
}

.progress-bar {
	width: 0%;
	height: 10px;
	background: linear-gradient(135deg, #4a6ee0 0%, #2d55cc 100%);
	border-radius: 10px;
	transition: width 0.3s ease;
}

.spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: #4a6ee0;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto 15px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.error-message {
	color: #e53e3e;
	text-align: center;
	padding: 15px;
	background: #fed7d7;
	border-radius: 6px;
	margin-top: 15px;
	display: none;
}

.info-message {
	color: #2d55cc;
	text-align: center;
	padding: 15px;
	background: #e1e8ff;
	border-radius: 6px;
	margin-top: 15px;
}

.warning-message {
	color: #d97706;
	text-align: center;
	padding: 15px;
	background: #fef3c7;
	border-radius: 6px;
	margin-top: 15px;
	display: none;
}

.success-message {
	color: #059669;
	text-align: center;
	padding: 15px;
	background: #d1fae5;
	border-radius: 6px;
	margin-top: 15px;
	display: none;
}

.footer {
	text-align: center;
	padding: 20px;
	color: #777;
	font-size: 14px;
	border-top: 1px solid #eee;
}

@media (max-width: 600px) {
	.content {
		padding: 20px;
	}

	.action-buttons {
		flex-direction: column;
	}

	.compression-features {
		grid-template-columns: 1fr;
	}

	.file-info {
		grid-template-columns: 1fr;
	}
}