.ps-quote-accept-form,
.ps-quote-files__upload {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border: 1px solid #cbeaf6;
    border-radius: 8px;
    background: #f7fcff;
    box-sizing: border-box;
}

.ps-quote-files {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #d7eef7;
}

.ps-quote-files__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ps-quote-files__heading h2,
.ps-quote-files__heading span {
    margin: 0;
}

.ps-quote-files__heading > strong {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
    background: #009fe3;
    color: #fff;
}

.ps-quote-files__field,
.ps-quote-files__note,
.ps-quote-files__upload label {
    display: grid;
    gap: 7px;
}

.ps-quote-files__field label span,
.ps-quote-files__upload label span,
.ps-quote-files__note span,
.ps-quote-files__field small,
.ps-quote-files__upload > small {
    color: #60717a;
    font-size: .88rem;
}

.ps-quote-files input[type="file"],
.ps-quote-accept-form input[type="file"],
.ps-quote-files textarea,
.ps-quote-accept-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #b9dce9;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.ps-quote-files__list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.ps-quote-files__list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #d7eef7;
    border-radius: 8px;
    background: #fff;
}

.ps-quote-files__list li > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ps-quote-files__list a {
    overflow-wrap: anywhere;
}

.ps-quote-files__list span,
.ps-quote-files__list small,
.ps-quote-files__empty {
    color: #60717a;
    font-size: .88rem;
}

.ps-quote-files__status {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e7f7ed;
    color: #17723b !important;
    font-weight: 700;
}

.ps-quote-files__notice {
    padding: 10px 12px;
    border-radius: 6px;
}

.ps-quote-files__notice--success {
    background: #e7f7ed;
    color: #176b38;
}

.ps-quote-files__notice--error {
    background: #fff0f3;
    color: #a0193d;
}

.ps-quote-files__upload .ps-quote-button,
.ps-quote-accept-form .ps-quote-button {
    justify-self: start;
}

@media (max-width: 640px) {
    .ps-quote-files__list li {
        align-items: stretch;
        flex-direction: column;
    }

    .ps-quote-files__status {
        align-self: flex-start;
    }
}
