.dwc-root {
    --dwc-accent-color: currentColor;
    --dwc-button-bg: ButtonFace;
    --dwc-button-color: ButtonText;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    color: var(--dwc-accent-color);
}

.dwc-root *,
.dwc-root *::before,
.dwc-root *::after {
    box-sizing: border-box;
}

.dwc-inner {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.dwc-dropzone {
    width: 100%;
    min-height: 120px;
    border: 2px dashed var(--dwc-accent-color);
    color: var(--dwc-accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: opacity 160ms ease, transform 160ms ease;
}

.dwc-dropzone:focus {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.dwc-dropzone.dwc-is-dragover {
    opacity: 0.85;
    transform: scale(1.01);
}

.dwc-dropzone-text {
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.25;
}

.dwc-extra-label {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 10px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--dwc-accent-color);
    cursor: pointer;
}

.dwc-extra-checkbox {
    margin-top: 2px;
    flex: 0 0 auto;
}

.dwc-extra-text {
    text-align: left;
}

.dwc-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px auto 0;
    width: 100%;
}

.dwc-upload-button,
.dwc-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 6px;
    background: var(--dwc-button-bg);
    color: var(--dwc-button-color);
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
}

.dwc-upload-button:hover,
.dwc-reset-button:hover {
    opacity: 0.9;
}

.dwc-upload-button:focus,
.dwc-reset-button:focus {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.dwc-upload-icon,
.dwc-reset-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 18px;
}

.dwc-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;
}

.dwc-status {
    margin: 12px auto 0;
    min-height: 1.2em;
    font-size: 0.95rem;
    color: var(--dwc-accent-color);
}

.dwc-status.dwc-status-error {
    color: #b00020;
}

.dwc-status.dwc-status-success {
    color: #137333;
}

.dwc-file-name {
    margin: 10px auto 0;
    max-width: 350px;
    overflow-wrap: anywhere;
    color: var(--dwc-accent-color);
}

.dwc-results {
    width: 100%;
    max-width: 350px;
    margin: 14px auto 0;
    padding: 12px 14px;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.dwc-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #efefef;
}

.dwc-result-row:last-child {
    border-bottom: 0;
}

.dwc-result-label {
    font-weight: 400;
}

.dwc-result-value {
    font-weight: 700;
    text-align: right;
}
