.search-container {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666666;
    font-size: 18px;
    transition: all 0.2s ease;
}

.search-back-btn:hover {
    background: #F5F5F5;
    color: #333333;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #F5F5F5;
    border-radius: 24px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: #FFFFFF;
    box-shadow: 0 0 0 2px #E8F6F3, 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-icon {
    color: #999999;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333333;
    padding: 8px 0;
}

.search-input::placeholder {
    color: #CCCCCC;
}

.search-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #DDDDDD;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666666;
    font-size: 12px;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.search-clear-btn:hover {
    background: #CCCCCC;
    color: #333333;
}

@media (max-width: 768px) {
    .search-container {
        padding: 10px 12px;
    }
    
    .search-back-btn {
        width: 32px;
        height: 32px;
        margin-right: 8px;
        font-size: 16px;
    }
    
    .search-box {
        padding: 6px 12px;
        border-radius: 20px;
    }
    
    .search-icon {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 6px 0;
    }
}
