.card {
	max-width: 650px;
	width: 100%;
	margin: 0 auto
}

.header {
	background: #1e2a3e;
	color: white;
	padding: 1.6rem 2rem;
	text-align: center;
}

.header h1 {
	margin: 0;
	font-weight: 600;
	font-size: 1.8rem;
	letter-spacing: -0.3px;
}

.header p {
	margin: 0.5rem 0 0;
	opacity: 0.8;
	font-size: 0.9rem;
}

.content {
	padding: 2rem 1.8rem;
}

.drop-zone {
	background: #f8fafc;
	border: 2px dashed #b9d0e3;
	border-radius: 32px;
	padding: 2rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.25s;
	margin-bottom: 1.8rem;
}

.drop-zone:hover {
	border-color: #3b82f6;
	background: #eff6ff;
}

.drop-zone.drag-over {
	border-color: #2563eb;
	background: #e0f2fe;
	transform: scale(0.98);
}

.file-icon {
	font-size: 48px;
	margin-bottom: 12px;
}

.drop-zone p {
	margin: 8px 0;
	color: #334155;
}

.file-info {
	background: #f1f5f9;
	border-radius: 28px;
	padding: 0.8rem 1.2rem;
	margin: 1.2rem 0;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.file-name {
	font-weight: 500;
	color: #0f172a;
	word-break: break-all;
	font-size: 0.9rem;
	flex: 1;
}

.remove-file {
	background: #e2e8f0;
	border: none;
	border-radius: 40px;
	width: 32px;
	height: 32px;
	font-size: 1.2rem;
	font-weight: bold;
	cursor: pointer;
	color: #1e293b;
	transition: 0.2s;
}

.remove-file:hover {
	background: #cbd5e1;
	color: #b91c1c;
}

.format-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f9f9fb;
	padding: 0.6rem 1.2rem;
	border-radius: 48px;
	margin: 1rem 0 1.5rem;
	gap: 10px;
	flex-wrap: wrap;
}

.format-label {
	font-weight: 500;
	color: #0c4a6e;
}

.format-buttons {
	display: flex;
	gap: 12px;
}

.format-btn {
	background: #eef2ff;
	border: none;
	padding: 6px 18px;
	border-radius: 40px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.2s;
	color: #1e3a8a;
}

.format-btn.active {
	background: #3b82f6;
	color: white;
	box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}

.bitrate-note {
	font-size: 0.75rem;
	color: #475569;
	text-align: right;
	margin-top: 4px;
}

.extract-btn {
	width: 100%;
	background: #0f172a;
	color: white;
	border: none;
	padding: 14px 20px;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 60px;
	cursor: pointer;
	transition: 0.2s;
	margin: 0.75rem 0 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.extract-btn:not(:disabled):hover {
	background: #1e293b;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.extract-btn:disabled {
	background: #94a3b8;
	cursor: not-allowed;
	opacity: 0.7;
}

.progress-section {
	margin: 1.5rem 0 1rem;
}

.progress-bar {
	width: 100%;
	height: 8px;
	background: #e2e8f0;
	border-radius: 20px;
	overflow: hidden;
}

.progress-fill {
	width: 0%;
	height: 100%;
	background: #3b82f6;
	transition: width 0.2s linear;
}

.status-text {
	font-size: 0.85rem;
	color: #334155;
	margin-top: 8px;
	text-align: center;
}

.download-area {
	margin-top: 20px;
	text-align: center;
}

.download-btn {
	background: #10b981;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 48px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.download-btn:hover {
	background: #059669;
	transform: scale(1.02);
}

.error-msg {
	background: #fee2e2;
	color: #991b1b;
	padding: 10px 16px;
	border-radius: 28px;
	font-size: 0.85rem;
	margin-top: 12px;
	text-align: center;
}

footer {
	font-size: 0.7rem;
	text-align: center;
	padding: 1rem;
	color: #5b6e8c;
	border-top: 1px solid #e9edf2;
	background: #fefefe;
}

@media (max-width: 500px) {
	.content {
		padding: 1.5rem;
	}

	.format-buttons {
		gap: 6px;
	}

	.format-btn {
		padding: 4px 12px;
		font-size: 0.8rem;
	}
}