div.search_wrapper{width:100%;position:relative}.search_trigger_button{width:100%;color:var(--text-color);align-items:center;gap:.5rem;font-size:1rem;display:inline-flex}button:has(.search_trigger_button){background:rgba(var(--card-background-color)/var(--card-background-alpha));width:46ch;-webkit-backdrop-filter:blur(var(--card-background-blur));border:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));cursor:pointer;text-align:left;border-radius:6px;padding:.5rem;font-size:1rem;transition:all .2s}button:has(.search_trigger_button):hover{border-color:rgba(var(--light-purple)/.9);outline:1px solid rgba(var(--light-purple)/.9);outline-offset:-1px}button:has(.search_trigger_button):focus{outline:2px solid rgba(var(--light-purple)/.9);outline-offset:-2px}.search_shortcut{background:rgba(var(--background-grey)/.5);border:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));opacity:.6;border-radius:4px;justify-content:center;align-items:center;margin-left:auto;padding:.125rem .375rem;font-family:monospace;font-size:.75rem;display:inline-flex}.search_dialog .dialog_body{max-height:70vh;padding:0}.search_dialog .search_wrapper{padding:1rem}div.search_wrapper input{width:100%}div.result_wrapper{background:rgba(var(--background-grey)/1);border:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));z-index:1;opacity:0;visibility:hidden;transform-origin:top;border-radius:10px;gap:.5rem;width:100%;max-height:50vh;margin-top:.2rem;padding:1rem;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow-y:auto;transform:translateY(-10px)scale(.95)}div.result_wrapper:has(div.search_results){opacity:1;visibility:visible;display:block;transform:translateY(0)scale(1)}.search_results{z-index:1001;animation:.3s ease-out fadeInUp;position:relative}.search_result_item{opacity:0;border:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));background:rgba(var(--background-grey)/.5);cursor:pointer;border-radius:8px;margin-bottom:.75rem;padding:.75rem;transition:all .2s;animation:.3s ease-out forwards slideInUp;transform:translateY(10px)}.search_result_item:first-child{animation-delay:.1s}.search_result_item:nth-child(2){animation-delay:.15s}.search_result_item:nth-child(3){animation-delay:.2s}.search_result_item:nth-child(4){animation-delay:.25s}.search_result_item:nth-child(5){animation-delay:.3s}.search_result_item:hover{background:rgba(var(--background-grey)/.3);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.result_header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.result_header h4{color:var(--text-color);margin:0;font-size:1rem;font-weight:600}.result_type{background:rgba(var(--accent-color)/.1);color:var(--accent-color);text-transform:uppercase;letter-spacing:.5px;border-radius:12px;padding:.25rem .5rem;font-size:.75rem;font-weight:500}.search_result_item p{color:var(--text-color-secondary);margin:.5rem 0;font-size:.875rem;line-height:1.4}.result_meta{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.result_meta small{color:var(--text-color-muted);background:rgba(var(--card-background-color)/.5);border-radius:6px;padding:.25rem .5rem;font-size:.75rem}.results_summary{border-bottom:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));margin-bottom:1rem;padding-bottom:.75rem}.results_summary p{color:var(--text-color-secondary);margin:0;font-size:.875rem;font-weight:500}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.search_wrapper.loading .result_wrapper{animation:1.5s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}.search_loading_indicator{justify-content:center;align-items:center;gap:.5rem;margin-top:.5rem;padding:1rem;display:flex}.loading_spinner{border:2px solid rgba(var(--card-background-color)/.3);border-top:2px solid var(--accent-color);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search_loading_indicator small{color:var(--text-color-secondary);font-size:.75rem}.search_input_wrapper,.input_container{position:relative}.filter_buttons{background:rgba(var(--background-grey)/.5);border:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));border-radius:8px;flex-wrap:wrap;gap:.5rem;margin-top:.75rem;padding:.75rem;animation:.2s ease-out fadeInUp;display:flex}.filter_label{color:var(--text-color-secondary);align-self:center;margin-right:.25rem;font-size:.75rem;font-weight:500}.filter_button{color:var(--text-color);background:rgba(var(--card-background-color)/.5);border:1px solid rgba(var(--card-background-color)/var(--card-border-alpha));cursor:pointer;white-space:nowrap;border-radius:6px;align-items:center;gap:.375rem;padding:.375rem .75rem;font-size:.75rem;font-weight:500;transition:all .2s;display:inline-flex}.filter_button:hover{background:rgba(var(--card-background-color)/.7);border-color:var(--accent-color);transform:translateY(-1px)}.filter_button.active{background:rgba(var(--accent-color)/.15);border-color:var(--accent-color);color:var(--accent-color);font-weight:600}.filter_indicator{background:var(--accent-color);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;font-size:.625rem;font-weight:700;line-height:1;display:inline-flex}.active_filter_badge{background:rgba(var(--accent-color)/.15);color:var(--accent-color);border-radius:12px;margin-left:.5rem;padding:.125rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}@media (max-width:768px){div.search_wrapper{width:100%}div.result_wrapper{max-height:20rem}.search_result_item{padding:.5rem}.result_header h4{font-size:.875rem}.filter_buttons{gap:.375rem;padding:.5rem}.filter_button{padding:.25rem .5rem;font-size:.6875rem}.filter_label{width:100%;margin-bottom:.25rem;margin-right:0}}
