.pdf-upload-block {
    grid-column: 1/-1;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    background: #fafcff;
    padding: 15px
}

.pdf-upload-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px
}

.pdf-upload-title>span {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #ebf3ff;
    color: #2f6fed;
    font-size: 15px
}

.pdf-upload-title b {
    display: block;
    color: #33435d;
    font-size: 11px
}

.pdf-upload-title small {
    display: block;
    color: #7c899c;
    font-size: 9px;
    margin-top: 2px
}

.pdf-file-control {
    display: flex;
    align-items: center;
    gap: 10px
}

.pdf-file-control input {
    max-width: 100%;
    font-size: 10px !important;
    padding: 7px !important
}

.pdf-file-control input::file-selector-button {
    margin-right: 9px;
    border: 0;
    border-radius: 6px;
    background: #e9f1ff;
    color: #2f6fed;
    padding: 6px 8px;
    font: 700 9px Manrope, sans-serif;
    cursor: pointer
}

.pdf-current {
    font-size: 10px;
    color: #5d6e87;
    margin: 10px 0 0
}

.pdf-current b {
    color: #2f6fed
}

.pdf-modal-preview {
    grid-column: 1/-1;
    overflow: hidden;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    background: #f8fafc
}

.pdf-modal-preview header,
.terms-pdf-panel header {
    padding: 11px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6ebf3
}

.pdf-modal-preview header b,
.terms-pdf-panel header b {
    font-size: 10px;
    color: #40516b
}

.pdf-frame {
    display: block;
    width: 100%;
    height: 310px;
    border: 0;
    background: #f1f4f8
}

.terms-pdf-panel {
    margin-top: 17px;
    overflow: hidden
}

.terms-pdf-panel header {
    padding: 15px 18px
}

.terms-pdf-frame {
    height: 530px
}

.terms-pdf-empty {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #6e7d92
}

.terms-pdf-empty>span {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #edf4ff;
    color: #2f6fed;
    font-size: 17px
}

.terms-pdf-empty b {
    display: block;
    font-size: 11px;
    margin-bottom: 4px
}

.terms-pdf-empty p {
    font-size: 10px;
    margin: 0;
    color: #8995a6
}

.term-pdf-button {
    margin-left: 8px
}

.preview-link {
    font-size: 9px
}

@media(max-width:760px) {
    .pdf-file-control {
        display: block
    }

    .pdf-file-control input {
        width: 100%
    }

    .pdf-modal-preview .pdf-frame {
        height: 235px
    }

    .terms-pdf-frame {
        height: 390px
    }

    .terms-pdf-empty {
        padding: 20px;
        min-height: 135px
    }

    .terms-pdf-empty p {
        line-height: 1.5
    }

    .term-pdf-button {
        margin: 5px 0 0;
        display: block
    }
}