/* CreatorsLab Search Styles */
.search-container{position:relative;display:flex;align-items:center;gap:0.5rem}
.search-icon{cursor:pointer;padding:0.5rem;color:var(--green-700);transition:color 0.3s ease}
.search-icon:hover{color:var(--green-900)}
.search-icon svg{width:20px;height:20px}
.search-input-wrapper{position:relative;display:none}
.search-input-wrapper.active{display:block}
.search-input{padding:0.5rem 1rem;border:2px solid var(--green-700);border-radius:999px;outline:none;font-size:0.9rem;width:250px;transition:border-color 0.3s ease}
.search-input:focus{border-color:var(--green-900)}
.search-results{position:absolute;top:calc(100% + 0.5rem);right:0;background:#fff;border:1px solid rgba(4,120,87,.1);border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,0.1);max-width:400px;width:90vw;max-height:400px;overflow-y:auto;display:none;z-index:1000}
.search-results.active{display:block}
.search-result-item{padding:1rem;border-bottom:1px solid rgba(4,120,87,.05);cursor:pointer;transition:background 0.2s ease}
.search-result-item:last-child{border-bottom:none}
.search-result-item:hover{background:#f0fdf4}
.search-result-title{font-weight:600;color:var(--green-900);margin-bottom:0.25rem;font-size:0.95rem}
.search-result-section{font-size:0.75rem;color:var(--green-700);margin-bottom:0.25rem}
.search-result-content{font-size:0.85rem;color:var(--muted);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-no-results{padding:2rem;text-align:center;color:var(--muted)}

@media (max-width: 768px) {
  .search-input{width:200px}
  .search-results{max-width:350px;right:-1rem}
}

@media (max-width: 480px) {
  .search-input-wrapper.active{position:fixed;top:0;left:0;right:0;background:#fff;padding:1rem;z-index:1001;box-shadow:0 2px 10px rgba(0,0,0,0.1)}
  .search-input{width:100%}
  .search-results{position:fixed;top:4rem;left:0;right:0;max-width:100%;width:100%;max-height:calc(100vh - 5rem);border-radius:0}
}








