.pau-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    font-family: inherit;
}

.pau-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.pau-field {
    margin-bottom: 15px;
}

.pau-field input,
.pau-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d5d5d5;
    background: #fff;
    padding: 13px 15px;
    font-size: 16px;
    color: #333;
    border-radius: 3px;
    outline: none;
}

.pau-field input:focus,
.pau-field textarea:focus {
    border-color: #1aa4d8;
}

.pau-field textarea {
    resize: vertical;
    min-height: 190px;
}

/* Helper text under the Google Drive / Dropbox link field */
.pau-field-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

.pau-upload-field {
    margin-bottom: 40px;
}

.pau-upload-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: #111;
}

.pau-dropzone {
    border: 2px dashed #ccd3dc;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all .2s ease;
    background: #fff;
}

.pau-dropzone:hover,
.pau-dropzone.is-dragging {
    border-color: #0aa4d8;
    background: #f5fcff;
}

.pau-dropzone:focus {
    outline: 2px solid #0aa4d8;
    outline-offset: 3px;
}

.pau-upload-icon {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    background: #8d98a8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
}

.pau-upload-text {
    color: #4c6478;
    font-size: 14px;
}

.pau-upload-subtext {
    color: #8b9299;
    font-size: 12px;
    margin-top: 5px;
}

.pau-file-list {
    margin-top: 12px;
}

.pau-file-item {
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #e3e8ec;
    border-radius: 8px;
    background: #fff;
}

.pau-file-item.is-complete {
    border-color: #b7e0c8;
    background: #f6fcf8;
}

.pau-file-item.is-failed {
    border-color: #f1b5b5;
    background: #fff7f7;
}

.pau-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.pau-file-name {
    font-size: 14px;
    font-weight: 500;
    word-break: break-word;
}

.pau-file-remove {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e8edf1;
    color: #555;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
}

.pau-file-remove:hover {
    background: #f1b5b5;
    color: #c62828;
}

.pau-progress-bar {
    height: 8px;
    background: #e8edf1;
    border-radius: 20px;
    overflow: hidden;
}

.pau-progress-fill {
    width: 0;
    height: 100%;
    background: #08a3d8;
    transition: width .2s ease;
}

.pau-progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: #777;
}

.pau-file-result {
    margin-top: 8px;
    font-size: 13px;
}

.pau-success {
    color: #198754;
}

.pau-error {
    color: #c62828;
}

.pau-form-message {
    margin: 20px 0;
    font-size: 15px;
}

.pau-submit {
    display: block;
    margin: 20px auto 0;
    background: #08a3d8;
    color: #fff;
    border: 0;
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.pau-submit:hover {
    background: #078fbd;
}

.pau-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/*
 * Hide Uploadcare's actual visual uploader.
 * We use our own design above.
 */
.pau-hidden-uploader {
    display: none !important;
}

@media (max-width: 767px) {

    .pau-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pau-right {
        order: -1;
    }

    .pau-field textarea {
        min-height: 150px;
    }

    .pau-submit {
        width: 100%;
    }
}
