.nb-pdf-component {
    border-radius: var(--base-border-radius);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}


.nb-pdf-viewer {
    background: #e9e9e9;
    border: 1px solid #cfcfcf;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nb-pdf-stage {
    width: 100%;
    overflow: auto;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: #e9e9e9;
}

#pdf-canvas {
    display: block;
    background: #fff;
    border: 0;
    box-shadow: none;
}

.nb-pdf-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 14px;
    background: #6f6f6f;
    border-top: 1px solid #5c5c5c;
    color: #fff;
    flex-wrap: wrap;
}

.nb-pdf-toolbar-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nb-pdf-toolbar button {
    width: 34px;
    height: 34px;
    border: 1px solid #8b8b8b;
    background: #8a8a8a;
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nb-pdf-toolbar button:hover {
    background: #979797;
}

.nb-pdf-toolbar button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.nb-pdf-toolbar button i {
    font-size: 14px;
    pointer-events: none;
}

.nb-pdf-toolbar button:hover {
    background: #979797;
}

.nb-pdf-toolbar-text {
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nb-pdf-stage {
        height: 70vh;
        padding: 16px 12px;
    }

    .nb-pdf-toolbar {
        justify-content: center;
    }
}

.nb-pdf-bottom-text,
.nb-pdf-top-text {
    padding:15px;
}