.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
}

.pdf-modal-header {
    height: 0; /* Заголовок не используется */
}

.pdf-toolbar {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background-color: #8B7B62;
    padding: 10px;
    flex-wrap: wrap;
}

.pdf-toolbar button, .zoom-controls input {
    padding: 6px 10px;
    border: 1px solid #fff;
    background: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
}

.pdf-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    text-align: center;
}

/*.pdf-close-btn {*/
/*    background: #8B7B62;*/
/*    color: #fff;*/
/*    border: none;*/
/*    border-radius: 50%;*/
/*    width: 32px;*/
/*    height: 32px;*/
/*    font-size: 30px;*/
/*    cursor: pointer;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.pdf-toolbar button, .pdf-toolbar input {
    padding: 6px 10px;
    border: 1px solid #fff;
    background: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.pdf-toolbar input {
    width: 60px;       /* Узкая ширина — достаточно для 3 цифр и знака % */
    text-align: center;
}


.zoom-controls {
    display: flex;
    align-items: center;
    /*background-color: #6f5f47;*/
    border-radius: 6px;
    font-size: 20px;
    overflow: hidden;
}

.zoom-controls button,
.zoom-controls input {
    border: none;
    background: none;
    color: #fff;
    padding: 6px 10px;
    font-size: 16px;
    text-align: center;
}

.zoom-controls input {
    width: 70px;
    background-color: rgba(255,255,255,0.1);
    /*border-left: 1px solid #aaa;*/
    /*border-right: 1px solid #aaa;*/
}

/* Кнопка закрытия — выделяем */
.pdf-close-btn {
    background: #c0392b!important; /* ярко-красная */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
