/* public/css/beautiful-pdf-embedder.css */
.beautiful-pdf-embedder {
    border: 3px solid #41484a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
}

#pdf-canvas-container {
    position: relative;
    width: 100%;
    height: calc(100% - 50px);
    cursor: grab;
    overflow: hidden;
    transition: transform 0.3s ease;
}

#pdf-canvas-container:active {
    cursor: grabbing;
}

.pdf-toolbar {
    height: 50px;
    background-color: #41484a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 3px solid #41484a;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 0 10px;
}

.toolbar-button {
    background: none;
    border: none;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.toolbar-button img {
    height: 20px;
}

.pdf-toolbar .toolbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin: 0 20px;
}

.toolbar-center span {
    margin: 0 10px;
}

.zoom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure toolbar elements are properly aligned on mobile */
@media (max-width: 600px) {
    .pdf-toolbar {
        flex-wrap: wrap;
        height: auto;
    }
    .toolbar-center {
        margin: 10px 0;
    }
    .toolbar-button {
        padding: 5px;
    }
}