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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}

.pdf-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 48px;
    background: #1e2d3d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.pdf-topbar-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-topbar-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.pdf-topbar-actions a {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background .2s;
}

.pdf-topbar-actions a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.pdf-frame {
    position: fixed;
    top: 48px; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: calc(100vh - 48px);
    border: none;
}

.pdf-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 48px);
    margin-top: 48px;
    color: #6b7280;
    font-size: 18px;
}
