.pcd-field {
    margin-bottom: 0;
}

.pcd-field__label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.pcd-field__hint {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    color: #6c757d;
}

.pcd-drop {
    border: 2px dashed #ced4da;
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.pcd-drop:hover,
.pcd-drop.is-dragover {
    border-color: #0d6efd;
    background: #eef5ff;
}

.pcd-drop.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.pcd-drop.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.pcd-drop.has-files {
    border-style: solid;
    border-color: #198754;
    background: #f3fff8;
}

.pcd-drop__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    font-size: 1.25rem;
}

.pcd-drop__title {
    display: block;
    font-weight: 600;
    color: #212529;
}

.pcd-drop__hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: #6c757d;
}

.pcd-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.pcd-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #fff;
    margin-bottom: 0.5rem;
}

.pcd-list__name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.875rem;
}

.pcd-list__name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcd-list__remove {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #dc3545;
    padding: 0.15rem 0.35rem;
    line-height: 1;
}

.pcd-prev {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #f8f9fa;
}

.pcd-prev__label {
    display: block;
    font-size: 0.8125rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.pcd-prev__links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.pcd-prev__link {
    font-size: 0.875rem;
    word-break: break-all;
}

.pcd-prev__reuse {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    cursor: pointer;
}

.pcd-field-error {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #dc3545;
}
