.ppwc-tool {
	--ppwc-color: #333333;
	--ppwc-button-bg: ;
	--ppwc-button-color: #ffffff;
	box-sizing: border-box;
	width: 100%;
	text-align: center;
}

.ppwc-tool *,
.ppwc-tool *::before,
.ppwc-tool *::after {
	box-sizing: border-box;
}

.ppwc-tool__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.ppwc-tool__dropzone {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 350px;
	max-width: 100%;
	min-height: 120px;
	padding: 18px;
	border: 2px dashed var(--ppwc-color, #333333);
	border-radius: 12px;
	color: var(--ppwc-color, #333333);
	background: transparent;
	cursor: pointer;
	transition: opacity 160ms ease, border-style 160ms ease, transform 160ms ease;
}

.ppwc-tool__dropzone:focus,
.ppwc-tool__dropzone:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.ppwc-tool__dropzone.ppwc-tool__dropzone--dragover {
	border-style: solid;
	opacity: 0.85;
	transform: scale(1.01);
}

.ppwc-tool__drop-text {
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ppwc-color, #333333);
}

.ppwc-tool__notes-option {
	width: 350px;
	max-width: 100%;
	margin: 12px auto 0;
	text-align: left;
	color: var(--ppwc-color, #333333);
}

.ppwc-tool__notes-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	color: var(--ppwc-color, #333333);
}

.ppwc-tool__notes-checkbox {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}

.ppwc-tool__notes-text {
	color: var(--ppwc-color, #333333);
}

.ppwc-tool__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 350px;
	max-width: 100%;
	margin: 14px auto 0;
}

.ppwc-tool__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--ppwc-button-bg, buttonface);
	color: var(--ppwc-button-color, buttontext);
	font: inherit;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 160ms ease;
}

.ppwc-tool__button:hover,
.ppwc-tool__button:focus {
	opacity: 0.9;
}

.ppwc-tool__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ppwc-tool__button-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	color: inherit;
	flex: 0 0 auto;
}

.ppwc-tool__button-text {
	color: inherit;
}

.ppwc-tool__file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ppwc-tool__filename {
	width: 350px;
	max-width: 100%;
	min-height: 1.5em;
	margin: 12px auto 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--ppwc-color, #333333);
	word-break: break-word;
}

.ppwc-tool__message {
	width: 350px;
	max-width: 100%;
	min-height: 1.5em;
	margin: 6px auto 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--ppwc-color, #333333);
	word-break: break-word;
}

.ppwc-tool__message.ppwc-tool__message--error {
	color: #b00020;
}

.ppwc-tool__message.ppwc-tool__message--success {
	color: #137333;
}

.ppwc-tool__results {
	width: 350px;
	max-width: 100%;
	margin: 12px auto 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #ffffff;
	color: #000000;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ppwc-tool__result-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	color: #000000;
}

.ppwc-tool__result-row:last-child {
	border-bottom: 0;
}

.ppwc-tool__result-label {
	font-weight: 400;
	text-align: left;
	color: #000000;
}

.ppwc-tool__result-value {
	font-weight: 700;
	text-align: right;
	color: #000000;
}

@media (max-width: 420px) {
	.ppwc-tool__actions {
		flex-direction: column;
	}

	.ppwc-tool__button {
		width: 100%;
	}
}
