.upd-pdf-xml-dropzone {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upd-pdf-xml-notice {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.875rem;
}

.upd-pdf-xml-notice.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.upd-pdf-xml-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 220px;
    color: #047857;
    font-weight: 500;
}

.upd-pdf-xml-processing__text {
    margin: 0;
    font-size: 1.0625rem;
    text-align: center;
}

.upd-pdf-xml-result {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

.upd-pdf-xml-result-single,
.upd-pdf-xml-result-batch {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.upd-pdf-xml-result-single__title,
.upd-pdf-xml-result-batch__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.upd-pdf-xml-result-single__file {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    color: #64748b;
    word-break: break-word;
}

.upd-pdf-xml-result-batch__summary {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.upd-pdf-xml-download-all {
    margin: 0 0 1.25rem;
}

.upd-pdf-xml-result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.upd-pdf-xml-result-actions--center {
    margin-top: 1.25rem;
}

.upd-pdf-xml-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.upd-pdf-xml-btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.34);
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
}

.upd-pdf-xml-btn-download--item {
    min-width: 160px;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2);
}

.upd-pdf-xml-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.875rem 1.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    background: #fff;
    color: #334155;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.upd-pdf-xml-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.upd-pdf-xml-result-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.upd-pdf-xml-result-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    background: #f8fafc;
}

.upd-pdf-xml-result-item__info {
    flex: 1 1 200px;
    min-width: 0;
}

.upd-pdf-xml-result-item__source {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
    word-break: break-word;
}

.upd-pdf-xml-result-item__name {
    margin: 0.125rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

.upd-pdf-xml-result-item.is-error {
    border-color: #fecaca;
    background: #fef2f2;
}

.upd-pdf-xml-result-item__error {
    margin: 0;
    font-size: 0.875rem;
    color: #b91c1c;
}

.upd-pdf-xml-tool .upd-dropzone.is-drag-over {
    border-color: #34d3a8;
    background: #f0fdf9;
}

.upd-pdf-xml-support-cta {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.875rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.upd-pdf-xml-support-cta__text {
    margin: 0;
    font-size: 0.9375rem;
    color: #1e3a8a;
}

.upd-pdf-xml-support-cta__btn {
    border: none;
    border-radius: 0.625rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    cursor: pointer;
    transition: background 0.15s ease;
}

.upd-pdf-xml-support-cta__btn:hover {
    background: #1d4ed8;
}
