.wcpap-fields {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e2e4e7;
    background: #fafafa;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wcpap-fields h3 {
    margin-top: 0;
}

.wcpap-field {
    flex: 1 1 100%;
}

.wcpap-col-half {
    flex: 1 1 calc(50% - 16px);
    min-width: 160px;
}

.wcpap-col-full {
    flex: 1 1 100%;
}

.wcpap-heading {
    margin: 12px 0 6px;
}

.wcpap-textblock {
    margin: 6px 0;
    color: #333;
}

.wcpap-separator {
    border: 0;
    border-top: 1px solid #e2e4e7;
    margin: 12px 0;
}

.wcpap-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.wcpap-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background: #e2e4e7;
    color: #333;
    font-size: 11px;
    cursor: help;
    position: relative;
}

.wcpap-info::after {
    content: attr(data-info);
    position: absolute;
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.wcpap-info:hover::after {
    opacity: 1;
}

.wcpap-field input[type="text"],
.wcpap-field textarea {
    width: 100%;
    max-width: 520px;
}

.wcpap-field .wcpap-datetime,
.wcpap-field .flatpickr-input {
    background: #fff;
}

.wcpap-upload {
    border: 1px dashed #b5b5b5;
    padding: 12px;
    background: #fff;
}

.wcpap-upload-notice {
    background: #fff8e5;
    border: 1px solid #f0c36d;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

.wcpap-dropzone {
    padding: 20px;
    text-align: center;
    background: #f1f1f1;
    cursor: pointer;
    margin-bottom: 10px;
}

.wcpap-dropzone.is-dragover {
    background: #dff0ff;
}

.wcpap-upload-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wcpap-upload-item {
    border: 1px solid #e2e4e7;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.wcpap-upload-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.wcpap-upload-item.is-uploading {
    min-width: 140px;
}

.wcpap-progress {
    width: 120px;
    height: 8px;
    background: #e2e4e7;
    border-radius: 4px;
    overflow: hidden;
}

.wcpap-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: #2271b1;
    transition: width 0.2s ease;
}

.wcpap-progress-text {
    font-size: 12px;
    color: #444;
}

.wcpap-upload-item button {
    background: #b32d2e;
    color: #fff;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}

.wcpap-upload .wcpap-file-input {
    display: none;
}
