/* ==========================================
SEARCH PAGE
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins,sans-serif;
}

body{
    background:#f8f8f8;
}

.search-page{
    max-width:480px;
    margin:auto;
    min-height:100vh;
    background:#fff;
}

/* ==========================================
HEADER
========================================== */

.search-header{
    position:sticky;
    top:0;
    z-index:100;
    background:#fff;
    padding:14px;
    border-bottom:1px solid #f1f1f1;
}

.search-box{
    display:flex;
    align-items:center;
    gap:10px;
    height:54px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
    padding:0 12px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.back-btn{
    border:none;
    background:none;
    font-size:24px;
    cursor:pointer;
    color:#333;
}

.search-box input{
    flex:1;
    border:none;
    outline:none;
    font-size:17px;
    background:transparent;
}

.search-box i{
    font-size:22px;
}

.clear-btn,
.mic-btn{
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
}

.clear-btn{
    background:#f2f2f2;
    color:#666;
}

.mic-btn{
    background:#16a34a;
    color:#fff;
}

/* ==========================================
RECENT
========================================== */

.recent-searches{
    padding:16px;
}

.recent-searches h3{
    font-size:16px;
    margin-bottom:12px;
}

#recent-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.recent-item{
    background:#f3f4f6;
    padding:8px 14px;
    border-radius:20px;
    cursor:pointer;
    font-size:14px;
}

/* ==========================================
RESULTS
========================================== */

.search-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 16px;
    cursor:pointer;
}

.search-item img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:10px;
    background:#f7f7f7;
    flex-shrink:0;
}

.search-info{
    flex:1;
}

.search-info h4{
    margin:0;
    font-size:16px;
    font-weight:600;
    color:#222;
    line-height:1.3;
}

.search-item:hover{
    background:#f8f8f8;
}

/* ==========================================
NO RESULT
========================================== */

.no-results{
    padding:80px 20px;
    text-align:center;
    color:#666;
}

.no-results i{
    font-size:70px;
    color:#16a34a;
}

.no-results h2{
    margin-top:16px;
    font-size:24px;
}

.no-results p{
    margin-top:8px;
    font-size:15px;
}

/* ==========================================
SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:5px;
}

::-webkit-scrollbar-thumb{
    background:#ddd;
    border-radius:20px;
}
