modal-container[id*=DecklistSearchModal]{--modal-container-width: min(1000px, 70vw);--modal-container-height: 85vh;--modal-container-content-background-color: var(--color-g-bg, #ffffff);--modal-container-close-color: var(--color-g-text, #383838)}modal-container[id*=DecklistSearchModal] [data-element=content]{border-radius:10px;overflow:hidden;display:flex;flex-direction:column}modal-container[id*=DecklistSearchModal] .decklist-search-modal{position:relative;height:100%;padding:2rem;box-shadow:var(--color-scheme-box-shadow-lift);color:var(--color-g-text);margin:0;text-align:left;display:flex;flex-direction:column;flex-grow:1}modal-container[id*=DecklistSearchModal] decklist-search{display:flex;flex-direction:column;flex-grow:1;min-height:0}modal-container[id*=DecklistSearchModal] .decklist-search-modal-close{position:absolute;top:1rem;right:1rem;z-index:10;cursor:pointer;color:inherit}modal-container[id*=DecklistSearchModal] .decklist-search-header h2{margin-bottom:.5rem}modal-container[id*=DecklistSearchModal] .decklist-search-header .subheading{opacity:.8;margin-top:0}modal-container[id*=DecklistSearchModal] .decklist-search-form,modal-container[id*=DecklistSearchModal] .decklist-collection-selector{margin-top:1.5rem}modal-container[id*=DecklistSearchModal] .decklist-search-input{width:100%;padding:.75rem;border:1px solid var(--color-g-border);border-radius:var(--glob-border-radius-inner);margin-bottom:1rem;min-height:150px;font-family:monospace;white-space:pre;resize:none}modal-container[id*=DecklistSearchModal] .decklist-search-results{margin-top:1.5rem;display:flex;flex-direction:column;flex-grow:1;min-height:0}modal-container[id*=DecklistSearchModal] .decklist-search-results-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.5rem;border-bottom:1px solid var(--color-g-border);margin-bottom:1rem}modal-container[id*=DecklistSearchModal] [data-element=results-container]{overflow-y:auto;flex-grow:1;padding:1rem}modal-container[id*=DecklistSearchModal] .decklist-result{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid var(--color-g-border);gap:1rem;flex-wrap:wrap}modal-container[id*=DecklistSearchModal] .decklist-result-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;flex-grow:1}modal-container[id*=DecklistSearchModal] .decklist-result-label input[type=checkbox]{margin-right:.5rem}modal-container[id*=DecklistSearchModal] .decklist-result-label img{width:80px;height:auto}modal-container[id*=DecklistSearchModal] .decklist-quantity{font-weight:700;min-width:25px}modal-container[id*=DecklistSearchModal] .decklist-title{flex-grow:1;margin:0 .5rem}modal-container[id*=DecklistSearchModal] .decklist-warning{color:var(--color-g-danger, #e53e3e);font-size:.85em;white-space:nowrap}modal-container[id*=DecklistSearchModal] .decklist-collection-selector select{width:100%;padding:.5rem;border-radius:var(--glob-border-radius-inner);border:1px solid var(--color-g-border)}modal-container[id*=DecklistSearchModal] .decklist-versions-btn{padding:.25rem .5rem;font-size:.8em;cursor:pointer;border:1px solid var(--color-g-border);background-color:var(--color-g-fg);border-radius:4px;white-space:nowrap}.decklist-versions-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:9998}.decklist-versions-popover{background:transparent;padding:0;border:none;max-width:450px;width:90vw;margin:auto;border-radius:var(--glob-border-radius-base, 8px);box-shadow:0 10px 25px #0003}.decklist-versions-popover::backdrop{background-color:#00000080}.decklist-versions-popover-content{background:var(--color-g-bg, #fff);padding:1.5rem;max-height:80vh;display:flex;flex-direction:column;border-radius:inherit}.decklist-versions-list{list-style:none;padding:0;margin:0;overflow-y:auto;flex-grow:1}.decklist-versions-item{display:flex;align-items:center;gap:1rem;padding:.75rem;cursor:pointer;border-bottom:1px solid var(--color-g-border)}.decklist-versions-item:hover{background-color:#0000000d}modal-container[id*=DecklistSearchModal] .decklist-result-not-found{color:var(--color-g-danger, #e53e3e);justify-content:flex-start;font-style:italic;opacity:.8}modal-container[id*=DecklistSearchModal] .decklist-result-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}modal-container[id*=DecklistSearchModal] .decklist-total-price{font-size:1.2rem;font-weight:700;flex-shrink:0}.decklist-search-results-footer{display:flex;align-items:center;padding:1rem;justify-content:space-between;flex-wrap:wrap}.decklist-versions-item img{width:50px;height:auto}modal-container[id*=DecklistSearchModal] .decklist-result-details{display:flex;align-items:center;gap:1rem;padding-right:1rem}modal-container[id*=DecklistSearchModal] .decklist-qty-selector{display:flex;align-items:center;border:1px solid var(--color-g-border);border-radius:var(--glob-border-radius-pill);overflow:hidden}modal-container[id*=DecklistSearchModal] .decklist-qty-btn{background-color:transparent;border:none;cursor:pointer;padding:.25rem .75rem;font-size:1rem;line-height:1;color:var(--color-g-text)}modal-container[id*=DecklistSearchModal] .decklist-qty-btn:hover{background-color:var(--color-g-bg-d5)}modal-container[id*=DecklistSearchModal] .decklist-qty-value{padding:0 .5rem;font-weight:700;min-width:2ch;text-align:center}modal-container[id*=DecklistSearchModal] .decklist-title-wrapper{display:flex;flex-direction:column;align-items:flex-start;flex-grow:1;margin:0 .5rem}modal-container[id*=DecklistSearchModal] .decklist-title{margin:0}modal-container[id*=DecklistSearchModal] .decklist-warning--info{color:#3182ce;font-style:normal;font-weight:700;font-size:.85em;margin-bottom:.25rem}modal-container[id*=DecklistSearchModal] .decklist-result-out-of-stock{color:var(--color-g-danger, #e53e3e);padding:.75rem 0;border-bottom:1px solid var(--color-g-border);font-style:italic;opacity:.8}.decklist-versions-item--disabled{opacity:.5;cursor:not-allowed;background-color:#f1f1f1}.decklist-versions-item--disabled:hover{background-color:#f1f1f1}.decklist-version-info{display:flex;flex-direction:column}.decklist-version-stock-status,.decklist-version-stock-warning{font-size:.8em;font-weight:700}.decklist-version-stock-warning{color:red}.decklist-version-stock-status{color:#888}@media (max-width: 991px){modal-container[id*=DecklistSearchModal]{--modal-container-width: 100vw;--modal-container-height: 100vh}modal-container[id*=DecklistSearchModal] [data-element=content]{border-radius:0}modal-container[id*=DecklistSearchModal] .decklist-search-modal{padding:1.5rem 1rem}modal-container[id*=DecklistSearchModal] .decklist-search-input{height:100px}.decklist-result-actions{margin-left:auto}modal-container[id*=DecklistSearchModal] .decklist-search-input{font-size:16px}}
/*# sourceMappingURL=/cdn/shop/t/5/assets/decklist-search.css.map */
