.eh-container {
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.eh-search-wrapper {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.eh-search-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    box-sizing: border-box;
    transition: 0.3s;
}

.eh-search-input:focus {
    outline: none;
    border-color: #0073aa;
}

.eh-search-info {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.eh-nav-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.eh-nav-btn {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.eh-nav-btn:hover:not(:disabled) {
    background: #005a87;
    transform: scale(1.02);
}

.eh-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.eh-document {
    background: #fafafa;
    padding: 25px;
    border-radius: 15px;
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.eh-highlight {
    background-color: #ffeb3b;
    color: #000;
    font-weight: 600;
    border-radius: 3px;
    padding: 2px 0;
}

.eh-highlight-active {
    background-color: #ff9800 !important;
    outline: 2px solid #f57c00;
    box-shadow: 0 0 0 2px white;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .eh-document {
        padding: 15px;
        font-size: 14px;
    }
    
    .eh-nav-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}