* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #525659;
}

/* Toolbar superiore */
.pdf-toolbar {
    height: 56px;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 10;
}

.pdf-toolbar .logo-container img {
    max-height: 36px;
    width: auto;
    display: block;
}

.pdf-toolbar .pdf-title {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 15px;
    color: #000000;
}

.pdf-toolbar .cta-button {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.pdf-toolbar .cta-button:hover {
    background-color: #333333;
}

.pdf-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-toolbar .open-pdf-link {
    color: #333333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #cccccc;
    padding: 7px 14px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.pdf-toolbar .open-pdf-link:hover {
    background-color: #f0f0f0;
}

/* Breadcrumb */
.pdf-breadcrumb {
    height: 32px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 12px;
    color: #555555;
    white-space: nowrap;
    overflow: hidden;
}

.pdf-breadcrumb a {
    color: #555555;
    text-decoration: none;
}

.pdf-breadcrumb a:hover {
    text-decoration: underline;
}

.pdf-breadcrumb-separator {
    margin: 0 8px;
    color: #999999;
}

.pdf-breadcrumb-current {
    color: #000000;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contenitore PDF Iframe */
.pdf-viewer-frame {
    width: 100%;
    height: calc(100vh - 56px - 32px);
    border: none;
    display: block;
}

