/* General Body Styles */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	background-color: #f1f5f9;
	color: #334155;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 1rem;
	box-sizing: border-box;
}

/* Main container for the converter */
.converter-card {
	width: 100%;
	max-width: 32rem;
	background-color: #ffffff;
	border-radius: 0.75rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	padding: 2rem;
	box-sizing: border-box;
}

/* Spacing between direct children of the card */
.converter-card > * + * {
	margin-top: 1.5rem;
}

/* Header Styles */
.card-header {
	text-align: center;
}

.card-header h1 {
	font-size: 1.875rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

.card-header p {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #64748b;
}

/* File Upload Area */
.file-drop-zone {
	margin-top: 0.25rem;
	display: flex;
	justify-content: center;
	padding: 1.25rem 1.5rem;
	border: 2px dashed #cbd5e1;
	border-radius: 0.375rem;
	text-align: center;
}

.file-drop-zone svg {
	margin: 0 auto;
	height: 3rem;
	width: 3rem;
	color: #94a3b8;
}

.file-drop-zone .upload-text {
	font-size: 0.875rem;
	color: #475569;
}

.file-drop-zone .file-input-button {
	cursor: pointer;
	color: #0ea5e9;
	font-weight: 500;
	text-decoration: none;
}

.file-drop-zone .file-input-button:hover {
	text-decoration: underline;
}

.file-drop-zone .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

#file-name {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 0.25rem;
}

/* Button Styles */
.btn {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 0.75rem 1rem;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	font-size: 0.875rem;
	font-weight: 500;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
}

.btn:focus {
	outline: 2px solid transparent;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #38bdf8;
}

.btn-process {
	background-color: #0284c7;
}
.btn-process:hover {
	background-color: #0369a1;
}
.btn:disabled {
	background-color: #94a3b8;
	cursor: not-allowed;
}

.btn-download {
	background-color: #059669;
}
.btn-download:hover {
	background-color: #047857;
}

/* Status Text */
#status {
	text-align: center;
	font-size: 0.875rem;
	color: #64748b;
}

/* Utility Class */
.hidden {
	display: none;
}