.modal{position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.5)}
.modal-content{background-color:#fefefe;margin:5% auto;border:1px solid #888;border-radius:8px;width:80%;max-width:600px;max-height:80vh;overflow-y:auto}
.modal-header{padding:20px;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;align-items:center}
.modal-header h3{margin:0}
.close{color:#aaa;font-size:28px;font-weight:bold;cursor:pointer}
.close:hover{color:#000}
.modal-body{padding:20px}
.modal-footer{padding:20px;border-top:1px solid #ddd;display:flex;justify-content:space-between;align-items:center}
.modal-footer>div{display:flex;gap:10px;align-items:center}
.fund-search{margin-bottom:20px}
.fund-search input{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:16px}
.fund-list{max-height:400px;overflow-y:auto}
.fund-item{border:1px solid #ddd;border-radius:4px;padding:12px;margin-bottom:8px;cursor:pointer;transition:border-color .2s ease;background:white}
.fund-item:hover{border-color:#004a98}
.fund-item.selected{border-color:#004a98;background-color:#f8f9fa}
.fund-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.fund-main{flex:1}
.fund-name{font-weight:600;color:#333;font-size:14px;margin:0 0 2px 0}
.fund-symbol{color:#666;font-size:12px;font-weight:500}
.fund-nav{text-align:right;font-size:13px}
.nav-value{font-weight:600;color:#333}
.nav-change{font-size:11px}
.fund-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#666}
.fund-type{font-style:italic}
.fund-checkbox{margin-left:10px}
.selected-count{color:#666;font-size:14px}
.no-results{text-align:center;color:#666;padding:40px;font-style:italic}